跳转至内容
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(Flatly)
  • 不使用皮肤
折叠

Odoo 中文社区

  1. 主页
  2. 版块
  3. Odoo 安装指南
  4. [分享]温州-肚脐 分享一个centos6.3 安装oe7的脚本

[分享]温州-肚脐 分享一个centos6.3 安装oe7的脚本

已定时 已固定 已锁定 已移动 Odoo 安装指南
8 帖子 7 发布者 11.0k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • mrshellyM 离线
    mrshellyM 离线
    mrshelly
    写于 最后由 编辑
    #1

    温州-肚脐(1085820)  分享的一个centos6.3 32bit 安装oe7的脚本

    <br /><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 />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; python-matplotlib python-babel python-mako python-dateutil python-psycopg2 \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pychart pydot python-reportlab python-devel python-imaging python-vobject \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hippo-canvas-python mx python-gdata python-ldap python-openid \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; python-werkzeug python-vatnumber pygtk2 glade3 pydot python-dateutil \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; python-matplotlib pygtk2 glade3 pydot python-dateutil python-matplotlib \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; python python-devel python-psutil python-docutils make\<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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 &quot;createuser&nbsp; --superuser openerp&quot;<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=&quot;/var/run/openerp /var/log/openerp&quot;<br />for NAME in $DIR<br />do<br />if [ ! -d $NAME ]; then<br />&nbsp;  mkdir $NAME<br />&nbsp;  chown openerp.openerp $NAME<br />fi<br />done<br />rm -rf openerp*<br />wget [检测到链接无效,已移除] br />tar -zxvf openerp-7.0-latest.tar.gz&nbsp; --transform &#039;s!^[^/]\+\($\|/\)!openerp\1!&#039;<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&nbsp; openerp start <br />
    



    谢谢.. 鼓掌...


    1 条回复 最后回复
    0
    • C 离线
      C 离线
      ccdos
      写于 最后由 编辑
      #2

      高手

      1 条回复 最后回复
      0
      • D 离线
        D 离线
        davidmayb
        写于 最后由 编辑
        #3
        1 条回复 最后回复
        0
        • W 离线
          W 离线
          wangbuke
          写于 最后由 编辑
          #4

          以上是 32 位系统, 64位系统的要改下:

          rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm br />rpm -ivh [检测到链接无效,已移除] br />
          再次谢谢分享 ~

          1 条回复 最后回复
          0
          • P 离线
            P 离线
            pophu
            写于 最后由 编辑
            #5

            谢谢  收了  方便多了

            1 条回复 最后回复
            0
            • JoshuaJ 离线
              JoshuaJ 离线
              Joshua 管理员
              写于 最后由 编辑
              #6

              好东西,谢谢分享。

              【上海先安科技】(joshua AT openerp.cn),欢迎关注公众号:openerp_cn

              1 条回复 最后回复
              0
              • 2 离线
                2 离线
                222411
                写于 最后由 编辑
                #7

                在 centos 6.2安装的时候出现
                chkconfig postgresql-9.2 on
                falled 是什么原因导致的...

                用你写的 一健脚本 在 centos 6.2 64位上面安装出现这样的故障...

                1 条回复 最后回复
                0

                • 登录

                • 没有帐号? 注册

                • 登录或注册以进行搜索。
                • 第一个帖子
                  最后一个帖子
                0
                • 版块
                • 标签
                • 热门
                • 用户
                • 群组