Skip to main content
All CollectionsLinux / SSH / Bash
Install Zenoss on Centos
Install Zenoss on Centos
Justin Catello avatar
Written by Justin Catello
Updated over a week ago

wget -O jre-6u31-linux-x64-rpm.bin \
 http://javadl.sun.com/webapps/download/AutoDL?BundleId=59622
 chmod +x ./jre-6u31-linux-x64-rpm.bin
 ./jre-6u31-linux-x64-rpm.bin
 export JAVA_HOME=/usr/java/default
 clear
 java -version
 wget http://pkgs.repoforge.org/rpmforge-release/\
 rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
 yum -y --nogpgcheck localinstall rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
 sed -i 's/enabled = 1/enabled = 0/g' /etc/yum.repos.d/rpmforge.repo
 yum -y --enablerepo=rpmforge-extras install rrdtool-1.4.7
 wget ftp://ftp.sunet.se/pub/databases/relational/mysql/Downloads/MySQL-5.5/MySQL-shared-5.5.25a-1.el6.x86_64.rpm
 wget ftp://ftp.sunet.se/pub/databases/relational/mysql/Downloads/MySQL-5.5/MySQL-client-5.5.25a-1.el6.x86_64.rpm
 wget ftp://ftp.sunet.se/pub/databases/relational/mysql/Downloads/MySQL-5.5/MySQL-server-5.5.25a-1.el6.x86_64.rpm
 yum -y --nogpgcheck localinstall MySQL*
 echo [mysqld] > /etc/my.cnf
 echo max_allowed_packet=16M >> /etc/my.cnf
 echo innodb_buffer_pool_size=256M >> /etc/my.cnf
 echo innodb_additional_mem_pool_size=20M >> /etc/my.cnf
 service mysql start
 chkconfig --add mysql
 chkconfig --level 2345 mysql on

/usr/bin/mysql_secure_installation ## Do not put a root password

mysqladmin -u root password ''
 mysqladmin -u root -h localhost password ''
 wget -r -l1 --no-parent -A 'epel*.rpm' \
 http://dl.fedoraproject.org/pub/epel/6/x86_64/
 yum -y --nogpgcheck localinstall dl.fedoraproject.org/pub/epel/6/x86_64/epel-*.rpm
 sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/epel.repo
 wget http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.4/rabbitmq-server-2.8.4-1.noarch.rpm
 yum -y --nogpgcheck --enablerepo=epel localinstall rabbitmq-server-2.8.4-1.noarch.rpm
 service rabbitmq-server start
 chkconfig rabbitmq-server on
 wget http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.0/zenoss-4.2.0.el6.x86_64.rpm/download
 yum -y --nogpgcheck --enablerepo=epel localinstall zenoss-4.2.0.el6.x86_64.rpm
 service memcached start
 chkconfig memcached on
 service snmpd start
 chkconfig snmpd on
 

Did this answer your question?