例如
[root@node1 ~]# yum -y install httpd
检查底层网络
[root@node1 ~]# ping 192.168.88.240
PING 192.168.88.240 (192.168.88.240) 56(84) bytes of data.
64 bytes from 192.168.88.240: icmp_seq=1 ttl=64 time=0.306 ms
64 bytes from 192.168.88.240: icmp_seq=2 ttl=64 time=0.264 ms
64 bytes from 192.168.88.240: icmp_seq=3 ttl=64 time=0.351 ms
检查服务21端口
[root@yum ~]# ss -tlnp | grep 21#未起服务
[root@yum ~]# systemctl start vsftpd#启动相应服务
[root@yum ~]# ss -tlnp | grep 21
LISTEN 0 32 :::21 ::😗 users:((“vsftpd”,pid=1482,fd=4))
[root@node1 ~]# yum -y install httpd