网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

Centos7安装PostgreSQL方法

时间:2024-10-14 00:45:11

1、确认操作系统的版本

Centos7安装PostgreSQL方法

3、yum update更新完成之后操作系统变成了最新版本的7.4

Centos7安装PostgreSQL方法

5、检查是否安装成功[root@client ~]# rpm -qa| grep postgrespostgresql94-libs-9.4.15-1PGDG.rhe造婷用痃l7.x86_64postgresql94-server-9.4.15-1PGDG.rhel7.x86_64postgresql94-9.4.15-1PGDG.rhel7.x86_64postgresql94-contrib-9.4.15-1PGDG.rhel7.x86_64

Centos7安装PostgreSQL方法

7、启动服务并设置为开机启动systemctl enable postgresql-9.4systemctl start postgresql-9.4

Centos7安装PostgreSQL方法

9、设置postgres用户密码postgres=# \password postgresEnter new password:Enter it again:postgres=#

Centos7安装PostgreSQL方法
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com