Install and use phpMyAdmin. Set up phpMyAdmin on CentOS and centosphpmyadmin in CentOS

Source: Internet
Author: User

Install and use phpMyAdmin. Set up phpMyAdmin on CentOS and centosphpmyadmin in CentOS

Required components: apachephpmysqlphpmyadminapache0.yum install httpd1. confirm the version $ httpd-v2. start apache $ sudo service httpd start (http://xxx.xxx.xxx.xxx shows apache info) 3. set optional $ sudo chkconfig httpd on $ sudo chkconfig -- listhttpd 0: off 1: off 2: on 3: on 4: on 5: on 6: offphp0.yum install php-devel php-mbstring php-mysql php-gd1. confirm version $ php-v2. set php. ini $ sudo cd/etc $ sudo cp php. ini php. ini. old $ sudo vim php. ini (optional) post_max_size = 8Mupload_max_filesize = 2 M bytes post_max_size = 128Mupload_max_filesize = 128MMysql0. yum-y install mysql-server1. confirm the version of $ mysql -- version2. Mysql to start $ sudo service mysqld start or $ sudo/etc/rc. d/init. d/mysqld start3. set the password $ sudo mysql_secure_installation4. set automatic start $ sudo chkconfig mysqld onphpmyadmin0.installation $ sudo yum install phpmyadmin1. configure phpMyAdmin. conf $ cd/etc/httpd/conf. d $ sudo cp phpMyAdmin. conf phpMyAdmin. conf. old $ sudo vim phpMyAdmin. conf Allow from 127.0.0.1 (near line 25) Allow from: 1 lower # Allow from 127.0.0.1 # Allow from: 1 Allow from All $ sudo service httpd restarthttp: // xxx. xxx. xxx. xxx/phpmyadmin

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.