手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

CentOS 6.8 设置网络

时间:2024-10-14 00:59:04

1、打开CentOS,并输入账号密码登陆。

CentOS 6.8 设置网络

2、输入:cd /etc/sysconfig/network-scripts

CentOS 6.8 设置网络

3、输入:ls查看当前目录中的文件。

CentOS 6.8 设置网络

4、输入:vi ifcfg-eth0将光标移动至 ONBOOT=no按下键盘的 i将no改为yes按下 esc 键,按下 Shift+:输入 wq 回车

CentOS 6.8 设置网络
CentOS 6.8 设置网络
CentOS 6.8 设置网络

5、输入:service network restart

CentOS 6.8 设置网络

6、输入:ping www.baidu.com测试是否可以联网

CentOS 6.8 设置网络

7、现在就可以使用 XShell连接了。

CentOS 6.8 设置网络
© 手抄报圈