1. http://stackoverflow.com/questions/21305816/how-to-install-openerp-7-0-1-on-centos-6-5
2. http://mjoanis.blogspot.in/2014/01/installing-openerp-7-on-centos-65.html
1. #!/bin/sh
# Modified script from Carlos E. Fonseca Zorrilla
# http://forum.openerp.com/forum/topic36094.html
step 1: yum -y install wget unzip
step 2: rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
step 3: rpm -ivh http://yum.pgrpms.org/9.2/redhat/rhel-6-i386/pgdg-centos92-9.2-6.noarch.rpm
# Install core prerequisistes for OpenERP
step 4: yum -y install python-psycopg2 python-lxml PyXML python-setuptools libxslt-python pytz \
python-matplotlib python-babel python-mako python-dateutil python-psycopg2 \
pychart pydot python-reportlab python-devel python-imaging python-vobject \
hippo-canvas-python mx python-gdata python-ldap python-openid \
python-werkzeug python-vatnumber pygtk2 glade3 pydot python-dateutil \
python-matplotlib pygtk2 glade3 pydot python-dateutil python-matplotlib \
python python-devel python-psutil python-docutils make\
automake gcc gcc-c++ kernel-devel byacc flashplugin-nonfree poppler-utils pywebdav\
yum install python-dateutil python-docutils python-feedparser python-gdata \ python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid \ python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing \ python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject \ python-webdav python-werkzeug python-xlwt python-yaml python-zsi
step 5: yum -y install postgresql92-libs postgresql92-server postgresql92
step 6: service postgresql-9.2 initdb
step 7: chkconfig postgresql-9.2 on
step 8: service postgresql-9.2 start
step 9: su - postgres -c "createuser --superuser openerp"
step 10: cd /tmp
step 11: wget http://gdata-python-client.googlecode.com/files/gdata-2.0.17.zip
step 12: unzip gdata-2.0.17.zip
step 13: rm -rf gdata-2.0.17.zip
step 14: cd gdata*
step 15: python setup.py install
step 16: cd /tmp
step 17: adduser openerp
step 18: DIR="/var/run/openerp /var/log/openerp"
step 19: for NAME in $DIR
do
if [ ! -d $NAME ]; then
mkdir $NAME
chown openerp.openerp $NAME
fi
done
step 20: rm -rf openerp*
step 21: wget http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-20140804-231303.tar.gz
step 22: tar -zxvf openerp-7.0-20140804-231303.tar.gz --transform 's!^[^/]\+\($\|/\)!openerp\1!'
step 23: cd openerp
step 24: python setup.py install
step 25: rm -rf /usr/local/bin/openerp-server
step 26: cp openerp-server /usr/local/bin
step 27: cp install/openerp-server.init /etc/init.d/openerp
step 28: cp install/openerp-server.conf /etc
step 29: chown openerp:openerp /etc/openerp-server.conf
step 30: chmod u+x /etc/init.d/openerp
step 31: chkconfig openerp on
step 32: service openerp start
step 33: switch firewall off command: service iptables stop
Open http://www.cyberciti.biz/faq/linux-web-server-firewall-tutorial/ and edit iptables and ip6tables
OpenERP works
##########################################################################################################################
2. http://mjoanis.blogspot.in/2014/01/installing-openerp-7-on-centos-65.html
1. #!/bin/sh
# Modified script from Carlos E. Fonseca Zorrilla
# http://forum.openerp.com/forum/topic36094.html
step 1: yum -y install wget unzip
step 2: rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
step 3: rpm -ivh http://yum.pgrpms.org/9.2/redhat/rhel-6-i386/pgdg-centos92-9.2-6.noarch.rpm
# Install core prerequisistes for OpenERP
step 4: yum -y install python-psycopg2 python-lxml PyXML python-setuptools libxslt-python pytz \
python-matplotlib python-babel python-mako python-dateutil python-psycopg2 \
pychart pydot python-reportlab python-devel python-imaging python-vobject \
hippo-canvas-python mx python-gdata python-ldap python-openid \
python-werkzeug python-vatnumber pygtk2 glade3 pydot python-dateutil \
python-matplotlib pygtk2 glade3 pydot python-dateutil python-matplotlib \
python python-devel python-psutil python-docutils make\
automake gcc gcc-c++ kernel-devel byacc flashplugin-nonfree poppler-utils pywebdav\
yum install python-dateutil python-docutils python-feedparser python-gdata \ python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid \ python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing \ python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject \ python-webdav python-werkzeug python-xlwt python-yaml python-zsi
step 5: yum -y install postgresql92-libs postgresql92-server postgresql92
step 6: service postgresql-9.2 initdb
step 7: chkconfig postgresql-9.2 on
step 8: service postgresql-9.2 start
step 9: su - postgres -c "createuser --superuser openerp"
step 10: cd /tmp
step 11: wget http://gdata-python-client.googlecode.com/files/gdata-2.0.17.zip
step 12: unzip gdata-2.0.17.zip
step 13: rm -rf gdata-2.0.17.zip
step 14: cd gdata*
step 15: python setup.py install
step 16: cd /tmp
step 17: adduser openerp
step 18: DIR="/var/run/openerp /var/log/openerp"
step 19: for NAME in $DIR
do
if [ ! -d $NAME ]; then
mkdir $NAME
chown openerp.openerp $NAME
fi
done
step 20: rm -rf openerp*
step 21: wget http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-20140804-231303.tar.gz
step 22: tar -zxvf openerp-7.0-20140804-231303.tar.gz --transform 's!^[^/]\+\($\|/\)!openerp\1!'
step 23: cd openerp
step 24: python setup.py install
step 25: rm -rf /usr/local/bin/openerp-server
step 26: cp openerp-server /usr/local/bin
step 27: cp install/openerp-server.init /etc/init.d/openerp
step 28: cp install/openerp-server.conf /etc
step 29: chown openerp:openerp /etc/openerp-server.conf
step 30: chmod u+x /etc/init.d/openerp
step 31: chkconfig openerp on
step 32: service openerp start
step 33: switch firewall off command: service iptables stop
Open http://www.cyberciti.biz/faq/linux-web-server-firewall-tutorial/ and edit iptables and ip6tables
OpenERP works
##########################################################################################################################
No comments:
Post a Comment