1、虚拟器安装:VMware12 + centos7,安装过程略。
2、客户端连接工具:xshell,secureCRT,putty等。
1)采用虚拟机方式,在网络设置选项,一定要选择NAT模式,设备状态一定要选上已连接

2)如果客户端连接不到服务器,检查方式:
a) 确认虚拟机网络是打开的,在网络连接中查看VMnet8这个网络是可用的;

b) 然后在在虚拟机中找到编辑--》虚拟网络编辑器--》查看VMnet8网络的子网地址;


c) 为VMnet8网络ipv4设置ip地址为子网地址前3位+1,比如子网地址为192.168.10.0,那么这里
的ip地址就应该为192.168.10.1,注意,这里的ip地址末位永远要为1;
d)检查服务是否启动:

e)重启网卡:service network restart
网友评论