centos 安装 netstat ifconfig

来源:互联网 发布:js e.currenttarget 编辑:程序博客网 时间:2024/06/11 11:19

yum -y install net-tools

yum -y install mlocate


1、关闭firewall:
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开启后显示running)

原创粉丝点击