一.服务器端安装:
1.使有 emerge 安装下列软件包:
Python 2.3.5 or 2.4
GNU build environment (GNU Make)
net-analyzer/net-snmp
mail-mta/postfix/sendmail
dev-python/twisted
dev-python/twistedsnmp
net-zope/zope
net-zope/zopeinterface
dev-python/pysnmp
net-analyzer/rrdtool
2.在服务器上安装zenoss软件:
1。增加zenoss 用户
useradd -m -G users,wheel,audio -d /home/zenoss -s /bin/bash zenoss
passwd zenoss (可以不需要)
2。给zenoss用户增加环境变量
echo 'export ZENHOME=/usr/local/zenoss' >> /home/zenoss/.bashrc
echo 'export PYTHONPATH=$ZENHOME/lib/python' >> /home/zenoss/.bashrc
echo 'export PATH=$ZENHOME/bin:$PATH' >> /home/zenoss/.bashrc
3。增加zenoss安装目录
mkdir /usr/local/zenoss
4。改变zenoss用户目录权限
chown zenoss /usr/local/zenoss
5。先 su zenoss
后并 下载 Zenoss-2.1.1-0.tar.gz 到 /home/zenoss
6。解压 zenoss 软件
tar -zxvf zenoss-2.1.1-0.tar.gz
7。进入zenoss-2.1.1 目录,并安装zenoss
cd /home/zenoss/zenoss-2.1.1
./install.sh
8。更据提示安装,配置好zenoss (mysql数据库、端口等等)
9。增加zenoss启动的socket
chown root:zenoss /usr/local/zenoss/bin/zensocket
chmod 04750 /usr/local/zenoss/bin/zensocket
现在就可以启动zenoss了,访问方式:
$ZENHOME/bin/zenoss start
http://IP:8080
wxy9288 于 2009-10-18 21:24:14发表:
需要楼主给更细的方案,最好带图片的,我是新手~~~? 谢谢楼主