加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

postgresql – 如何在ubuntu上安装Odoo 9?

发布时间:2020-12-13 18:04:13 所属栏目:百科 来源:网络整理
导读:我在5432和5433端口预装了postgres,postgres-9.3和pgadmin. 卸载它们然后尝试使用http://openies.com/blog/install-openerp-odoo-9-on-ubuntu-server-14-04-lts/安装odoo 9 本教程. 但是当我试着执行命令时 createuser --createdb --username postgres --no-
我在5432和5433端口预装了postgres,postgres-9.3和pgadmin.

卸载它们然后尝试使用http://openies.com/blog/install-openerp-odoo-9-on-ubuntu-server-14-04-lts/安装odoo 9

本教程.

但是当我试着执行命令时

createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo

然后它给出以下错误:

createuser: could not connect to database postgres: could not connect
to server: No such file or directory Is the server running locally
and accepting connections on Unix domain socket
“/var/run/postgresql/.s.PGSQL.5432”?

sudo netstat -nltp | grep 5432没有显示任何结果.

的pg_hba.conf

# Database administrative login by Unix domain socket
local   all             postgres                                peer

# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     peer
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5
# Allow replication connections from localhost,by a user with the
# replication privilege.
#local   replication     postgres                                peer
#host    replication     postgres        127.0.0.1/32            md5
#host    replication     postgres        ::1/128                 md5
Bitnami ODOO,易于安装在您的机器中.

Download from Here

它与preinstall postgresql兼容.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读