Odoo中文社区可以通过以下三个域名访问:shine-it.net , odoocn.org,odoo.net.cn

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

[绝对原创]Centos6.4源码安装Openerp



  • 本人初学者,由于对RHL系LINUX的情有独钟,所以在安装Openerp时就安装在了Centos中,Centos采用Min安装。安装完成后SSH登陆服务器。数据库保存在/data/pgsql/data下。Openerp放在/usr/lib/python2.6/sites-xxx下(如何修改安装目录,没找到办法。望了解的赐教)。下面脚本是最近一次安装OPENERP日志记录整理的,所以绝对可靠成功。<br />[code]yum update<br />#升级系统<br />yum -y install wget unzip<br />#安装wget和unzip<br />useradd -s /bin/bash openerp<br />#创建用户openerp,用于openerp运行<br />yum install http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm<br />#安装最新版的pgdg<br />rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm<br />#安装EPEL<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 poppler-utils pywebdav <br />#安装相关工具<br />yum install postgresql93-server postgresql93-contrib<br />#安装pgsql server及contrib<br /> vi /var/lib/pgsql/.bash_profile <br />PGDATA=/data/pgsql/data<br />export PGDATA<br />#修改PGDATA保存路径<br />mkdir /data/pgsql<br />mkdir /data/pgsql/data<br />mkdir /data/pgsql/backup<br />hown postgres:postgres /data/pgsql/ -R<br />#创建路径并修改所有权<br />vi /etc/init.d/postgresql-9.3 <br />#找到PGDATA=/var/lib/pgsql/9.3/data修改为PGDATA=/data/pgsql/data<br /> service postgresql-9.3 initdb<br />正在初始化数据库:[确定]<br />#初始化pgsql<br />service postgresql-9.3 start<br />chkconfig postgresql-9.3 on<br />#配置pgsql服务自动启动<br />su postgres<br />createuser --superuser openerp<br />exit<br />#在pgsql里面添加openerp用户<br /> cd /tmp<br />wget http://gdata-python-client.googlecode.com/files/gdata-2.0.17.zip<br />unzip gdata-2.0.17.zip <br />cd gdata<br />python setup.py install<br />#安装gdata<br />mkdir /data/openerp<br />wget http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gz<br />tar zxvf openerp-7.0-latest.tar.gz<br />mv openerp-7.0-20131021-123225/ openerp<br />cd openerp<br />python setup.py install<br />#下载并安装Openerp<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 />mkdir /var/run/openerp<br />chown openerp:openerp /var/run/openerp -R<br />mkdir /var/log/openerp<br />chown openerp:openerp /var/log/openerp -R<br />chkconfig openerp on<br />service openerp start<br />#配置权限及服务[/code]<br />[move]求重庆地区熟悉Openerp报表开发和视图修改的高手。有偿服务[/move]



  • 本人初学者,由于对RHL系LINUX的情有独钟,所以在安装Openerp时就安装在了Centos中,Centos采用Min安装。安装完成后SSH登陆服务器。数据库保存在/data/pgsql/data下。Openerp放在/usr/lib/python2.6/sites-xxx下(如何修改安装目录,没找到办法。望了解的赐教)。下面脚本是最近一次安装OPENERP日志记录整理的,所以绝对可靠成功。<br />[code]yum update<br />#升级系统<br />yum -y install wget unzip<br />#安装wget和unzip<br />useradd -s /bin/bash openerp<br />#创建用户openerp,用于openerp运行<br />yum install http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm<br />#安装最新版的pgdg<br />rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm<br />#安装EPEL<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 poppler-utils pywebdav <br />#安装相关工具<br />yum install postgresql93-server postgresql93-contrib<br />#安装pgsql server及contrib<br /> vi /var/lib/pgsql/.bash_profile <br />PGDATA=/data/pgsql/data<br />export PGDATA<br />#修改PGDATA保存路径<br />mkdir /data/pgsql<br />mkdir /data/pgsql/data<br />mkdir /data/pgsql/backup<br />hown postgres:postgres /data/pgsql/ -R<br />#创建路径并修改所有权<br />vi /etc/init.d/postgresql-9.3 <br />#找到PGDATA=/var/lib/pgsql/9.3/data修改为PGDATA=/data/pgsql/data<br /> service postgresql-9.3 initdb<br />正在初始化数据库:[确定]<br />#初始化pgsql<br />service postgresql-9.3 start<br />chkconfig postgresql-9.3 on<br />#配置pgsql服务自动启动<br />su postgres<br />createuser --superuser openerp<br />exit<br />#在pgsql里面添加openerp用户<br /> cd /tmp<br />wget http://gdata-python-client.googlecode.com/files/gdata-2.0.17.zip<br />unzip gdata-2.0.17.zip <br />cd gdata<br />python setup.py install<br />#安装gdata<br />mkdir /data/openerp<br />wget http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gz<br />tar zxvf openerp-7.0-latest.tar.gz<br />mv openerp-7.0-20131021-123225/ openerp<br />cd openerp<br />python setup.py install<br />#下载并安装Openerp<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 />mkdir /var/run/openerp<br />chown openerp:openerp /var/run/openerp -R<br />mkdir /var/log/openerp<br />chown openerp:openerp /var/log/openerp -R<br />chkconfig openerp on<br />service openerp start<br />#配置权限及服务[/code]<br />[move]求重庆地区熟悉Openerp报表开发和视图修改的高手。有偿服务[/move]


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待