安装postsql
首先下载一个rpm包从这https://www.postgresql.org/download/linux/redhat/;
https://yum.postgresql.org/repopackages.php#pg95自己选择适合的版本。
, pgdg-redhat-repo-latest.noarch.rpm
yum install postgresql-server
初始化数据库
postgresql-setup initdb
systemctl enable postgresql.service
systemctl start postgresql.service
linux下安装postsql
最新推荐文章于 2023-09-16 17:50:30 发布