Ubuntu12.04 安装net-snmp-5.7.1
2013-07-15 15:42
253 查看
安装net-snmp依赖包 ps:尝试使用apt-get 可惜由于依赖问题,不能安装只能下载包了
wget http://launchpadlibrarian.net/134564437/libperl-dev_5.14.2-6ubuntu2.3_amd64.debsudo dpkg -i libperl-dev_5.14.2-6ubuntu2.3_amd64.debsudo ldconfig
wget http://superb-dca2.dl.sourceforge.net/project/net-snmp/net-snmp/5.7.1/net-snmp-5.7.1.tar.gztar zxvf net-snmp-5.7.1.tar.gzcd net-snmp-5.7.1./configuremake && make install
cd pythonsudo python setup.py install
安装完毕后测试netsnmp
In [1]: import netsnmp/usr/local/lib/python2.7/dist-packages/setuptools-0.8-py2.7.egg/pkg_resources.py:1054: UserWarning: /home/songtao/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
解决办法
chmod g-wx,o-wx .python-eggs/
本文出自 “扫榻人” 博客,请务必保留此出处http://enable.blog.51cto.com/747951/1249475
wget http://launchpadlibrarian.net/134564437/libperl-dev_5.14.2-6ubuntu2.3_amd64.debsudo dpkg -i libperl-dev_5.14.2-6ubuntu2.3_amd64.debsudo ldconfig
wget http://superb-dca2.dl.sourceforge.net/project/net-snmp/net-snmp/5.7.1/net-snmp-5.7.1.tar.gztar zxvf net-snmp-5.7.1.tar.gzcd net-snmp-5.7.1./configuremake && make install
cd pythonsudo python setup.py install
安装完毕后测试netsnmp
In [1]: import netsnmp/usr/local/lib/python2.7/dist-packages/setuptools-0.8-py2.7.egg/pkg_resources.py:1054: UserWarning: /home/songtao/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
解决办法
chmod g-wx,o-wx .python-eggs/
本文出自 “扫榻人” 博客,请务必保留此出处http://enable.blog.51cto.com/747951/1249475
相关文章推荐
- net-snmp-5.7.1 编译安装 (ubuntu)
- Ubuntu下安装net-snmp5.7.1的方法
- ubuntu下安装net-snmp5.7.1的步骤
- net-snmp5.7.1.tar.gz安装配置
- net-snmp安装笔记
- Windows 下安装和配置 net-snmp 代理
- 在Ubuntu上安装Net-Snmp
- windows 系统 安装 net-snmp 并成功运行命令的步骤
- RHEL5.4下Cacti+rrdtool+Netsnmp流量与性能监测系统安装笔录
- 如何安装Net::SNMP
- linux下安装与配置net-snmp服务
- centos yum方式安装net-snmp v3
- Linux下安装和配置net-snmp
- Ubuntu下安装net-snmp步骤
- net-snmp-5.4.4 编译,安装,运行。
- net-snmp的安装配置和移植应用(1)
- 安装net-snmp
- net-snmp在Linux下的安装过程【转】
- 【Ubuntu 16】安装net-snmp
- net-snmp 安装与trap调试