从安装盘IOS中导入安装SNMP.
--挂载系统安装盘
[root@nb /]# mount -o loop -t iso9660 /software/radhat.iso /media
mount: /dev/loop0 is write-protected, mounting read-only
--导入安装包
[root@nb /]# rm -f /etc/yum.repos.d/*.repo
[root@nbubackup /]# cat >/etc/yum.repos.d/rhel79.repo << EOF
> [rhel79]
> name=rhel79
> baseurl=file:///media
> EOF
[root@nb /]# yum clean all
[root@nb /]#rpm --import /media/RPM*
--安装
[root@nb /]# yum install net-snmp* -y
--配置SNMP
[root@nb /]# snmpconf -i