1. 一开始Xshell连接不上(设置为DHCP 动态IP)虚拟机上的centos8

参考这篇博文,将centos上的DHCP改为static 静态IP

2.使用systemctl restart network 重启网卡的时候出错,Failed to restart network.service: Unit network.service not found.

3.参考博文,是命令使用错误。如果是Centos 8,则需要用以下命令:nmcli c reload

 

4.简单查了下 centos8下nmcli(cenos8重启网卡方法

5.Xshell连接成功~~~~

 

相关文章:

  • 2021-08-18
  • 2021-06-22
  • 2022-01-11
  • 2021-06-08
  • 2021-04-19
  • 2021-08-19
  • 2021-11-29
  • 2021-12-26
猜你喜欢
  • 2021-04-24
  • 2021-07-30
  • 2021-08-30
  • 2021-12-05
  • 2021-12-12
  • 2021-12-06
相关资源
相似解决方案