Ubuntu Server + openerp(三)
2012-12-28 00:00
671 查看
继上篇,系统我们装好了,当然接下我们需要更新系统:
$ sudo apt-get update
$ sudo apt-get upgrade
更新系统需要一段时间,由于我们安装的是一个基本系统,并不存在数据库等,让我们来安装Postgresql9.1吧:
$ sudo apt-get install postgresql
等待一段时间后Postgresql9.1就安装完毕了
接下来我们需要修改数据库用户postgres的密码
$ sudo passwd postgres
输入你的密码,按ENTER就OK了
看到显示password updated successfully密码修改完成,此处修改的Linux用户的密码
切换用户为postgres:
$ sudo su postgres
ENTER进入
登录postgres数据库
$ psql postgres
看到postgres=#表示你已经登录数据库,你可以操作数据库了
ALERT USER postgres WITH PASSWORD '输入你的新密码';此处修改的数据库中用户的密码
修改完成后输入 \q 退出数据库
为OpenERP配置Postgresql用户
createuser --createdb --username postgres --no-createrole --pwpromt openuser
输入两次密码后,会显示‘Shall the new role be a superuser?' 输入'y'
OK,下一篇我们将安装OpenERP
$ sudo apt-get update
$ sudo apt-get upgrade
更新系统需要一段时间,由于我们安装的是一个基本系统,并不存在数据库等,让我们来安装Postgresql9.1吧:
$ sudo apt-get install postgresql
等待一段时间后Postgresql9.1就安装完毕了
接下来我们需要修改数据库用户postgres的密码
$ sudo passwd postgres
输入你的密码,按ENTER就OK了
看到显示password updated successfully密码修改完成,此处修改的Linux用户的密码
切换用户为postgres:
$ sudo su postgres
ENTER进入
登录postgres数据库
$ psql postgres
看到postgres=#表示你已经登录数据库,你可以操作数据库了
ALERT USER postgres WITH PASSWORD '输入你的新密码';此处修改的数据库中用户的密码
修改完成后输入 \q 退出数据库
为OpenERP配置Postgresql用户
createuser --createdb --username postgres --no-createrole --pwpromt openuser
输入两次密码后,会显示‘Shall the new role be a superuser?' 输入'y'
OK,下一篇我们将安装OpenERP
相关文章推荐
- How to install OpenERP 6 on Ubuntu 10.04 LTS Server--1
- ubuntu server安装OpenERP7.0 all.deb步骤并用SecureCRT远程操作维护
- Ubuntu Server+openerp
- How to install OpenERP 6 on Ubuntu 10.04 LTS Server-2
- Ubuntu Server + openerp(一)
- How to Install OpenERP Odoo 8 on Ubuntu Server 14.04 LTS
- Ubuntu Server + openerp(四)
- Ubuntu Server + openerp(二)
- ubuntu server下Odoo OpenERP8.0中文乱码解决方案
- 在Ubuntu Server上源码安装OpenERP 8.0,并配置wsgi和nginx运行环境
- 在ubuntu server 12.04环境中手动配置openerp服务器
- 在Ubuntu Server上源码安装OpenERP 8.0,并配置wsgi和nginx运行环境
- Ubuntu 12.04 server 如何安装 OpenERP 7(转)
- 在Ubuntu Server上源码安装OpenERP(odoo) 8.0,并配置wsgi和nginx运行环境
- 安装“ubuntu-8.04-server”(中)
- 受人喜爱的Ubuntu 9.04 Server 下载地址
- Ubuntu 14.04 64bit上编译安装simple-rtmp-server(srs)服务器
- Ubuntu Server 中实现自动部署提交到SVN的代码
- ubuntu 12.04 Server 上安装 MongoDB及运行
- Install chrooted CVS server on Ubuntu