Zenoss & Fedora 8 Install Howto:
*******Disclaimer: I do not know if these steps are the correct way to install
Zenoss. It is just what I have done to get a Zenoss system up and working. If
you see something that I have done to make a system vulnerable or a mistake
please post in reply so others that follow this can correct my mistakes. I hope
this helps*******
First Install some needed software if you do not already have it installed.
Yum install mysql mysql-server mysql-devel net-snmp net-snmp-utils gmp
swig autoconf gcc gcc-c++ httpd
Start Apache:
/etc/init.d/httpd start
Start MySQLd
/etc/init.d/mysqld start
Start SNMPd
/etc/init.d/snmpd start
Set theseâs services to run at boot:
chkconfig --level 2345 httpd on
chkconfig --level 2345 mysqld on
chkconfig --level 2345 snmpd on
Download Python 2.4.4
URL: http://www.python.org/ftp/python/2.4.4/python-2.4.4.tar.bz2
Download Zenoss 2.1.1-0
URL: http://downloads.sourceforge.net/zenoss/zenoss-2.1.1-0.tar.gz
Disable SELinux
Edit /etc/selinux/config
Make sure SELINUX is set to SELINUX=disabled
Fedora 8 will come installed with a newer version of Python, but it is not
recommend that you try to uninstall the newer copy in order to get Python2.4.4
installed. Instead install it to a different location.
Install Python2.4.4
Tar âjxvf Python-2.4.4.tar.bz2
Cd Python-2.4.4
./configure âprefix=/usr/local/zenoss
Make
Make install
If you run into issues of not having gcc or swig (mentioned above) just
install them then run make clean from the Python-2.4.4 source directory then
repeat install instructions.
This will install Python-2.4.4 in the /usr/local/zenoss directory. Now
there are two version of Python on the system.
Configure MySQL user account
/usr/bin/mysqladmin âu root password yourpassword (remember what you
set your password to you will need it during the zenoss install)
/usr/bin/mysqladmin âu root âh localhost.localdomain password
yourpassword (remember what you set your password to you will need it during
the zenoss install)
Install Zenoss
Add the zenoss user account
Useradd zenoss âm
Chown âR zenoss.zenoss /usr/local/zenoss
Su zenoss
Download the Zenoss-2.1.1-0.tar.gz to /home/zenoss
Tar âzxvf zenoss-2.1.1-0.tar.gz
Cd zenoss-2.1.1-0
Now edit the build-functions.sh Line:62
You will see several paths for Python. I had to modify this in
order to get Zenoss to compile even if I added my path to Python2.4.4 it still
would not take. I modified line 62 like this:
For p in /usr/local/zenoss/bin/python2.4
Next I added a global environment variable for $ZENHOME
Edit /etc/profile
I created an entry at the bottom of the config file
like this
#Zenoss
ZENHOME=/usr/local/zenoss
Export ZENHOME
PYTHONPATH=$ZENHOME/lib/python
Export PYTHONPATH
Export PATH=$ZENHOME/bin:$PATH
At this time save and exit the /etc/profile config file. Make sure you are in
the zenoss home directory /home/zenoss.
Run the following:
Su zenoss
./install
The install will ask you several questions. I accepted the defaults on
most of them.
Password for Admin = set what ever password you want.
MySQL Server hostname = localhost
MySQL root username = root
MySQL Server root password = the password you set earlier when you configured
MySQL
MySQL event database name = events
MySQL username for Zenoss events database = zenoss
MySQL password for zenoss = yourpassword
Once this is done Zenoss will tell you to run as root
Chown root:zenoss /usr/local/zenoss/bin/zensocket
Chmod 04750 /usr/local/zenoss/bin/zensocket
Now you can start Zenoss
$ZENHOME/bin/zenoss start
Open up a web browser and visit:
http://youripaddress:8080
If you do not see/get the Zenoss page make sure you have an allow statement in
your iptables firewall or you have it turned off.
To turn off iptables:
/etc/init.d/iptables stop
I would recommend modifying your firewall instead of stopping it!
Add Zenoss to boot:
Cp /usr/local/zenoss/bin/zenoss /etc/init.d/
Chkconfig âadd zenoss
*******Disclaimer: I do not know if these steps are the correct way to install
Zenoss. It is just what I have done to get a Zenoss system up and working. If
you see something that I have done to make a system vulnerable or a mistake
please post in reply so others that follow this can correct my mistakes. I hope
this helps*******
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=13997#13997
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users