centos6.3 安装(openerp)oe7的脚本

#!/bin/sh # Modified script from Carlos E. Fonseca Zorrilla yum -y install wget unzip 
#centos6.3(6.4)—x86_32

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm 
rpm -ivh http://yum.pgrpms.org/9.2/redhat/rhel-6-i386/pgdg-centos92-9.2-6.noarch.rpm

#centos6.3(6.4)—x86_64
#rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
#rpm -ivh http://yum.pgrpms.org/9.2/redhat/rhel-6-x86_64/pgdg-centos92-9.2-6.noarch.rpm

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 -y install postgresql92-libs postgresql92-server postgresql92service postgresql-
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 -y install postgresql92-libs postgresql92-server postgresql92service postgresql-9.2 initdbchkconfig postgresql-9.2 onservice postgresql-9.2 startsu - postgres -c "createuser  --superuser openerp" cd /tmpwget http://gdata-python-client.googlecode.com/files/gdata-2.0.17.zipunzip gdata-2.0.17.ziprm -rf gdata-2.0.17.zipcd gdata*python setup.py installcd /tmpadduser openerpDIR="/var/run/openerp /var/log/openerp" for NAME in $DIR do if [ ! -d $NAME ]; then    mkdir $NAME    chown openerp.openerp $NAME fi done rm -rf openerp*wget http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gztar -zxvf openerp-7.0-latest.tar.gz  --transform 's!^[^/]\+\($\|/\)!openerp\1!'cd openerppython setup.py installrm -rf /usr/local/bin/openerp-servercp openerp-server /usr/local/bincp install/openerp-server.init /etc/init.d/openerpcp install/openerp-server.conf /etcchown openerp:openerp /etc/openerp-server.confchmod u+x /etc/init.d/openerpchkconfig openerp on
service  openerp start 


将以上代码保存为 .sh 文件,linux下运行即可(确保网络正常)
转自:http://shine-it.net/index.php/topic,5787.0.html?PHPSESSID=f4e83d7c4c278f431a4f01fb0d713baa​
亲测centos6.4-x86_64也是可以的
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值