- 博客(1)
- 收藏
- 关注
原创 centos7下离线安装postgres
listen_addresses= 'localhost' 去掉注释改为 listen_addresses = '*'2、修改登录postgres密码:alter user postgres with password 'xxxxx';创建数据库data和log文件夹(考虑到数据库文件需要较大存储空间,建议创建在大容量路径下,如示例)切换到postgres用户(用户在安装时默认创建):su - postgres。2、安装包上传至安装目录(ag:/home/devuser/pg)*初始化数据库(指定目录)
2023-05-29 10:51:05
752
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人