Install phpmyadmin in CentOS6.x

Source: Internet
Author: User
PhpMyAdmin is a Web interface that allows you to manage your MySQL database. So how can I install phpMyAdmin in CentOS6.0? This article introduces the installation process, hoping to help you. First, we make phpMyAdmin, the RPMForge software library of our CentOS system, not the official CentOS6.0 Library. import the GPG Key of rpmforge: rpm-importhttp ://

PhpMyAdmin is a Web interface that allows you to manage your MySQL database. So how can I install phpMyAdmin in CentOS 6.0? This article introduces the installation process, hoping to help you.

First, let's import the GPG Key of RPMForge from the official CentOS 6.0 Library phpMyAdmin:

Rpm-import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

X86_64 system installation command:

Yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

I386 system installation command:

Yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm

You can install phpMyAdmin as follows:

Yum install phpmyadmin

Now, we configure phpMyAdmin. Change Apache configuration to connect phpMyAdmin, not just from localhost (comment out allow ):

Vi/etc/httpd/conf. d/phpmyadmin. conf

#

# Web application to manage MySQL

#

#

# Order Deny, Allow

# Deny from all

# Allow from 127.0.0.1

#

Alias/phpmyadmin/usr/share/phpmyadmin

Alias/phpMyAdmin/usr/share/phpmyadmin

Alias/mysqladmin/usr/share/phpmyadmin

Next, we change the authentication cookie in phpMyAdmin, HTTP:

Vi/usr/share/phpmyadmin/config. inc. php [...]

/* Authentication type */

$ Cfg ['servers'] [$ I] ['auth _ type'] = 'http ';

[...]

Restart Apache:

/Etc/init. d/httpd restart

Then, you can access phpMyAdmin http: // 192.168.0.100/phpmyadmin/to manage the database.

We will introduce this article here, and hope this introduction will help you.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.