欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Installing Zenoss on Debian
来自开放百科 - 灰狐
(版本间的差异)
第20行: | 第20行: | ||
$ sudo chown -R zenoss $ZENHOME | $ sudo chown -R zenoss $ZENHOME | ||
./install.sh | ./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 | $ ln -s $ZENHOME/bin/zenoss /etc/init.d | ||
$ sudo sysv-rc-conf | $ sudo sysv-rc-conf | ||
第30行: | 第36行: | ||
from http://www.zenoss.com/community/docs/install-guides/installing-zenoss-on-debian-sarge/ | from http://www.zenoss.com/community/docs/install-guides/installing-zenoss-on-debian-sarge/ | ||
+ | |||
+ | Start Zenoss | ||
+ | /etc/init.d/zenoss start |
2008年2月24日 (日) 06:34的版本
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
分享您的观点