摘要: 最近使用虚拟机做实验,挂起虚拟机后再回复,发现经常无法使用xshell连接。 进入虚拟机后,使用 ifconfig 命令查看网卡状态,发现网卡的ip没有了 [root@host103 ~]# ifconfig ens33 重启网卡,发现报错。查看网卡目录,也就只有这一个网卡文件,也就是不存在其他网卡 阅读全文
posted @ 2024-03-28 16:03 Tozhang 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 一、查看防火墙状态1、首先查看防火墙是否开启,如未开启,需要先开启防火墙并作开机自启 systemctl status firewalld 开启防火墙并设置开机自启 systemctl start firewalldsystemctl enable firewalld一般需要重启一下机器,不然后面做 阅读全文
posted @ 2024-03-28 15:55 Tozhang 阅读(494) 评论(0) 推荐(0) 编辑