首页 > 其他 > 详细

配置网卡

时间:2019-09-14 21:59:49      阅读:65      评论:0      收藏:0      [点我收藏+]
#config netcard
nmcli connection modify eth0
ipv4.method manual ipv4.addresses 192.168.4.114/24
ipv4.dns 8.8.8.8 ipv4.gateway 192.168.4.1 connection.autoconnect yes
 
#start config
nmcli connection up eth0
 
#set hostname
echo mavendev > /etc/hostname
 
#set host
echo 192.168.4.114 mavendev >> /etc/hosts

配置网卡

原文:https://www.cnblogs.com/justart/p/11520382.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!