1.[[email protected] ~]# cd /etc/sysconfig/network-scripts //进入配置网络脚本的文件夹下
2.[[email protected] network-scripts]# ls 查看网络脚本配置文件,一般以ifcfg开头
3.[[email protected] network-scripts]# ls //查看当前目录下的文件配置CentOS7的网络
4.[[email protected] network-scripts]# vi ifcfg-ens33 //编辑ifcfg-ens文件,按i键编辑,编辑完成后按ESC键退出编辑模式,在输入Shift+:,然后输入wq保存并退出配置CentOS7的网络
5.[[email protected] network-scripts]# ping www.baidu.com //ping百度看网络通不通
配置CentOS7的网络
6.[[email protected] /]# ip addr //查看网络配置,红色标记就是你的IP地址,可以通过远程终端工具访问linux了
配置CentOS7的网络
7.使用远程终端putty管理linux
配置CentOS7的网络
配置CentOS7的网络

相关文章:

  • 2021-12-01
  • 2021-10-20
猜你喜欢
  • 2022-01-10
  • 2021-12-26
  • 2021-04-15
  • 2021-08-07
  • 2021-07-14
相关资源
相似解决方案