odoo和postgres的安装配置
来源:互联网 发布:上帝 知乎 编辑:程序博客网 时间:2024/05/15 00:58
1:dpkg -I odoo8.0xxx.deb 检查包的依赖性
2:apt-get install `echo "xxx" | tr -d ,` 一次性安装所有的依赖关系
3:dpkg -i odoo8.0xx.deb 安装odoo
4:apt-get install python-pip python-dev 安装python的包管理工具pip
5:pip install pysftp 在odoo中database auto-base模块中连接外部的sftp服务器时,使用到pysftp
6:/etc/init.d/odoo restart /etc/init.d/postgres restart 启动odoo和postgres服务
7:vim /etc/postgresql/9.4/main/pg_hba.conf 配置数据库权限
local all postgres peer 把这行修改为下面的样子
local all postgres trust
8: /etc/init.d/postgres restart 重启postgres服务
9:su - postgres 切换的postgres数据库中
createdb linxerp 创建名为linxerp的数据库
psql 切换到控制台
alter database linxerp owner to odoo; 把刚创建的linxerp数据库的所有者赋予odoo用户
\q 退出控制台 exit 退出数据库
10:pg_dump -U postgres linxerp > /home/xing/linxerp.bak 把数据库中的linxerp数据库导入到家目录下的备份数据库中
11:psql -U postgres -d linxerp < linxerp.bak 把备份的数据库考入到服务器中
- odoo和postgres的安装配置
- postgres 编译配置安装
- Postgres的搭建配置和创建
- Odoo的安装
- Odoo 的安装
- postgres 安装及配置(ubuntu)
- Odoo 8.0深入浅出开发教程(三) Odoo安装与配置
- 微服务Kong与postgres的安装配置
- 第1章 Odoo安装与配置
- postgres与pgpool的安装
- Odoo 安装
- Ubuntu下Postgres安装与配置
- linux安装配置postgres及使用dblink
- Postgres-XL9.5集群安装与配置
- Postgres-XL9.5集群安装与配置
- odoo postgres备份与恢复数据库
- 如何配置odoo的开发环境?
- postgres的导出和备份
- Mapper的XML配置文件之设置(settings)
- Path Sum III ---LeetCode
- VPP 源码解析 宏 VLIB_NODE_FUNCTION_MULTIARCH
- 使用Android Studio打开Android源码
- Golang获取goroutine ID
- odoo和postgres的安装配置
- NOIP2016提高组总结
- cocos2d 由导出文件.csb反推出cocosUI工程
- 通过winSCP打开putty乱码问题的解决
- Lucene查询语法详解(Lucene query syntax)- 用于Kibana搜索语句
- 设计模式-单例模式
- Tiny210(S5PV210) U-BOOT(一)----启动过程
- 嵌入式开发中http传输二进制数据的注意事项
- Mysql主从复制,读写分离(mysql-proxy),双主结构完整构建过程