xshell 连接 vmware 中的centos虚拟机

前提是我们的 vmware 中的 centos 虚拟机已经安装。

1、vmware 外部配置

2、centos 内部配置

进入 centos 系统,

ip addr

vi /etc/sysconfig/network-scripts/ifcfg-eno16777736

编辑完成后,保存退出(!wq),同时重启网卡服务。

service network restart

3、外部配置

4、xshell 连接

查看虚拟机的ip,

配置xshell连接,

发布了125 篇原创文章 · 获赞 116 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/shipfei_csdn/article/details/103631232