Centos7.2 phpadmin Installation Configuration

Source: Internet
Author: User
Tags mysql version

centos7.2
The Phpadmin of lamp
phpMyAdmin is a PHP-based, Web-base schema on the site host MySQL database management tools, so that managers can use the Web interface to manage the MySQL database

: Https://files.phpmyadmin.net/phpMyAdmin/4.0.10.20/phpMyAdmin-4.0.10.20-all-languages.zip
Note: The downloaded version will be compatible with the current PHP version and the MySQL version, or it will not succeed.

~]# yum install httpd PHP php-mysql mariadb-server installation Required Services
~] #systemctl Start httpd startup httpd Service
~] Start MySQL service #systemctl start mariadb
~]# ss-tnl viewing the monitored ports
State recv-q send-q Local address:port Peer address:port
LISTEN 0 : 3306 :
LISTEN 0:
:: £ º:::*

~]# systemctl Stop Firewalld Firewall off
~]# systemctl Disable FIREWALLD permanently shuts down the firewall
~]# Setenforce 0 temporarily close SELinux
~]# sed-i "s/^selinux\=enforcing/selinux\=disabled/g"/etc/selinux/config permanently off SELINUX
~]# Unzip Phpmyadmin-4.7.9-all-languages.zip Decompression phpMyAdmin

~]# cp-a phpmyadmin-4.7.9-all-languages/var/www/html/copied to the specified directory
html]# ln-s phpmyadmin-4.7.9-all-languages PMA Create a soft connection for later upgrades
html]# CD pma/
pma]# cp config.sample.inc.php config.inc.php Copy configuration file

~]# tr-d ' a-z0-9a-z ' </dev/urandom |head-30 |md5sum
7A1E4B41291C0C74E82EF5A5F528DC82-Generate random string
PMA] #vim config.inc.php Edit configuration file
$cfg [' blowfish_secret '] = ' 7a1e4b41291c0c74e82ef5a5f528dc82 '; add random string

Browser Login: 192.168.1.102/PMA
Tip: The mbstring extension is missing.
pma]# Yum Install Php-mbstring-y expansion module

pma]# Systemctl Reload httpd Reload, re-login

Login interface

MariaDB [(none)]> set password for ' root ' @ ' localhost ' =password (' magedu ');
MariaDB [(none)]> set password for ' root ' @ ' 127.0.0.1 ' =password (' magedu ');
MariaDB [(None)]> flush privileges; Reread Authorization Form effective
Enter the user name and password above in the login screen

Centos7.2 phpadmin Installation Configuration

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.