美文网首页linux
linux设置网络

linux设置网络

作者: huisheng | 来源:发表于2019-03-15 09:12 被阅读0次

一 刚安装的lunux系统

设置网络: vi /etc/sysconfig/network-scripts/ifcfg-enp0s3

二  设置开启网络

BOOTPROTO=192.168.1.6

NETMASK=255.255.255.0

ONBOOT=yes

三 重新启动服务

$ sudo systemctl restart network.service

相关文章

网友评论

    本文标题:linux设置网络

    本文链接:https://www.haomeiwen.com/subject/gbbkmqtx.html