Installing Zenoss on Debian

来自开放百科 - 灰狐
2008年2月24日 (日) 06:34Allen (讨论 | 贡献)的版本

跳转到: 导航, 搜索

Installing Zenoss on Debian (Sarge)

$ apt-get update
$ apt-get install python-dev gcc g++ make bzip2 sudo subversion sysv-rc-conf snmpd
$ apt-get install mysql-server-5.0 libmysqlclient15-dev 
//Don't provide a root password to mysql. 
$ apt-get autoconf swig

Edit /etc/mysql/my.conf

bind-addres = 127.0.0.1
#skip-networking

Edit /etc/sudoers and add the following text:

Defaults env_reset  
Defaults env_keep = "PYTHONPATH ZENHOME"  
zenoss ALL=(ALL) NOPASSWD: ALL 

Login as zenoss, edit the .bashrc and define a ZENHOME environment variable:

export ZENHOME=/usr/local/zenoss
$ svn co http://dev.zenoss.org/svn/trunk/inst

Create $ZENHOME:

$ sudo mkdir -p $ZENHOME
$ sudo chown -R zenoss $ZENHOME
./install.sh 

install error:

 installing: /home/zenoss/inst/build/libsmi
   building: /home/zenoss/inst/build/wmi-build
make: *** [/home/zenoss/inst/build/wmi-build] Error 2 
unable to build zenoss and prerequisites, see zenbuild.log
$ ln -s $ZENHOME/bin/zenoss /etc/init.d
$ sudo sysv-rc-conf
chown root:zenoss $ZENHOME/bin/zensocket
chmod 04750 $ZENHOME/bin/zensocket 

Edit /etc/snmp/snmpd.conf, allow group MyROSystem to access the whole MIB. Change:

access MyROSystem "" any noauth exact system none none
to 
access MyROSystem "" any noauth exact all none none

from http://www.zenoss.com/community/docs/install-guides/installing-zenoss-on-debian-sarge/

Start Zenoss

/etc/init.d/zenoss start
分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