phpMyAdmin Logo |
The package phpMyAdmin is not included in CentOS defualt base, extras and updates repositories. To install it "EPEL (Extra Packages for Enterprise Linux)" Repo should be added.
To do it just open shell as root and run the following command.
"yum install http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm"
Alternatively you can install from 64bit repo which make no difference since epel package is noarch type.
"yum install http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm"
[root@demo ~]# yum install http://download.fedoraproject.org/pub/epel/6/i386/epel
-release-6-8.noarch.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.learn.ac.lk
* extras: mirror.learn.ac.lk
* updates: mirror.learn.ac.lk
Setting up Install Process
epel-release-6-8.noarch.rpm | 14 kB 00:00
Examining /var/tmp/yum-root-xB7DyM/epel-release-6-8.noarch.rpm: epel-release-6-8
.noarch
Marking /var/tmp/yum-root-xB7DyM/epel-release-6-8.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:6-8 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
epel-release noarch 6-8 /epel-release-6-8.noarch 22 k
Transaction Summary
================================================================================
Install 1 Package(s)
Total size: 22 k
Installed size: 22 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : epel-release-6-8.noarch 1/1
Verifying : epel-release-6-8.noarch 1/1
Installed:
epel-release.noarch 0:6-8
Complete!
[root@demo ~]#
Now use yum to install phpMyAdmin as
"yum install phpmyadmin"
[root@demo ~]# yum install phpmyadmin Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile epel/metalink | 6.1 kB 00:00 * base: mirror.learn.ac.lk * epel: epel.mirror.net.in * extras: mirror.learn.ac.lk * updates: mirror.learn.ac.lk epel | 4.2 kB 00:00 epel/primary_db | 4.8 MB 00:17 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package phpMyAdmin.noarch 0:3.5.8.2-1.el6 will be installed --> Processing Dependency: php-mysql >= 5.2.0 for package: phpMyAdmin-3.5.8.2-1.el6.noarch --> Processing Dependency: php-mcrypt >= 5.2.0 for package: phpMyAdmin-3.5.8.2-1.el6.noarch --> Processing Dependency: php-mbstring >= 5.2.0 for package: phpMyAdmin-3.5.8.2-1.el6.noarch --> Processing Dependency: php-gd >= 5.2.0 for package: phpMyAdmin-3.5.8.2-1.el6.noarch --> Processing Dependency: php >= 5.2.0 for package: phpMyAdmin-3.5.8.2-1.el6.noarch --> Processing Dependency: php-php-gettext for package: phpMyAdmin-3.5.8.2-1.el6.noarch --> Processing Dependency: httpd for package: phpMyAdmin-3.5.8.2-1.el6.noarch --> Running transaction check ---> Package httpd.i686 0:2.2.15-29.el6.centos will be installed --> Processing Dependency: httpd-tools = 2.2.15-29.el6.centos for package: httpd-2.2.15-29.el6.centos.i686 --> Processing Dependency: libaprutil-1.so.0 for package: httpd-2.2.15-29.el6.centos.i686 --> Processing Dependency: libapr-1.so.0 for package: httpd-2.2.15-29.el6.centos.i686 --> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-29.el6.centos.i686 --> Processing Dependency: /etc/mime.types for package: httpd-2.2.15-29.el6.centos.i686 ---> Package php.i686 0:5.3.3-23.el6_4 will be installed --> Processing Dependency: php-common(x86-32) = 5.3.3-23.el6_4 for package: php-5.3.3-23.el6_4.i686 --> Processing Dependency: php-cli(x86-32) = 5.3.3-23.el6_4 for package: php-5.3.3-23.el6_4.i686 ---> Package php-gd.i686 0:5.3.3-23.el6_4 will be installed --> Processing Dependency: libpng12.so.0(PNG12_0) for package: php-gd-5.3.3-23.el6_4.i686 --> Processing Dependency: libpng12.so.0 for package: php-gd-5.3.3-23.el6_4.i686 --> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2) for package: php-gd-5.3.3-23.el6_4.i686 --> Processing Dependency: libjpeg.so.62 for package: php-gd-5.3.3-23.el6_4.i686 --> Processing Dependency: libfreetype.so.6 for package: php-gd-5.3.3-23.el6_4.i686 --> Processing Dependency: libXpm.so.4 for package: php-gd-5.3.3-23.el6_4.i686 --> Processing Dependency: libX11.so.6 for package: php-gd-5.3.3-23.el6_4.i686 ---> Package php-mbstring.i686 0:5.3.3-23.el6_4 will be installed ---> Package php-mcrypt.i686 0:5.3.3-1.el6 will be installed --> Processing Dependency: libmcrypt.so.4 for package: php-mcrypt-5.3.3-1.el6.i686 ---> Package php-mysql.i686 0:5.3.3-23.el6_4 will be installed --> Processing Dependency: php-pdo(x86-32) for package: php-mysql-5.3.3-23.el6_4.i686 ---> Package php-php-gettext.noarch 0:1.0.11-3.el6 will be installed --> Running transaction check ---> Package apr.i686 0:1.3.9-5.el6_2 will be installed ---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package apr-util-ldap.i686 0:1.3.9-3.el6_0.1 will be installed ---> Package freetype.i686 0:2.3.11-14.el6_3.1 will be installed ---> Package httpd-tools.i686 0:2.2.15-29.el6.centos will be installed ---> Package libX11.i686 0:1.5.0-4.el6 will be installed --> Processing Dependency: libX11-common = 1.5.0-4.el6 for package: libX11-1.5.0-4.el6.i686 --> Processing Dependency: libxcb.so.1 for package: libX11-1.5.0-4.el6.i686 ---> Package libXpm.i686 0:3.5.10-2.el6 will be installed ---> Package libjpeg-turbo.i686 0:1.2.1-1.el6 will be installed ---> Package libmcrypt.i686 0:2.5.8-9.el6 will be installed ---> Package libpng.i686 2:1.2.49-1.el6_2 will be installed ---> Package mailcap.noarch 0:2.1.31-2.el6 will be installed ---> Package php-cli.i686 0:5.3.3-23.el6_4 will be installed ---> Package php-common.i686 0:5.3.3-23.el6_4 will be installed ---> Package php-pdo.i686 0:5.3.3-23.el6_4 will be installed --> Running transaction check ---> Package libX11-common.noarch 0:1.5.0-4.el6 will be installed ---> Package libxcb.i686 0:1.8.1-1.el6 will be installed --> Processing Dependency: libXau.so.6 for package: libxcb-1.8.1-1.el6.i686 --> Running transaction check ---> Package libXau.i686 0:1.0.6-4.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: phpMyAdmin noarch 3.5.8.2-1.el6 epel 4.3 M Installing for dependencies: apr i686 1.3.9-5.el6_2 base 129 k apr-util i686 1.3.9-3.el6_0.1 base 89 k apr-util-ldap i686 1.3.9-3.el6_0.1 base 15 k freetype i686 2.3.11-14.el6_3.1 updates 363 k httpd i686 2.2.15-29.el6.centos updates 828 k httpd-tools i686 2.2.15-29.el6.centos updates 73 k libX11 i686 1.5.0-4.el6 base 590 k libX11-common noarch 1.5.0-4.el6 base 192 k libXau i686 1.0.6-4.el6 base 24 k libXpm i686 3.5.10-2.el6 base 50 k libjpeg-turbo i686 1.2.1-1.el6 base 176 k libmcrypt i686 2.5.8-9.el6 epel 94 k libpng i686 2:1.2.49-1.el6_2 base 184 k libxcb i686 1.8.1-1.el6 base 114 k mailcap noarch 2.1.31-2.el6 base 27 k php i686 5.3.3-23.el6_4 updates 1.1 M php-cli i686 5.3.3-23.el6_4 updates 2.2 M php-common i686 5.3.3-23.el6_4 updates 525 k php-gd i686 5.3.3-23.el6_4 updates 104 k php-mbstring i686 5.3.3-23.el6_4 updates 454 k php-mcrypt i686 5.3.3-1.el6 epel 18 k php-mysql i686 5.3.3-23.el6_4 updates 78 k php-pdo i686 5.3.3-23.el6_4 updates 74 k php-php-gettext noarch 1.0.11-3.el6 epel 21 k Transaction Summary ================================================================================ Install 25 Package(s) Total download size: 12 M Installed size: 42 M Is this ok [y/N]: y Downloading Packages: (1/25): apr-1.3.9-5.el6_2.i686.rpm | 129 kB 00:00 (2/25): apr-util-1.3.9-3.el6_0.1.i686.rpm | 89 kB 00:00 (3/25): apr-util-ldap-1.3.9-3.el6_0.1.i686.rpm | 15 kB 00:00 (4/25): freetype-2.3.11-14.el6_3.1.i686.rpm | 363 kB 00:01 (5/25): httpd-2.2.15-29.el6.centos.i686.rpm | 828 kB 00:02 (6/25): httpd-tools-2.2.15-29.el6.centos.i686.rpm | 73 kB 00:00 (7/25): libX11-1.5.0-4.el6.i686.rpm | 590 kB 00:01 (8/25): libX11-common-1.5.0-4.el6.noarch.rpm | 192 kB 00:00 (9/25): libXau-1.0.6-4.el6.i686.rpm | 24 kB 00:00 (10/25): libXpm-3.5.10-2.el6.i686.rpm | 50 kB 00:00 (11/25): libjpeg-turbo-1.2.1-1.el6.i686.rpm | 176 kB 00:00 (12/25): libmcrypt-2.5.8-9.el6.i686.rpm | 94 kB 00:00 (13/25): libpng-1.2.49-1.el6_2.i686.rpm | 184 kB 00:00 (14/25): libxcb-1.8.1-1.el6.i686.rpm | 114 kB 00:00 (15/25): mailcap-2.1.31-2.el6.noarch.rpm | 27 kB 00:00 (16/25): php-5.3.3-23.el6_4.i686.rpm | 1.1 MB 00:01 (17/25): php-cli-5.3.3-23.el6_4.i686.rpm | 2.2 MB 00:03 (18/25): php-common-5.3.3-23.el6_4.i686.rpm | 525 kB 00:01 (19/25): php-gd-5.3.3-23.el6_4.i686.rpm | 104 kB 00:00 (20/25): php-mbstring-5.3.3-23.el6_4.i686.rpm | 454 kB 00:01 (21/25): php-mcrypt-5.3.3-1.el6.i686.rpm | 18 kB 00:00 (22/25): php-mysql-5.3.3-23.el6_4.i686.rpm | 78 kB 00:00 (23/25): php-pdo-5.3.3-23.el6_4.i686.rpm | 74 kB 00:00 (24/25): php-php-gettext-1.0.11-3.el6.noarch.rpm | 21 kB 00:00 (25/25): phpMyAdmin-3.5.8.2-1.el6.noarch.rpm | 4.3 MB 01:11 -------------------------------------------------------------------------------- Total 121 kB/s | 12 MB 01:39 warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 Importing GPG key 0x0608B895: Userid : EPEL (6)Enjoy phpMyAdmin.Package: epel-release-6-8.noarch (@/epel-release-6-8.noarch) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 Is this ok [y/N]: y Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : mailcap-2.1.31-2.el6.noarch 1/25 Installing : libX11-common-1.5.0-4.el6.noarch 2/25 Installing : php-common-5.3.3-23.el6_4.i686 3/25 Installing : apr-1.3.9-5.el6_2.i686 4/25 Installing : apr-util-1.3.9-3.el6_0.1.i686 5/25 Installing : php-mbstring-5.3.3-23.el6_4.i686 6/25 Installing : php-php-gettext-1.0.11-3.el6.noarch 7/25 Installing : apr-util-ldap-1.3.9-3.el6_0.1.i686 8/25 Installing : httpd-tools-2.2.15-29.el6.centos.i686 9/25 Installing : httpd-2.2.15-29.el6.centos.i686 10/25 Installing : php-cli-5.3.3-23.el6_4.i686 11/25 Installing : php-5.3.3-23.el6_4.i686 12/25 Installing : php-pdo-5.3.3-23.el6_4.i686 13/25 Installing : php-mysql-5.3.3-23.el6_4.i686 14/25 Installing : libmcrypt-2.5.8-9.el6.i686 15/25 Installing : php-mcrypt-5.3.3-1.el6.i686 16/25 Installing : libjpeg-turbo-1.2.1-1.el6.i686 17/25 Installing : 2:libpng-1.2.49-1.el6_2.i686 18/25 Installing : freetype-2.3.11-14.el6_3.1.i686 19/25 Installing : libXau-1.0.6-4.el6.i686 20/25 Installing : libxcb-1.8.1-1.el6.i686 21/25 Installing : libX11-1.5.0-4.el6.i686 22/25 Installing : libXpm-3.5.10-2.el6.i686 23/25 Installing : php-gd-5.3.3-23.el6_4.i686 24/25 Installing : phpMyAdmin-3.5.8.2-1.el6.noarch 25/25 Verifying : apr-util-1.3.9-3.el6_0.1.i686 1/25 Verifying : libxcb-1.8.1-1.el6.i686 2/25 Verifying : phpMyAdmin-3.5.8.2-1.el6.noarch 3/25 Verifying : apr-util-ldap-1.3.9-3.el6_0.1.i686 4/25 Verifying : php-cli-5.3.3-23.el6_4.i686 5/25 Verifying : libXau-1.0.6-4.el6.i686 6/25 Verifying : php-pdo-5.3.3-23.el6_4.i686 7/25 Verifying : php-5.3.3-23.el6_4.i686 8/25 Verifying : php-mcrypt-5.3.3-1.el6.i686 9/25 Verifying : php-mbstring-5.3.3-23.el6_4.i686 10/25 Verifying : httpd-2.2.15-29.el6.centos.i686 11/25 Verifying : libX11-1.5.0-4.el6.i686 12/25 Verifying : php-php-gettext-1.0.11-3.el6.noarch 13/25 Verifying : freetype-2.3.11-14.el6_3.1.i686 14/25 Verifying : httpd-tools-2.2.15-29.el6.centos.i686 15/25 Verifying : libX11-common-1.5.0-4.el6.noarch 16/25 Verifying : 2:libpng-1.2.49-1.el6_2.i686 17/25 Verifying : mailcap-2.1.31-2.el6.noarch 18/25 Verifying : apr-1.3.9-5.el6_2.i686 19/25 Verifying : php-mysql-5.3.3-23.el6_4.i686 20/25 Verifying : php-common-5.3.3-23.el6_4.i686 21/25 Verifying : libjpeg-turbo-1.2.1-1.el6.i686 22/25 Verifying : php-gd-5.3.3-23.el6_4.i686 23/25 Verifying : libXpm-3.5.10-2.el6.i686 24/25 Verifying : libmcrypt-2.5.8-9.el6.i686 25/25 Installed: phpMyAdmin.noarch 0:3.5.8.2-1.el6 Dependency Installed: apr.i686 0:1.3.9-5.el6_2 apr-util.i686 0:1.3.9-3.el6_0.1 apr-util-ldap.i686 0:1.3.9-3.el6_0.1 freetype.i686 0:2.3.11-14.el6_3.1 httpd.i686 0:2.2.15-29.el6.centos httpd-tools.i686 0:2.2.15-29.el6.centos libX11.i686 0:1.5.0-4.el6 libX11-common.noarch 0:1.5.0-4.el6 libXau.i686 0:1.0.6-4.el6 libXpm.i686 0:3.5.10-2.el6 libjpeg-turbo.i686 0:1.2.1-1.el6 libmcrypt.i686 0:2.5.8-9.el6 libpng.i686 2:1.2.49-1.el6_2 libxcb.i686 0:1.8.1-1.el6 mailcap.noarch 0:2.1.31-2.el6 php.i686 0:5.3.3-23.el6_4 php-cli.i686 0:5.3.3-23.el6_4 php-common.i686 0:5.3.3-23.el6_4 php-gd.i686 0:5.3.3-23.el6_4 php-mbstring.i686 0:5.3.3-23.el6_4 php-mcrypt.i686 0:5.3.3-1.el6 php-mysql.i686 0:5.3.3-23.el6_4 php-pdo.i686 0:5.3.3-23.el6_4 php-php-gettext.noarch 0:1.0.11-3.el6 Complete! [root@demo ~]#
No comments:
Post a Comment