postgresql 저장소를 설치할 때 다음 문제에 직면했습니다. 다운로드 및 설치를 시도했지만 성공하지 못했습니다. 어떤 제안이라도 주십시오.
yum install https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm
Loaded plugins: langpacks, product-id
Cannot open: https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm. Skipping.
Error: Nothing to do
OS version:
Chassis: desktop
Machine ID: 7ccded75cb2544e8ad10a4232b335eeb
Boot ID: b2f5934d56a54b728467bfd461cb0f90
Virtualization: microsoft
Operating System: Red Hat Enterprise Linux Server 7.0 (Maipo)
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.0:GA:server
Kernel: Linux 3.10.0-123.el7.x86_64
Architecture: x86_64
답변1
귀하는 웹사이트의 권장 사항을 따르지 않습니다.
이거 야설명하다(RHEL 7, CentOS 9.6):
# 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 postgresql96-server
# Optionally initialize the database and enable automatic start:
sudo /usr/pgsql-9.6/bin/postgresql96-setup initdb
sudo systemctl enable postgresql-9.6
sudo systemctl start postgresql-9.6