justart
#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

分类:

技术点:

相关文章:

  • 2021-11-22
  • 2021-12-05
  • 2021-12-02
  • 2021-11-22
  • 2021-12-16
  • 2021-11-22
  • 2021-11-22
  • 2021-11-23
猜你喜欢
  • 2022-12-23
  • 2021-08-27
相关资源
相似解决方案