1)使用hostname命令设置新的host name与/etc/hosts本机hostname一致

#hostname 本机hostname

具体可以查看:/etc/hosts和//etc/sysconfig/network文件

 

2)重启网络服务

# /sbin/service network restart

相关文章:

  • 2021-11-14
  • 2021-09-01
  • 2022-01-26
  • 2021-10-06
  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
猜你喜欢
  • 2021-10-20
  • 2023-03-31
  • 2021-09-02
  • 2022-01-05
  • 2021-07-23
  • 2022-01-22
相关资源
相似解决方案