rpm -Uvh http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm

yum install postgresql94-server postgresql94-contrib

/usr/pgsql-9.4/bin/postgresql94-setup initdb

systemctl enable postgresql-9.4.service
systemctl start postgresql-9.4.service
systemctl status postgresql-9.4.service

firewall-cmd --permanent --add-port=5432/tcp
firewall-cmd --permanent --add-port=80/tcp
firewall-cmd --reload

查找安装目录
find / -name postgresql.conf

相关文章:

  • 2021-12-18
  • 2021-12-10
  • 2021-08-31
  • 2022-02-12
  • 2021-12-14
  • 2021-12-20
  • 2021-11-11
  • 2021-08-12
猜你喜欢
  • 2021-05-28
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2021-04-01
  • 2021-08-05
  • 2021-11-28
相关资源
相似解决方案