kenhen93
2013-03-27 15:18:40 UTC
kenhen93 [http://community.zenoss.org/people/kenhen93] created the discussion
"semi manual install core 4 proxy"
To view the discussion, visit: http://community.zenoss.org/message/72628#72628
--------------------------------------------------------------
Hi All,
It was a pain to install Core 4 manually but I had to due to the network security my zenoss server lived in. I wanted to share my experience for others in case they run into this problem. My company replicates many yum repos in house, so most of the more typical dependencies, i was able to install via yum. My network security team setup some proxy settings so I could reach rpmforge and epel repo but they did not always seem to work. I ended up having to download most of the rpms and scp them to my zenoss server to install. When I ran into issues with the install guide, I would look at the autodeploy script. I think the install guide could include some more info. Zenoss was installed on Centos 6.2 x86_64
The rules for the proxy included
ftp://ftp.redhat.com/.* ftp://ftp.redhat.com/.*
http://%28.*.%29?redhat.com/.* http://(.*.)?redhat.com/.*
(.*.)?redhat.com:443
http://%28.*.%29?fedorapeople.org/.* http://(.*.)?fedorapeople.org/.*
http://%28.*.%29?fedoraproject.org/.* http://(.*.)?fedoraproject.org/.*
http://apt.sw.be/redhat/.* http://apt.sw.be/redhat/.*
RPMs
jre-7u17-linux-x64.rpm
MySQL-client-5.5.28-1.linux2.6.x86_64.rpm
MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm
MySQL-server.x86_64 0:5.5.28-1.linux2.6.rpm
MySQL-shared-compat.x86_64 0:5.5.28-1.linux2.6
nagios-common-3.2.3-7.el6.x86_64.rpm
nagios-plugins-1.4.15-2.el5.x86_64.rpm
nagios-plugins-dig-1.4.15-2.el5.x86_64.rpm
nagios-plugins-dns-1.4.15-2.el5.x86_64.rpm
nagios-plugins-http-1.4.15-2.el5.x86_64.rpm
nagios-plugins-ircd-1.4.15-2.el5.x86_64.rpm
nagios-plugins-ldap-1.4.15-2.el5.x86_64.rpm
nagios-plugins-ntp-1.4.15-2.el5.x86_64.rpm
nagios-plugins-perl-1.4.15-2.el5.x86_64.rpm
nagios-plugins-ping-1.4.15-2.el5.x86_64.rpm
nagios-plugins-rpc-1.4.15-2.el5.x86_64.rpm
nagios-plugins-tcp-1.4.15-2.el5.x86_64.rpm
perl-rrdtool-1.4.7-1.el6.rfx.x86_64.rpm
rabbitmq-server-3.0.4-1.noarch.rpm
rrdtool-1.4.7-1.el6.rfx.x86_64.rpm
zenoss_core-4.2.3.el6.x86_64.rpm
Configure yum to use a proxy: http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html
service iptables stop
chkconfig iptables off
service ip6tables stop
chkconfig ip6tables off
rpm -ivh jre-7u17-linux-x64.rpm
export JAVA_HOME=/usr/java/default/bin
java -version
***I could not reach the rpmforge repo from my zenoss server but I had most of the dependancies local, so I only need to download two rpm, including RRDtool itself***
yum install gettext libdbi-drivers.x86_64 libdbi-devel.x86_64 perl-Time-HiRes.x86_64 ruby xorg-x11-fonts-Type1.noarch
yum -y --nogpgcheck localinstall rrdtool-1.4.7-1.el6.rfx.x86_64.rpm perl-rrdtool-1.4.7-1.el6.rfx.x86_64.rpm
***The install guide only says to download the MySQL client, per the autoscript you need more MySQL packages then that***
+yum -y --nogpgcheck localinstall MySQL*.rpm+
+service mysql start+
+chkconfig --add mysql+
+chkconfig --level 2345 mysql on+
+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/ http://dl.fedoraproject.org/pub/epel/6/x86_64/+
+yum -y --nogpgcheck localinstall dl.fedoraproject.org/pub/epel/6/x86_64/epel-*.rpm+
edit /etc/yum.repos.d/epel.repo change epel stanza enabled value to = 0
***If you cannot reach the EPEL repo here, you are going to have to install some more dependencies manually, including erlang***
yum --enablerepo=epel -y --nogpgcheck localinstall rabbitmq-server-3.0.4-1.noarch.rpm
***There is no mention of this in the install guide, but if you do not do these configuration steps, rabbitmq will not start***
edit /etc/rabbitmq/rabbitmq-env.conf
add +"NODENAME=<hostname>"+ do not need domain
+chmod go+r etc/rabbitmq/rabbitmq-env.conf+
edit /etc/hosts and add hostname to the end of line with 127.0.0.1
+service rabbitmq-server start+
+chkconfig rabbitmq-server on+
+yum -y install memcached net-snmp net-snmp-utils+
+service memcached start+
+chkconfig memcached on+
+service snmpd start+
+chkconfig snmpd on+
+yum localinstall nagios*+
*+**Make sure there are no hosts.allow or hosts.deny files** Rename them if they exist+*
+yum localinstall zenoss_core-4.2.3.el6.x86_64.rpm liberation-fonts-common.noarch+
+service zenoss start+
Please feel free to comment, add to this post, tell me I am wrong. Thanks! :^0
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72628#72628]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"semi manual install core 4 proxy"
To view the discussion, visit: http://community.zenoss.org/message/72628#72628
--------------------------------------------------------------
Hi All,
It was a pain to install Core 4 manually but I had to due to the network security my zenoss server lived in. I wanted to share my experience for others in case they run into this problem. My company replicates many yum repos in house, so most of the more typical dependencies, i was able to install via yum. My network security team setup some proxy settings so I could reach rpmforge and epel repo but they did not always seem to work. I ended up having to download most of the rpms and scp them to my zenoss server to install. When I ran into issues with the install guide, I would look at the autodeploy script. I think the install guide could include some more info. Zenoss was installed on Centos 6.2 x86_64
The rules for the proxy included
ftp://ftp.redhat.com/.* ftp://ftp.redhat.com/.*
http://%28.*.%29?redhat.com/.* http://(.*.)?redhat.com/.*
(.*.)?redhat.com:443
http://%28.*.%29?fedorapeople.org/.* http://(.*.)?fedorapeople.org/.*
http://%28.*.%29?fedoraproject.org/.* http://(.*.)?fedoraproject.org/.*
http://apt.sw.be/redhat/.* http://apt.sw.be/redhat/.*
RPMs
jre-7u17-linux-x64.rpm
MySQL-client-5.5.28-1.linux2.6.x86_64.rpm
MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm
MySQL-server.x86_64 0:5.5.28-1.linux2.6.rpm
MySQL-shared-compat.x86_64 0:5.5.28-1.linux2.6
nagios-common-3.2.3-7.el6.x86_64.rpm
nagios-plugins-1.4.15-2.el5.x86_64.rpm
nagios-plugins-dig-1.4.15-2.el5.x86_64.rpm
nagios-plugins-dns-1.4.15-2.el5.x86_64.rpm
nagios-plugins-http-1.4.15-2.el5.x86_64.rpm
nagios-plugins-ircd-1.4.15-2.el5.x86_64.rpm
nagios-plugins-ldap-1.4.15-2.el5.x86_64.rpm
nagios-plugins-ntp-1.4.15-2.el5.x86_64.rpm
nagios-plugins-perl-1.4.15-2.el5.x86_64.rpm
nagios-plugins-ping-1.4.15-2.el5.x86_64.rpm
nagios-plugins-rpc-1.4.15-2.el5.x86_64.rpm
nagios-plugins-tcp-1.4.15-2.el5.x86_64.rpm
perl-rrdtool-1.4.7-1.el6.rfx.x86_64.rpm
rabbitmq-server-3.0.4-1.noarch.rpm
rrdtool-1.4.7-1.el6.rfx.x86_64.rpm
zenoss_core-4.2.3.el6.x86_64.rpm
Configure yum to use a proxy: http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html
service iptables stop
chkconfig iptables off
service ip6tables stop
chkconfig ip6tables off
rpm -ivh jre-7u17-linux-x64.rpm
export JAVA_HOME=/usr/java/default/bin
java -version
***I could not reach the rpmforge repo from my zenoss server but I had most of the dependancies local, so I only need to download two rpm, including RRDtool itself***
yum install gettext libdbi-drivers.x86_64 libdbi-devel.x86_64 perl-Time-HiRes.x86_64 ruby xorg-x11-fonts-Type1.noarch
yum -y --nogpgcheck localinstall rrdtool-1.4.7-1.el6.rfx.x86_64.rpm perl-rrdtool-1.4.7-1.el6.rfx.x86_64.rpm
***The install guide only says to download the MySQL client, per the autoscript you need more MySQL packages then that***
+yum -y --nogpgcheck localinstall MySQL*.rpm+
+service mysql start+
+chkconfig --add mysql+
+chkconfig --level 2345 mysql on+
+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/ http://dl.fedoraproject.org/pub/epel/6/x86_64/+
+yum -y --nogpgcheck localinstall dl.fedoraproject.org/pub/epel/6/x86_64/epel-*.rpm+
edit /etc/yum.repos.d/epel.repo change epel stanza enabled value to = 0
***If you cannot reach the EPEL repo here, you are going to have to install some more dependencies manually, including erlang***
yum --enablerepo=epel -y --nogpgcheck localinstall rabbitmq-server-3.0.4-1.noarch.rpm
***There is no mention of this in the install guide, but if you do not do these configuration steps, rabbitmq will not start***
edit /etc/rabbitmq/rabbitmq-env.conf
add +"NODENAME=<hostname>"+ do not need domain
+chmod go+r etc/rabbitmq/rabbitmq-env.conf+
edit /etc/hosts and add hostname to the end of line with 127.0.0.1
+service rabbitmq-server start+
+chkconfig rabbitmq-server on+
+yum -y install memcached net-snmp net-snmp-utils+
+service memcached start+
+chkconfig memcached on+
+service snmpd start+
+chkconfig snmpd on+
+yum localinstall nagios*+
*+**Make sure there are no hosts.allow or hosts.deny files** Rename them if they exist+*
+yum localinstall zenoss_core-4.2.3.el6.x86_64.rpm liberation-fonts-common.noarch+
+service zenoss start+
Please feel free to comment, add to this post, tell me I am wrong. Thanks! :^0
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72628#72628]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]