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方法
  • 修改centos7.3输入法切换快捷键
  • CentOS7 RPM方式安装tigervncserver
  • Linux如何切换图形界面和命令行界面
  • mysql数据库允许远程连接
  • 安装Sonar遇到的问题
  • 热门搜索
    曼谷旅游攻略 朝鲜旅游价格 微山湖旅游攻略 陕西旅游集团 大连香洲旅游度假区 太仓旅游 三亚旅游团 新马泰旅游 宽甸旅游 潮汕旅游