{"id":2160,"date":"2012-05-11T23:06:29","date_gmt":"2012-05-11T15:06:29","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=2160"},"modified":"2023-04-28T09:49:19","modified_gmt":"2023-04-28T09:49:19","slug":"how-to-install-phpmyadmin-on-centos-6-2-using-epel-repository","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-phpmyadmin-on-centos-6-2-using-epel-repository\/","title":{"rendered":"How to Install phpMyAdmin on CentOS 6.2 using EPEL Repository"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignleft size-full wp-image-1893 lazyload\" title=\"phpmyadmin\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/02\/phpmyadmin.jpg\" alt=\"phpmyadmin\" width=\"267\" height=\"189\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 267px; --smush-placeholder-aspect-ratio: 267\/189;\" \/><\/p>\n<h3>PhpMyAdmin<\/h3>\n<p>phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web. It can manage a whole MySQL server (needs a super-user) as well as a single database. phpMyAdmin supports a wide range of operations with MySQL. The most frequently used operations are supported by the user interface (managing databases, tables, fields, relations, indexes, users, permissions, etc), while you still have the ability to directly execute any SQL statement. In this post, i will show on how to install phpMyAdmin on CentOS 6.2 using EPEL repository. This post assumed that MySQL and Apache Httpd server has been installed and configured as per documented guidelines below :<br \/>\n<a href=\"https:\/\/webhostinggeeks.com\/howto\/how-to-install-httpd-on-centos-6-2\/\">How to Install Httpd on CentOS 6.2<\/a><br \/>\n<a href=\"https:\/\/webhostinggeeks.com\/howto\/how-to-install-mysql-database-server-on-centos-6-2\/\" rel=\"nofollow\">How to Install MySQL Database Server on CentOS 6.2<\/a><br \/>\n<a href=\"https:\/\/webhostinggeeks.com\/howto\/how-to-secure-mysql-database-server\/\" rel=\"nofollow\">How to Secure MySQL Database Server<\/a><\/p>\n<p>1. <a href=\"https:\/\/webhostinggeeks.com\/howto\/how-to-install-and-configure-epel-repository-on-centos-6-2\/\" rel=\"nofollow\">How to Install and Configure EPEL Repository<\/a> :<br \/>\nFollow this steps to install and configure the Extra Packages for Enterprise Linux (EPEL) repository on CentOS 6.2. EPEL repository is another extra repository that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL) and CentOS server.<\/p>\n<p>2. Simply run yum command to install phpmyadmin :<\/p>\n<pre>[root@centos62 ~]# yum install phpmyadmin -y\nLoaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirrors.hostemo.com\n * epel: ftp.riken.jp\n * extras: mirrors.hostemo.com\n * updates: ossm.utm.my\nSetting up Install Process\nResolving Dependencies\n--&gt; Running transaction check\n---&gt; Package phpMyAdmin.noarch 0:3.4.9-1.el6 will be installed\n--&gt; Processing Dependency: php-gd &gt;= 5.2.0 for package: phpMyAdmin-3.4.9-1.el6.noarch\n--&gt; Processing Dependency: php-php-gettext for package: phpMyAdmin-3.4.9-1.el6.noarch\n--&gt; Running transaction check\n---&gt; Package php-gd.i686 0:5.3.3-3.el6_2.6 will be installed\n---&gt; Package php-php-gettext.noarch 0:1.0.11-3.el6 will be installed\n--&gt; Finished Dependency Resolution\n\nDependencies Resolved\n\n====================================================================================================\n Package                    Arch              Version                      Repository          Size\n====================================================================================================\nInstalling:\n phpMyAdmin                 noarch            3.4.9-1.el6                  epel               4.1 M\nInstalling for dependencies:\n php-gd                     i686              5.3.3-3.el6_2.6              updates            102 k\n php-php-gettext            noarch            1.0.11-3.el6                 epel                21 k\n\nTransaction Summary\n====================================================================================================\nInstall       3 Package(s)\n\nTotal download size: 4.2 M\nInstalled size: 15 M\nDownloading Packages:\n(1\/3): php-gd-5.3.3-3.el6_2.6.i686.rpm                                       | 102 kB     00:00\n(2\/3): php-php-gettext-1.0.11-3.el6.noarch.rpm                               |  21 kB     00:00\n(3\/3): phpMyAdmin-3.4.9-1.el6.noarch.rpm                                     | 4.1 MB     00:46\n----------------------------------------------------------------------------------------------------\nTotal                                                                89 kB\/s | 4.2 MB     00:48\nRunning rpm_check_debug\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n  Installing : php-php-gettext-1.0.11-3.el6.noarch                                              1\/3\n  Installing : php-gd-5.3.3-3.el6_2.6.i686                                                      2\/3\n  Installing : phpMyAdmin-3.4.9-1.el6.noarch                                                    3\/3\n\nInstalled:\n  phpMyAdmin.noarch 0:3.4.9-1.el6\n\nDependency Installed:\n  php-gd.i686 0:5.3.3-3.el6_2.6                php-php-gettext.noarch 0:1.0.11-3.el6\n\nComplete!<\/pre>\n<p>3. Open the phpMyAdmin.conf configuration file as below :<\/p>\n<pre>[root@centos62 ~]# vi \/etc\/httpd\/conf.d\/phpMyAdmin.conf<\/pre>\n<p>Original phpMyAdmin.conf configuration file :<\/p>\n<pre>&lt;Directory \/usr\/share\/phpMyAdmin\/&gt;\nOrder Deny,Allow\nDeny from All\nAllow from 127.0.0.1\nAllow from ::1\n&lt;\/Directory&gt;<\/pre>\n<p>Change as below. Default setting only allows only localhost. Changes below will allow access to any ip address but very dangerous unless properly secured by SSL :<\/p>\n<pre>&lt;Directory \/usr\/share\/phpMyAdmin\/&gt;\nOrder Deny,Allow\nDeny from All\nAllow from All\nAllow from ::1\n&lt;\/Directory&gt;<\/pre>\n<p>4. Restart apache httpd service to take effect :<\/p>\n<pre>[root@centos62 ~]# service httpd restart\nStopping httpd:                                            [  OK  ]\nStarting httpd:                                            [  OK  ]<\/pre>\n<p>5. Open PhpMyAdmin from myour browser using the following URL :<\/p>\n<p><strong>http:\/\/ipaddress\/phpmyadmin\/<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PhpMyAdmin phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web. It can manage a whole MySQL server (needs&#8230;<\/p>\n","protected":false},"author":6,"featured_media":1893,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2055,1008,1027],"tags":[1244,1253,1473,1536,1585,1658],"class_list":["post-2160","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-mysql","category-phpmyadmin-linux","tag-centos","tag-centos-6-2","tag-httpd","tag-linux","tag-mysql","tag-phpmyadmin"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/2160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=2160"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/2160\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/1893"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=2160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=2160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=2160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}