Specifications
Installing on RHEL or CentOS
5
1. Determine whether other Java pacakges are installed.
rpm -qa | egrep -i '(jdk|jre|java)'
If necessary, remove the other packages.
yum -y remove $(rpm -qa | egrep -i '(jdk|jre|java)')
2. Download the self-installing binary of Oracle Java SE Runtime Environment 6u45 from the Java SE 6 Downloads
page. The file to download is jre-6u45-linux-x64-rpm.bin.
3. Add execute permission to the self-installing binary.
chmod +x ./jre-6u45-linux-x64-rpm.bin
4. Install the Oracle JRE.
./jre-6u45-linux-x64-rpm.bin
5. Add the JAVA_HOME environment variable to /etc/profile.
echo "export JAVA_HOME=/usr/java/default" >> /etc/profile
6. Verify the correct version is installed.
java -version
The preceding command should return the following output.
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
2.7. Disable SE Linux
Zenoss Core is not compatible with Security-Enhanced Linux (SELinux) in enforcing mode. Follow these steps to
disable enforcing mode on the Zenoss Core host.
1. Log in as root, or as a user with superuser privileges.
2. Disable enforcing mode temporarily (avoiding the need to reboot) with the following command:
/bin/echo 0 > /selinux/enforce
3. Disable enforcing mode permanently by editing the /etc/selinux/config file with the following command:
/bin/sed -i.bak -e 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
For more information about SELinux, see http://en.wikipedia.org/wiki/SELinux, or the SELinux home page at http://
www.nsa.gov/research/selinux/index.shtml.
2.8. Install the Zenoss Dependencies Repository
Install the Zenoss dependencies repository:
RHEL/CentOS 5: rpm -Uvh http://deps.zenoss.com/yum/zenossdeps-4.2.x-1.el5.noarch.rpm
RHEL/CentOS 6: rpm -Uvh http://deps.zenoss.com/yum/zenossdeps-4.2.x-1.el6.noarch.rpm
2.9. Install and Configure MySQL Community Server
You can install MySQL Community Server and Zenoss Core on the same host or you can install them on separate hosts.