0
点赞
收藏
分享

微信扫一扫

centos7 安装pg14 数据库

不会弹吉他的二郎腿 2022-03-24 阅读 62
数据库

Install the repository RPM:

sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm

Install PostgreSQL:

sudo yum install -y postgresql14-server

Optionally initialize the database and enable automatic start:

sudo /usr/pgsql-14/bin/postgresql-14-setup initdb
sudo systemctl enable postgresql-14
sudo systemctl start postgresql-14

举报

相关推荐

0 条评论