Use MobaXterm to connect to CentOS

Use MobaXterm to connect to CentOS

One, install ifconfig

yum install ifconfig command installation
Insert picture description here
, there will be Nothing to do situation, no hurry, we use
yum search ifconfig command to query

Insert picture description here
Check that there is a net-tools.x86_64 file, use the
yum install net-tools.x86_64 -y command to install this file
. The effect after installation
Insert picture description here
vi /etc/sysconfig/network-scripts/ifcfg-ens33 Configure the network file
Insert picture description here
and execute it Finish the following command

systemctl restart network restart the network
systemctl stop firewalld disable firewall
systemctl disable firewalld stop firewall

Two, set up MobaXterm

1. Start MobaXterm.
Insert picture description here
2. To set up the Session,
Insert picture description here
Insert picture description here
Insert picture description here
you must first check your IP address under windows.
Steps:
win+R: Open CMD and
input: ipconfig
finds the IPv4 IP of VMnet1
Insert picture description here
and then comes back.
It is best to change the last digit of the IP to another number
For example: change 192.168.199.2 to 193.168.199.100
, check it first, then click on the villain,
Insert picture description here
Insert picture description here
here is the username and password of CentOS,
Insert picture description here
then select the new one, and click OK.
Insert picture description here
This is how the connection is successful.
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_43288259/article/details/113867520