Use MobaXterm to connect to CentOS
One, install ifconfig
yum install ifconfig command installation
, there will be Nothing to do situation, no hurry, we use
yum search ifconfig command to query
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
vi /etc/sysconfig/network-scripts/ifcfg-ens33 Configure the network file
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.
2. To set up the Session,
you must first check your IP address under windows.
Steps:
win+R: Open CMD and
input: ipconfig
finds the IPv4 IP of VMnet1
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,
here is the username and password of CentOS,
then select the new one, and click OK.
This is how the connection is successful.