Home > Database > phpMyAdmin > How to install phpMyAdmin under CentOS6.8

How to install phpMyAdmin under CentOS6.8

藏色散人
Release: 2019-11-26 14:52:14
forward
1932 people have browsed it

The following column phpmyadmin tutorial will introduce to you how to install phpMyAdmin under CentOS6.8. I hope it will be helpful to friends in need!

How to install phpMyAdmin under CentOS6.8

Installation under CentOS6.8phpMyAdmin

My IP address access directory is in /var/ www, so I put phpMyaAdmin in the www directory

Enter the www directory: cd /var/www

Download phpMyAdmin from the official website. There are many versions to choose from. I chose this one. It is phpMyAdmin-4.8.3 version

Start downloading: wget -c https://files.phpmyadmin.net/...

Unzip the compressed package: tar -zxvf phpMyAdmin-4.8.3 -all-languages.tar.gz

Modify the name: mv phpMyAdmin-4.8.3-all-languages.tar.gz phpMyAdmin

Enter phpMyAdmin: cd phpMyAdmin

Copy And repeat the command configuration file: cp config.sample.inc.php config.inc.php

Restart the server (I installed nginx):service nginx restart

Restart MySql:service mysqld restart

Restart PHP:service php-fpm restart

Enter ip/phpMyAdmin: "192.168.71.131/phpMyAdmin" in the browser address bar; (mine is a virtual machine)

The username defaults to root, and the password is the database password

The installation is successful, as shown in the picture above

How to install phpMyAdmin under CentOS6.8

The above is the detailed content of How to install phpMyAdmin under CentOS6.8. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template