Created
July 8, 2015 19:37
-
-
Save ajyoung/d5139b26f557a398f837 to your computer and use it in GitHub Desktop.
Install postgresql 9.3 on centos 6.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ayoungga-kts-centos64-1 ~]# yum -y install http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm | |
Loaded plugins: security | |
Setting up Install Process | |
pgdg-centos93-9.3-1.noarch.rpm | 5.1 kB 00:00 | |
Examining /var/tmp/yum-root-2Dreks/pgdg-centos93-9.3-1.noarch.rpm: pgdg-centos93-9.3-1.noarch | |
Marking /var/tmp/yum-root-2Dreks/pgdg-centos93-9.3-1.noarch.rpm to be installed | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package pgdg-centos93.noarch 0:9.3-1 will be installed | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
======================================================================================================================================================================= | |
Package Arch Version Repository Size | |
======================================================================================================================================================================= | |
Installing: | |
pgdg-centos93 noarch 9.3-1 /pgdg-centos93-9.3-1.noarch 2.1 k | |
Transaction Summary | |
======================================================================================================================================================================= | |
Install 1 Package(s) | |
Total size: 2.1 k | |
Installed size: 2.1 k | |
Downloading Packages: | |
Running rpm_check_debug | |
Running Transaction Test | |
Transaction Test Succeeded | |
Running Transaction | |
Installing : pgdg-centos93-9.3-1.noarch 1/1 | |
Verifying : pgdg-centos93-9.3-1.noarch 1/1 | |
Installed: | |
pgdg-centos93.noarch 0:9.3-1 | |
Complete! | |
[root@ayoungga-kts-centos64-1 ~]# yum -y install haveged postgresql93-server | |
Loaded plugins: security | |
pgdg93 | 3.7 kB 00:00 | |
pgdg93/primary_db | 149 kB 00:00 | |
Setting up Install Process | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package haveged.x86_64 0:1.9.1-2.el6 will be installed | |
---> Package postgresql93-server.x86_64 0:9.3.9-1PGDG.rhel6 will be installed | |
--> Processing Dependency: postgresql93 = 9.3.9-1PGDG.rhel6 for package: postgresql93-server-9.3.9-1PGDG.rhel6.x86_64 | |
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: postgresql93-server-9.3.9-1PGDG.rhel6.x86_64 | |
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: postgresql93-server-9.3.9-1PGDG.rhel6.x86_64 | |
--> Processing Dependency: libpq.so.5()(64bit) for package: postgresql93-server-9.3.9-1PGDG.rhel6.x86_64 | |
--> Running transaction check | |
---> Package postgresql93.x86_64 0:9.3.9-1PGDG.rhel6 will be installed | |
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: postgresql93-9.3.9-1PGDG.rhel6.x86_64 | |
---> Package postgresql93-libs.x86_64 0:9.3.9-1PGDG.rhel6 will be installed | |
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: postgresql93-libs-9.3.9-1PGDG.rhel6.x86_64 | |
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: postgresql93-libs-9.3.9-1PGDG.rhel6.x86_64 | |
---> Package postgresql93-server.x86_64 0:9.3.9-1PGDG.rhel6 will be installed | |
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: postgresql93-server-9.3.9-1PGDG.rhel6.x86_64 | |
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: postgresql93-server-9.3.9-1PGDG.rhel6.x86_64 | |
--> Finished Dependency Resolution | |
Error: Package: postgresql93-server-9.3.9-1PGDG.rhel6.x86_64 (pgdg93) | |
Requires: libcrypto.so.10(libcrypto.so.10)(64bit) | |
Error: Package: postgresql93-libs-9.3.9-1PGDG.rhel6.x86_64 (pgdg93) | |
Requires: libssl.so.10(libssl.so.10)(64bit) | |
Error: Package: postgresql93-server-9.3.9-1PGDG.rhel6.x86_64 (pgdg93) | |
Requires: libssl.so.10(libssl.so.10)(64bit) | |
Error: Package: postgresql93-libs-9.3.9-1PGDG.rhel6.x86_64 (pgdg93) | |
Requires: libcrypto.so.10(libcrypto.so.10)(64bit) | |
Error: Package: postgresql93-9.3.9-1PGDG.rhel6.x86_64 (pgdg93) | |
Requires: libssl.so.10(libssl.so.10)(64bit) | |
You could try using --skip-broken to work around the problem | |
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows: | |
yum-3.2.29-40.el6.centos.noarch has missing requires of yum-plugin-fastestmirror | |
[root@ayoungga-kts-centos64-1 ~]# rpm -ivh http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-14.ius.centos6.noarch.rpm | |
Retrieving http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-14.ius.centos6.noarch.rpm | |
warning: /var/tmp/rpm-tmp.ztUWES: Header V4 DSA/SHA1 Signature, key ID 9cd4953f: NOKEY | |
Preparing... ########################################### [100%] | |
1:ius-release ########################################### [100%] | |
[root@ayoungga-kts-centos64-1 ~]# cat /etc/yum.repos.d/ius-archive.repo | |
[ius-archive] | |
name=IUS Community Packages for Enterprise Linux 6 - $basearch - Archive | |
#baseurl=https://dl.iuscommunity.org/pub/ius/archive/CentOS/6/$basearch | |
mirrorlist=https://mirrors.iuscommunity.org/mirrorlist?repo=ius-centos6-archive&arch=$basearch&protocol=http | |
failovermethod=priority | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY | |
[ius-archive-debuginfo] | |
name=IUS Community Packages for Enterprise Linux 6 - $basearch - Archive Debug | |
#baseurl=https://dl.iuscommunity.org/pub/ius/archive/CentOS/6/$basearch/debuginfo | |
mirrorlist=https://mirrors.iuscommunity.org/mirrorlist?repo=ius-centos6-archive-debuginfo&arch=$basearch&protocol=http | |
failovermethod=priority | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY | |
[ius-archive-source] | |
name=IUS Community Packages for Enterprise Linux 6 - $basearch - Archive Source | |
#baseurl=https://dl.iuscommunity.org/pub/ius/archive/CentOS/6/SRPMS | |
mirrorlist=https://mirrors.iuscommunity.org/mirrorlist?repo=ius-centos6-archive-source&arch=source&protocol=http | |
failovermethod=priority | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY | |
[root@ayoungga-kts-centos64-1 ~]# vi /etc/yum.repos.d/ius-archive.repo | |
[root@ayoungga-kts-centos64-1 ~]# cat /etc/yum.repos.d/ius-archive.repo | |
[ius-archive] | |
name=IUS Community Packages for Enterprise Linux 6 - $basearch - Archive | |
#baseurl=https://dl.iuscommunity.org/pub/ius/archive/CentOS/6/$basearch | |
mirrorlist=https://mirrors.iuscommunity.org/mirrorlist?repo=ius-centos6-archive&arch=$basearch&protocol=http | |
failovermethod=priority | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY | |
[ius-archive-debuginfo] | |
name=IUS Community Packages for Enterprise Linux 6 - $basearch - Archive Debug | |
#baseurl=https://dl.iuscommunity.org/pub/ius/archive/CentOS/6/$basearch/debuginfo | |
mirrorlist=https://mirrors.iuscommunity.org/mirrorlist?repo=ius-centos6-archive-debuginfo&arch=$basearch&protocol=http | |
failovermethod=priority | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY | |
[ius-archive-source] | |
name=IUS Community Packages for Enterprise Linux 6 - $basearch - Archive Source | |
#baseurl=https://dl.iuscommunity.org/pub/ius/archive/CentOS/6/SRPMS | |
mirrorlist=https://mirrors.iuscommunity.org/mirrorlist?repo=ius-centos6-archive-source&arch=source&protocol=http | |
failovermethod=priority | |
enabled=0 | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY | |
[root@ayoungga-kts-centos64-1 ~]# yum install yum-plugin-replace | |
Loaded plugins: security | |
ius | 2.2 kB 00:00 | |
ius/primary_db | 182 kB 00:00 | |
ius-archive | 2.3 kB 00:00 | |
ius-archive/primary_db | 2.1 MB 00:00 | |
Setting up Install Process | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package yum-plugin-replace.noarch 0:0.2.7-1.ius.centos6 will be installed | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
======================================================================================================================================================================= | |
Package Arch Version Repository Size | |
======================================================================================================================================================================= | |
Installing: | |
yum-plugin-replace noarch 0.2.7-1.ius.centos6 ius 17 k | |
Transaction Summary | |
======================================================================================================================================================================= | |
Install 1 Package(s) | |
Total download size: 17 k | |
Installed size: 35 k | |
Is this ok [y/N]: y | |
Downloading Packages: | |
yum-plugin-replace-0.2.7-1.ius.centos6.noarch.rpm | 17 kB 00:00 | |
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 9cd4953f: NOKEY | |
Retrieving key from file:///etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY | |
Importing GPG key 0x9CD4953F: | |
Userid : IUS Community Project <[email protected]> | |
Package: ius-release-1.0-14.ius.centos6.noarch (installed) | |
From : /etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY | |
Is this ok [y/N]: y | |
Running rpm_check_debug | |
Running Transaction Test | |
Transaction Test Succeeded | |
Running Transaction | |
Warning: RPMDB altered outside of yum. | |
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows: | |
yum-3.2.29-40.el6.centos.noarch has missing requires of yum-plugin-fastestmirror | |
Installing : yum-plugin-replace-0.2.7-1.ius.centos6.noarch 1/1 | |
Verifying : yum-plugin-replace-0.2.7-1.ius.centos6.noarch 1/1 | |
Installed: | |
yum-plugin-replace.noarch 0:0.2.7-1.ius.centos6 | |
Complete! | |
[root@ayoungga-kts-centos64-1 ~]# yum replace openssl --replace-with openssl10 | |
Loaded plugins: replace, security | |
Replacing packages takes time, please be patient... | |
WARNING: Unable to resolve all providers: ['config(openssl)'] | |
This may be normal depending on the package. Continue? [y/N] y | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package openssl.x86_64 0:1.0.0-27.el6_4.2 will be erased | |
---> Package openssl10.x86_64 0:1.0.1e-2.ius.centos6 will be installed | |
---> Package openssl10-libs.x86_64 0:1.0.1e-2.ius.centos6 will be installed | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
======================================================================================================================================================================= | |
Package Arch Version Repository Size | |
======================================================================================================================================================================= | |
Installing: | |
openssl10 x86_64 1.0.1e-2.ius.centos6 ius-archive 664 k | |
openssl10-libs x86_64 1.0.1e-2.ius.centos6 ius-archive 772 k | |
Removing: | |
openssl x86_64 1.0.0-27.el6_4.2 @updates/$releasever 3.6 M | |
Transaction Summary | |
======================================================================================================================================================================= | |
Install 2 Package(s) | |
Remove 1 Package(s) | |
Total download size: 1.4 M | |
Is this ok [y/N]: y | |
Downloading Packages: | |
(1/2): openssl10-1.0.1e-2.ius.centos6.x86_64.rpm | 664 kB 00:00 | |
(2/2): openssl10-libs-1.0.1e-2.ius.centos6.x86_64.rpm | 772 kB 00:00 | |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Total 707 kB/s | 1.4 MB 00:02 | |
Running rpm_check_debug | |
Running Transaction Test | |
Transaction Test Succeeded | |
Running Transaction | |
Installing : openssl10-libs-1.0.1e-2.ius.centos6.x86_64 1/3 | |
Installing : openssl10-1.0.1e-2.ius.centos6.x86_64 2/3 | |
Erasing : openssl-1.0.0-27.el6_4.2.x86_64 3/3 | |
Verifying : openssl10-1.0.1e-2.ius.centos6.x86_64 1/3 | |
Verifying : openssl10-libs-1.0.1e-2.ius.centos6.x86_64 2/3 | |
Verifying : openssl-1.0.0-27.el6_4.2.x86_64 3/3 | |
Removed: | |
openssl.x86_64 0:1.0.0-27.el6_4.2 | |
Installed: | |
openssl10.x86_64 0:1.0.1e-2.ius.centos6 openssl10-libs.x86_64 0:1.0.1e-2.ius.centos6 | |
Complete! | |
[root@ayoungga-kts-centos64-1 ~]# yum -y install haveged postgresql93-server | |
Loaded plugins: replace, security | |
Setting up Install Process | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package haveged.x86_64 0:1.9.1-2.el6 will be installed | |
---> Package postgresql93-server.x86_64 0:9.3.9-1PGDG.rhel6 will be installed | |
--> Processing Dependency: postgresql93 = 9.3.9-1PGDG.rhel6 for package: postgresql93-server-9.3.9-1PGDG.rhel6.x86_64 | |
--> Processing Dependency: libpq.so.5()(64bit) for package: postgresql93-server-9.3.9-1PGDG.rhel6.x86_64 | |
--> Running transaction check | |
---> Package postgresql93.x86_64 0:9.3.9-1PGDG.rhel6 will be installed | |
---> Package postgresql93-libs.x86_64 0:9.3.9-1PGDG.rhel6 will be installed | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
======================================================================================================================================================================= | |
Package Arch Version Repository Size | |
======================================================================================================================================================================= | |
Installing: | |
haveged x86_64 1.9.1-2.el6 epel 57 k | |
postgresql93-server x86_64 9.3.9-1PGDG.rhel6 pgdg93 4.1 M | |
Installing for dependencies: | |
postgresql93 x86_64 9.3.9-1PGDG.rhel6 pgdg93 1.0 M | |
postgresql93-libs x86_64 9.3.9-1PGDG.rhel6 pgdg93 192 k | |
Transaction Summary | |
======================================================================================================================================================================= | |
Install 4 Package(s) | |
Total download size: 5.3 M | |
Installed size: 22 M | |
Downloading Packages: | |
(1/4): haveged-1.9.1-2.el6.x86_64.rpm | 57 kB 00:00 | |
(2/4): postgresql93-9.3.9-1PGDG.rhel6.x86_64.rpm | 1.0 MB 00:01 | |
(3/4): postgresql93-libs-9.3.9-1PGDG.rhel6.x86_64.rpm | 192 kB 00:00 | |
(4/4): postgresql93-server-9.3.9-1PGDG.rhel6.x86_64.rpm | 4.1 MB 00:01 | |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Total 1.7 MB/s | 5.3 MB 00:03 | |
Running rpm_check_debug | |
Running Transaction Test | |
Transaction Test Succeeded | |
Running Transaction | |
Installing : postgresql93-libs-9.3.9-1PGDG.rhel6.x86_64 1/4 | |
Installing : postgresql93-9.3.9-1PGDG.rhel6.x86_64 2/4 | |
Installing : postgresql93-server-9.3.9-1PGDG.rhel6.x86_64 3/4 | |
Installing : haveged-1.9.1-2.el6.x86_64 4/4 | |
Verifying : postgresql93-libs-9.3.9-1PGDG.rhel6.x86_64 1/4 | |
Verifying : haveged-1.9.1-2.el6.x86_64 2/4 | |
Verifying : postgresql93-9.3.9-1PGDG.rhel6.x86_64 3/4 | |
Verifying : postgresql93-server-9.3.9-1PGDG.rhel6.x86_64 4/4 | |
Installed: | |
haveged.x86_64 0:1.9.1-2.el6 postgresql93-server.x86_64 0:9.3.9-1PGDG.rhel6 | |
Dependency Installed: | |
postgresql93.x86_64 0:9.3.9-1PGDG.rhel6 postgresql93-libs.x86_64 0:9.3.9-1PGDG.rhel6 | |
Complete! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment