postgresql安装
1、添加RPM
yum install https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-2.noarch.rpm 2、安装PostgreSQL 9.5 3、初始化数据库 4、设置开机自启动 5、启动服务 6、查看版本 7.postgresql修改密码 8.开启远程访问 9.信任远程连接 IPv4 local connections:host all all 127.0.0.1/32 ident 10.重启服务systemctl restart postgresql-9.5.service (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |