greenZ

修改主机名

vi /etc/hosts

/etc/rc.d/boot.localnet restart

/etc/init.d/network restart

/etc/init.d/ncsd restart

 

vi /etc/HOSTNAME

 

 

 

设置网卡地址

ifconfig

ifconfig -a

ifconfig eth2 24.24.10.11 netmask 255.255.255.0

 

查看路由和网关

route

 

分类:

技术点:

相关文章:

  • 2021-12-03
  • 2021-06-20
  • 2021-07-11
  • 2021-12-06
  • 2022-02-10
  • 2021-11-27
  • 2021-08-12
  • 2021-04-30
猜你喜欢
  • 2022-02-24
  • 2021-09-26
  • 2021-12-07
  • 2021-12-06
  • 2022-12-23
  • 2021-10-31
  • 2021-12-08
相关资源
相似解决方案