使用CentOS安裝OpenERP
-
http://shine-it.net/index.php/topic,4244.0.html
上面是我的亲身经历,数据库;下面是我的亲身经历,centos+openerp安装
shine-it.net/index.php/topic,4246.0.html -
http://dl.fedoraproject.org/pub/epel/6/
在上面的地址下, 选择 bit32 bit64 进入, 基本上OE的 扩展安装包 里面都有 直接 rpm 安装就行了. -
<br />#!/bin/sh<br /># Modified script from Carlos E. Fonseca Zorrilla <br />yum -y install wget unzip<br />rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm br />rpm -ivh [检测到链接无效,已移除] br />yum -y install python-psycopg2 python-lxml PyXML python-setuptools libxslt-python pytz \<br /> python-matplotlib python-babel python-mako python-dateutil python-psycopg2 \<br /> pychart pydot python-reportlab python-devel python-imaging python-vobject \<br /> hippo-canvas-python mx python-gdata python-ldap python-openid \<br /> python-werkzeug python-vatnumber pygtk2 glade3 pydot python-dateutil \<br /> python-matplotlib pygtk2 glade3 pydot python-dateutil python-matplotlib \<br /> python python-devel python-psutil python-docutils make\<br /> automake gcc gcc-c++ kernel-devel byacc flashplugin-nonfree poppler-utils pywebdav\<br />yum -y install postgresql92-libs postgresql92-server postgresql92<br />service postgresql-9.2 initdb<br />chkconfig postgresql-9.2 on<br />service postgresql-9.2 start<br />su - postgres -c "createuser --superuser openerp"<br />cd /tmp<br />wget [检测到链接无效,已移除] br />unzip gdata-2.0.17.zip<br />rm -rf gdata-2.0.17.zip<br />cd gdata*<br />python setup.py install<br />cd /tmp<br />adduser openerp<br />DIR="/var/run/openerp /var/log/openerp"<br />for NAME in $DIR<br />do<br />if [ ! -d $NAME ]; then<br /> mkdir $NAME<br /> chown openerp.openerp $NAME<br />fi<br />done<br />rm -rf openerp*<br />wget [检测到链接无效,已移除] br />tar -zxvf openerp-7.0-latest.tar.gz --transform 's!^[^/]\+\($\|/\)!openerp\1!'<br />cd openerp<br />python setup.py install<br />rm -rf /usr/local/bin/openerp-server<br />cp openerp-server /usr/local/bin<br />cp install/openerp-server.init /etc/init.d/openerp<br />cp install/openerp-server.conf /etc<br />chown openerp:openerp /etc/openerp-server.conf<br />chmod u+x /etc/init.d/openerp<br />chkconfig openerp on<br />service openerp start<br />
這是官網的一段Script
我之前在CentOS 6.3有測試,是可以安裝起來,但安裝期間有些錯誤(某些文件找不到)
所以我也不知道那些錯誤會不會導致什麼問題