1、修改Ubuntu国内更新源,具体方法自己baidu、google。
  修改更新源后,更新系统   sudo apt-get update
  sudo apt-get upgrade 复制代码
2、安装PostGreSQL   sudo apt-get install postgresql 复制代码
安装完成后,PostgreSQL默认的超级用户为“postgres” 3、在PostgreSQL数据库中创建一个名为OpenERP密码为postgres的新用户
  切换postgres用户   sudo su postgres
  createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp
  Enter password for new role: postgres
  Enter it again: postgres 复制代码
这里creatuser命令行各选项的意思:   --createdb : the new user will be able to create new databases
  --username postgres : createuser will use the postgres user (superuser)
  --no-createrole : the new user will not be able to create new users
  --pwprompt : createuser will ask you the new user’s password openerp : the new user’s name 复制代码
4、安装Python相关依赖包,提示:每次按方向键“上”重复上一条命令,只需要修改后面少部分命令。   sudo apt-get install python-docutils
  sudo apt-get install python-gdata
  sudo apt-get install python-mako
  sudo apt-get install python-dateutil
  sudo apt-get install python-feedparser
  sudo apt-get install python-lxml
  sudo apt-get install python-libxslt1 注意:这里是libxslt1 后面那个是数字1  
  sudo apt-get install python-ldap
  sudo apt-get install python-reportlab
  sudo apt-get install python-pybabel
  sudo apt-get install python-pychart
  sudo apt-get install python-openid
  sudo apt-get install python-simplejson
  sudo apt-get install python-psycopg2
  sudo apt-get install python-vobject
  sudo apt-get install python-tz
  sudo apt-get install python-vatnumber
  sudo apt-get install python-webdav
  sudo apt-get install python-xlwt
  sudo apt-get install python-werkzeug
  sudo apt-get install python-yaml
  sudo apt-get install python-zsi
  sudo apt-get install python-jinja2
  sudo apt-get install python-setuptools
  sudo easy_install PIL
  sudo easy_install unittest2
  sudo easy_install mock 复制代码
