欢迎来到天天文库
浏览记录
ID:38190101
大小:37.50 KB
页数:4页
时间:2019-05-24
《linux下安装SNMP步骤》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、Linux下SNMP的安装(一)安装方法:(1)可利用rpm–Uvh进行安装,但有时候会出现一些依赖包,还需一一进行安装(2)采用yum进行安装,将所有的依赖包一并安装,不容易出现错误(3)如果采用yum进行安装时,首先需要更改yum的配置文件:[rhel-debuginfo]name=RedHatEnterpriseLinux$releasever-$basearch-Debugbaseurl=file:///mnt/Server///RPM包自动搜索路径enabled=1//将0改为1gpgcheck=1gpgkey=file:///etc
2、/pki/rpm-gpg/RPM-GPG-KEY-redhat-release[rhel-debuginfo-beta]name=RedHatEnterpriseLinux$releaseverBeta-$basearch-Debugbaseurl=ftp://ftp.redhat.com/pub/redhat/linux/beta/$releasever/en/os/$basearch/Debuginfo/enabled=0pgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-b
3、eta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release(二)下面采用的是yum进行snmp安装:[root@localhostyum.repos.d]#yuminstallnet-snmp-*//利用yum命令安装snmpLoadedplugins:rhnplugin,securityThissystemisnotregisteredwithRHN.RHNsupportwillbedisabled.rhel-debuginfo
4、1.3kB00:00rhel-debuginfo/primary
5、
6、753kB00:00rhel-debuginfo2348/2348SettingupInstallProcessPackage1:net-snmp-libs-5.3.2.2-9.el5.i386alreadyinstalledandlatestversionResolvingDependencies-->Runningtransactioncheck--->Packagenet-snmp.i3861:5.3.2.2-9.el5settobeupdated-->ProcessingDependency:libsensors.so.3forpac
7、kage:net-snmp--->Packagenet-snmp-devel.i3861:5.3.2.2-9.el5settobeupdated-->ProcessingDependency:lm_sensors-develforpackage:net-snmp-devel-->ProcessingDependency:beecrypt-develforpackage:net-snmp-devel-->ProcessingDependency:elfutils-develforpackage:net-snmp-devel--->Packagen
8、et-snmp-perl.i3861:5.3.2.2-9.el5settobeupdated--->Packagenet-snmp-utils.i3861:5.3.2.2-9.el5settobeupdated-->Runningtransactioncheck--->Packagebeecrypt-devel.i3860:4.1.2-10.1.1settobeupdated-->ProcessingDependency:beecrypt=4.1.2-10.1.1forpackage:beecrypt-devel-->ProcessingDep
9、endency:libbeecrypt.so.6forpackage:beecrypt-devel--->Packageelfutils-devel.i3860:0.137-3.el5settobeupdated-->ProcessingDependency:elfutils-devel-static-i386=0.137-3.el5forpackage:elfutils-devel--->Packagelm_sensors.i3860:2.10.7-9.el5settobeupdated--->Packagelm_sensors-devel.
10、i3860:2.10.7-9.el5settobeupdated-->Runningtransactioncheck--->Packagebeecry
此文档下载收益归作者所有