|
systemctl stop firewalld.service systemctl status firewalld.service systemctl disable firewalld.service ———————————————— 2、安装net-snmp(这里使用CentOS的yum命令在线安装) yum -y install net-snmp chkconfig snmpd on #设置开机启动 service snmpd start #启动snmpd ———————————————— service snmpd restart #重启snmp netstat -nlup |grep ":161" #检查snmp服务器是否运行,出现下面输出结果,说明snmp运行正常
|