1 vi /etc/sysconfig/network

把HOSTNAME改为mini2

hostname mini2

exit

 

2 vi /etc/udev/rules.d/70-persistent-net.rules

删除eth0,把eth1改为eth0

 

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

删除uuid

把bootproto=dhcp改为bootproto=none

把hwaddr删掉

把IPADDR改为192.168.74.129

4 reboot

 

 

相关文章:

  • 2021-04-15
  • 2021-08-10
  • 2021-11-27
  • 2021-12-07
  • 2021-04-26
  • 2021-07-28
  • 2021-09-14
猜你喜欢
  • 2021-07-24
  • 2022-12-23
  • 2021-12-18
  • 2021-12-10
  • 2021-12-10
相关资源
相似解决方案