How to install zoner in Centos6

Zoner  is DNS zone management web application built in Python.

{code}

yum install python-setuptools.noarch

easy_install TurboGears

Download the python-tgexpandingformwidget-0.1.3-5.el5ipa.src.rpm in /opt

wget http://ftp.pbone.net/mirror/ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHEIPA/SRPMS/python-tgexpandingformwidget-0.1.3-5.el5ipa.src.rpm


rpm -ivh /opt/python-tgexpandingformwidget-0.1.3-5.el5ipa.src.rpm

cd /root/rpmbuild/SOURCES

tar -xvzf TGExpandingFormWidget-0.1.3.tar.gz

python  setup.py install

Download the TGBooleanFormWidget-0.1.egg in /opt

wget http://cleaver.cnx.rice.edu/eggs_directory/TGBooleanFormWidget/TGBooleanFormWidget-0.1.egg#

 easy_install TGBooleanFormWidget-0.1.egg

cd /opt

wget http://peak.telecommunity.com/dist/ez_setup.py

python ez_setup.py -Zf http://peak.telecommunity.com/snapshots/ RuleDispatch

***If you face any error for python.h file install python-devel.x86_64 ( yum install python-devel.x86_64 )

 easy_install easyzone

easy_install dnspython

Finally install zoner — easy_install zoner

***  python-formencode is dependency so install it ( yum install  python-formencode)



Now configure it —

cd /usr/lib/python2.6/site-packages/zoner-1.4.1-py2.6.egg

cp config/sample-prod.cfg zoner.cfg

Now edit the zoner.cfg and change the parameters

yum install MySQL-python.x86_64


 tg-admin –config=zoner.cfg sql create

zoner_users -c zoner.cfg add



Finally, start the Zoner application:  $ zoner zoner.cfg

Point your browser at http://localhost:8080/ (or the appropriate host/port as per your configuration) and you should be able to login.

Want to run the service other then 8080 port add the below lines in the zoner.cfg 

server.socket_host = “0.0.0.0”
server.socket_port = 9090



Advertisements

One thought on “How to install zoner in Centos6

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s