技术解析

搬瓦工 centos 安装 Gnome Desktop 断网
0
2021-07-09 19:27:52
idczone
yum groupinstall -y "GNOME Desktop"
reboot

然后就连不上去了
卸载掉又正常了
你用什么连的?这能装 x?
我觉得是不是 init 3 和 init 5 不同带来的问题。

连不上之后我用网页里面的 Root shell 登的
我不懂 linux 只知道 ping 8.8.8.8 显示 connect : Network is unreachable

Gnome 替换了自带了网络管理工具?

NetworkManager 接管了网络配置?

是可以装 x 的,亲测有效,肯定是你操作问题

找到原因了 自动装上防火墙了

因为你 reboot 了。。。不会是这样吧
或者内存太小卡死

并不是 我撤销这句

印象中, reboot 不加任何参数的话会关机,而不是重启? 以下是来自 reboot 的 manpage :
“ If halt or reboot is called when the system is not in runlevel 0 or 6, in other words when it ’ s running normally, shutdown will be
invoked instead (with the -h or -r flag). ”

如果是这样怎么解决

要看是什么接管了啊,先从 iptables 排查

先关了 iptables 看看

还有,把那个 NetwortManager 也关了

数据地带为您的网站提供全球顶级IDC资源
在线咨询
专属客服