继上篇,系统我们装好了,当然接下我们需要更新系统:
$ sudo apt-get update
$ sudo apt-get upgrade

更新系统需要一段时间,由于我们安装的是一个基本系统,并不存在数据库等,让我们来安装Postgresql9.1吧:
$ sudo apt-get install postgresql
Ubuntu Server + openerp(三)
等待一段时间后Postgresql9.1就安装完毕了

接下来我们需要修改数据库用户postgres的密码
$ sudo passwd postgres
Ubuntu Server + openerp(三)
输入你的密码,按ENTER就OK了
Ubuntu Server + openerp(三)
看到显示password updated successfully密码修改完成,此处修改的Linux用户的密码

切换用户为postgres:
$ sudo su postgres
ENTER进入
登录postgres数据库
$ psql postgres
Ubuntu Server + openerp(三)
看到postgres=#表示你已经登录数据库,你可以操作数据库了

ALERT USER postgres WITH PASSWORD '输入你的新密码';此处修改的数据库中用户的密码
修改完成后输入 \q 退出数据库

为OpenERP配置Postgresql用户
createuser --createdb --username postgres --no-createrole --pwpromt openuser
Ubuntu Server + openerp(三)
输入两次密码后,会显示‘Shall the new role be a superuser?' 输入'y'

OK,下一篇我们将安装OpenERP

转载于:https://my.oschina.net/catia/blog/98965

相关文章:

  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2021-12-30
  • 2022-12-23
  • 2022-01-26
  • 2022-12-23
  • 2021-07-31
猜你喜欢
  • 2021-06-17
  • 2021-09-12
  • 2021-12-25
  • 2021-12-06
  • 2021-08-05
  • 2021-09-07
  • 2022-12-23
相关资源
相似解决方案