修改前后如下面两个图
开始修改
在/etc/sysctl.conf增加
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1
在/etc/sysconfig/network增加
NETWORKING_IPV6=no
网卡/etc/sysconfig/network-scripts/ifcfg-eno16777736修改IPV6INIT=no
systemctl stop ip6tables.service && systemctl disable ip6tables.service(如果有这个服务)
systemctl restart network
在/etc/ssh/sshd_config增加AddressFamily inet (重启systemctl restart sshd)
sysctl -p 或者reoot
-
编译安装python3.7.4
:下一篇 »