linux安装postgresql方法

2024-10-12 13:28:06

1、安装postgres孥恶膈茯ql的仓库源yum installhttps://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-1.noarch.rpm

linux安装postgresql方法

3、使用命令yum install postgresql10-server 安装

linux安装postgresql方法

5、安装完成后初始化数据频骑夭挞库/usr/pgsql-10/bin/postgresql-10-setup initdb

linux安装postgresql方法

7、防火墙上需要开放postgresql的端口

linux安装postgresql方法
猜你喜欢