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日志记录整理的,所以绝对可靠成功。
    [code]yum update
    #升级系统
    yum -y install wget unzip
    #安装wget和unzip
    useradd -s /bin/bash openerp
    #创建用户openerp,用于openerp运行
    yum install http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm
    #安装最新版的pgdg
    rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
    #安装EPEL
    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 />#安装相关工具
    yum install postgresql93-server postgresql93-contrib
    #安装pgsql server及contrib
    vi /var/lib/pgsql/.bash_profile
    PGDATA=/data/pgsql/data
    export PGDATA
    #修改PGDATA保存路径
    mkdir /data/pgsql
    mkdir /data/pgsql/data
    mkdir /data/pgsql/backup
    hown postgres:postgres /data/pgsql/ -R
    #创建路径并修改所有权
    vi /etc/init.d/postgresql-9.3
    #找到PGDATA=/var/lib/pgsql/9.3/data修改为PGDATA=/data/pgsql/data
    service postgresql-9.3 initdb
    正在初始化数据库:[确定]
    #初始化pgsql
    service postgresql-9.3 start
    chkconfig postgresql-9.3 on
    #配置pgsql服务自动启动
    su postgres
    createuser --superuser openerp
    exit
    #在pgsql里面添加openerp用户
    cd /tmp
    wget http://gdata-python-client.googlecode.com/files/gdata-2.0.17.zip
    unzip gdata-2.0.17.zip
    cd gdata
    python setup.py install
    #安装gdata
    mkdir /data/openerp
    wget http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gz
    tar zxvf openerp-7.0-latest.tar.gz
    mv openerp-7.0-20131021-123225/ openerp
    cd openerp
    python setup.py install
    #下载并安装Openerp
    cp openerp-server /usr/local/bin/
    cp install/openerp-server.init /etc/init.d/openerp
    cp install/openerp-server.conf /etc/
    chown openerp:openerp /etc/openerp-server.conf
    chmod u+x /etc/init.d/openerp
    mkdir /var/run/openerp
    chown openerp:openerp /var/run/openerp -R
    mkdir /var/log/openerp
    chown openerp:openerp /var/log/openerp -R
    chkconfig openerp on
    service openerp start
    #配置权限及服务[/code]
    [move]求重庆地区熟悉Openerp报表开发和视图修改的高手。有偿服务[/move]



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


登录后回复
 

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