postgresql-95-rhel-7-x86_64

Create a new Channel:

Fill the fields!

Channel Name:
postgresql-95-rhel-7-x86_64
Channel Label:
postgresql-95-rhel-7-x86_64
Parent Channel:
CentOS 7 Base x86_64
Architecture:
x86_64
Channel Summary:
postgresql-95-rhel-7-x86_64
Scroll down the page and enter:
GPG key URL:
http://repo.zabbix.com/zabbix-official-repo.key
GPG key ID:
442DF0F8
GPG key Fingerprint:
68C9 E2B9 1A37 D136 FE74  D176 1F16 D2E1 442D F0F8
Open [Channels] section, go for [Manage Software Channels],
go for [Manage Repositories], click [Create Repository]

Fill down:
Repository Label:
postgresql-95-rhel-7-x86_64
Repository URL:
https://yum.postgresql.org/9.5/redhat/rhel-7-x86_64/
Click [Create Repository]

Now open your child channel:

Assign child repository to child channel and press [Update Repositories] button:

Now at the command line execute:
spacewalk-repo-sync -c postgresql-95-rhel-7-x86_64
Install channel key locally:
curl "http://apt.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-95" > /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-95
cp /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-95 /var/www/html/pub/RPM-GPG-KEY-PGDG-95
gpg --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-95

No comments: