banner
老孙

老孙博客

资深网民孙先生
mastodon
email

centos7安装后没有网络

root账号登陆
ip addr命令查看网络参数。
打开eth0网卡的配置文件

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

NOBOOT参数no,修改为yes
重启网络或者重启服务器都可

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.