5、创建一个新用户用来专门对OpenERP的相关操作。   sudo adduser --system --home=/opt/openerp --group openerp
 
  adding system user `openerp' (UID 116) ...
  adding new group `openerp' (GID 125) ...
  adding new user `openerp' (UID 116) with group `openerp' ...
  creating home directory `/opt/openerp' ... 复制代码
6、安装bzr并获取最新源码
  安装bzr   sudo apt-get install bzr 复制代码
获取最新源码,在主目录下执行(注意不要在中文目录下,否则源码运行会出错):
  切换到openerp用户   sudo su openerp -s /bin/bash
  
  cd ~
  mkdir addons
  cd addons
  bzr branch lp:openobject-addons/7.0 这个过程会比较久
  cd ..
  mkdir server
  cd server
  bzr branch lp:openobject-server/7.0
  cd ..
  mkdir web
  cd web
  bzr branch lp:openerp-web/7.0   复制代码
进入/opt/openerp/server/7.0目录,运行: python openerp-server --addons-path=../../addons/7.0/,../../web/7.0/addons 复制代码
7、源码更新,分别进入addons、server、web下的70目录,运行bzr pull
8、添加oecn_base_fonts模块,修正pdf打印中文方块问题
  到http://v6apps.openerp.com/ 搜索oecn_base_fonts 下载最新版本
  cd 到oecn_base_fonts下载目录   cp oecn_base_fonts.zip /opt/openerp/addons/7.0
  cd /opt/openerp/addons/7.0
  unzip oecn_base_fonts.zip 复制代码
运行openerp python openerp-server --addons-path=../../addons/7.0/,../../web/7.0/addons   复制代码
以超级管理员admin登录后,进入用户设置勾选技术特性选项
  设置 - 用户 - admin - 访问权限 - 勾选【技术特性】选项
  保存重新以admin登录OpenERP   选择【更新模块列表】
  在【可安装的模块中】搜索oecn_base_fonts 安装
  进入【常规设置】
  设置【RML Report Font】的中文字体路径,如:
  /usr/share/fonts/truetype/wqy/wqy-zenhei.ttc
  并勾选【CJK Wrap】

简单说说Ubuntu利用bzr源码安装OpenERP7.0的操作步骤的更多相关文章

  1. 在 Ubuntu 上使用源码安装 OpenResty

    镜像下载.域名解析.时间同步请点击 阿里云开源镜像站 本文将介绍如何在 Ubuntu 上使用源码安装 OpenResty. 目标 Ubuntu 18.04 OpenResty 1.19.3.2 安装依 ...

  2. CentOS7源码安装Redis5.0.4非关系型数据库

    源码安装redis-5.0.4 一. 下载redis 1. 需要连接网络 二. 案例(另一种安装方法) [root@localhost ~]# wget http://download.redis.i ...

  3. 源码安装 qemu-2.0.0 及其依赖 glib-2.12.12

    源码安装qemu-2.0.0 下载源代码并解压 http://wiki.qemu-project.org/download/qemu-2.0.0.tar.bz2 .tar.gz 编译及安装: cd q ...

  4. 【转】Win 7 下源码运行OpenERP7.0

    原文地址:Win 7 下源码运行OpenERP7.0 安装Python2.7 下载地址:http://www.python.org/getit/注:OpenERP7.0支持的Python版本最高为2. ...

  5. 在Ubuntu Server上源码安装OpenERP 8.0,并配置wsgi和nginx运行环境

    原文: How to install OpenERP 8.0 Alpha on a fresh Debian / Ubuntu server. OpenERP的安装,可以有多种方式,通过添加源,到 h ...

  6. [笔记] Ubuntu 18.04源码安装caffe流程

    虽然Ubuntu 18.04可以通过apt安装caffe,但是为了使用最新的代码,还是值得从源码安装一遍的. 安装环境 OS: Ubuntu 18.04 64 bit 显卡: NVidia GTX 1 ...

  7. ubuntu php5.6源码安装

    本系列的lnmp的大框架基本上是按照http://www.linuxzen.com/lnmphuan-jing-da-jian-wan-quan-shou-ce-si-lnmpda-jian-yuan ...

  8. ubuntu mysql5.7源码安装

    本系列的lnmp的大框架基本上是按照http://www.linuxzen.com/lnmphuan-jing-da-jian-wan-quan-shou-ce-si-lnmpda-jian-yuan ...

  9. ubuntu16.04下源码安装onos1.0.2

    由于工作需要,下载安装onos1.0.2的版本,大家看需求可以下载安装更高级的版本 参考链接:http://www.sdnlab.com/14650.html 1.系统环境 Ubuntu16.04 L ...

随机推荐

  1. java中的几种对象(PO,VO,DAO,BO,POJO)

    一.PO :(persistant object ),持久对象 可以看成是与数据库中的表相映射的java对象.使用Hibernate来生成PO是不错的选择. 二.VO :(value object) ...

  2. list C++实现

    模仿STL中list,实现了其大部分功能.list可以高效地利用内存资源,常数时间的插入删除操作.并且,list除了erase外,不怎么存在迭代器失效的现象. #include<iostream ...

  3. springboot线程池的使用和扩展

    我们常用ThreadPoolExecutor提供的线程池服务,springboot框架提供了@Async注解,帮助我们更方便的将业务逻辑提交到线程池中异步执行,今天我们就来实战体验这个线程池服务: 本 ...

  4. 求好用的在线手册编写工具,能编写像bootstrap在线Doc那种的,想为OpenCenter写个在线手册

    原文地址:http://www.oschina.net/question/1014458_225711 各位OSCer的开源项目的在线说明文档都是用什么写的呢? 类似 http://v3.bootcs ...

  5. 转 UITextField

    //初始化textfield并设置位置及大小 UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, ...

  6. Action过滤器使用实例(一)

    1.实例一 /// <summary> /// 需要用户登陆的 action,执行提前验证 /// </summary> public class LoginFilterAtt ...

  7. coursera课程Text Retrieval and Search Engines之Week 1 Overview

    Week 1 OverviewHelp Center Week 1 On this page: Instructional Activities Time Goals and Objectives K ...

  8. Windows 7目录

    1. 用wubi安装的Ubuntu在重装Windows 7系统后,如何恢复(转) 2. Windows 7系统垃圾清理自写程序

  9. spring中ApplicationContextAware接口使用理解

    一.这个接口有什么用?当一个类实现了这个接口(ApplicationContextAware)之后,这个类就可以方便获得ApplicationContext中的所有bean.换句话说,就是这个类可以直 ...

  10. 附2 hystrix详述(2)- 配置

    一.hystrix在生产中的建议 1.保持timeout的默认值(1000ms),除非需要修改(其实通常会修改) 2.保持threadpool的的线程数为10个,除非需要更多 3.依赖标准的报警和监控 ...