Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Steps to configure phpmyadmin in LANMP environment

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

This article shares with you the steps to configure phpmyadmin in a LANMP environment. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look. Name version package name Centos7.4CentOS Linux release 7.4.1708 (Core) mariadb5.5.64mariadb-5.5.64-1.el7.x86_64php5.4.16php-5.4.16-46.1.el7_7.x86_64httpd2.4.6httpd-2.4.6-90.el7.centos.x86_64phpMyAdmin4.0.10.20phpMyAdmin-4.0.10.20-all-languages

1. Install the software:

(1) install LANMP yum-y install httpd mariadb-server php (2) install the extension package yum install-y php-mysql for the php linked database (3) install the package yum install php-mcrypt-y that supports multiple encryption extensions

Configuration of 2.phpadmin

(1) decompress the file tar xvf phpMyAdmin-4.0.10.20-all-languages.tar.xz-C / var/www/html/ (2) copy the simple configuration file config.sample.inc.php of phpmyadmin Create the soft link ln-sv / var/www/html/phpMyAdmin-4.0.10.20-all-languages/ / var/www/html/pma as the default configuration file cp-a / var/www/html/phpMyAdmin-4.0.10.20-all-languages/config.sample.inc.php / var/www/html/phpMyAdmin-4.0.10.20-all-languages/config.inc.php (3)

3. Configuration of database mariadb

(1) start the database service systemctl start mariadb.service (2) set the root account password mysqladmin-u root password 'admin'

4. Start the web service

Systemctl start httpd

5. Test:

(1) enter http://172.20.10.5/pma/ in the browser

(2) Log in to root account:

After reading this article, have you learned how to configure phpmyadmin in LANMP environment? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel. Thank you for reading.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report