In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces in detail "how to build phpMyAdmin in Linux". The content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to build phpMyAdmin in Linux" can help you solve your doubts.
RHEL/CentOS: (take CentOS7.6 as an example below)
Let's fix some prerequisites first.
Shutting down selinux and restarting the system takes effect.
# sed-I "s/SELINUX=enforcing/SELINUX=disabled/g" / etc/selinux/config & & shutdown-r now
Then we install the php extension that phpMyAdmin needs
# yum install php73-php-mysqlnd.x86_64 php73-php-mbstring.x86_64-y # chown-R nginx:nginx / var/opt/remi/php73/lib/php/
Restart php
# systemctl restart php73-php-fpm.service
Download the phpMyAdmin source code
# wget https://files.phpmyadmin.net/phpMyAdmin/4.9.0.1/phpMyAdmin-4.9.0.1-all-languages.zip
Install zip and extract the downloaded source code
# yum install zip unzip-y & & unzip phpMyAdmin-4.9.0.1-all-languages.zip
Move the phpMyAdmin source code to the web page directory and set the permission to nginx
# mv phpMyAdmin-4.9.0.1-all-languages / usr/share/nginx/html/phpMyAdmin & & chown-R nginx:nginx / usr/share/nginx/html/phpMyAdmin
Configure the phrase password for phpMyAdmin
# sed-I "108sCompact" randomly generate 32 passwords by yourself / g "/ usr/share/nginx/html/phpMyAdmin/libraries/config.default.php
Example:
# sed-I "108 s/''/'M4HUkD8rwVPo919e36Rp5zItiPqprByh'/g" / usr/share/nginx/html/phpMyAdmin/libraries/config.default.php
We open the web page and log in to phpMyAdmin, create the phpmyadmin database, look at the gif dynamic diagram below, and log in to → to find the reason for → creation.
Http://IP address / phpMyAdmin/index.php
Debian/Ubuntu: (take Debian10 as an example below)
Let's fix some prerequisites first.
Install the php extensions required by phpMyAdmin
# apt install php7.3-mysql php7.3-mbstring-y
Download the phpMyAdmin source code
# wget https://files.phpmyadmin.net/phpMyAdmin/4.9.0.1/phpMyAdmin-4.9.0.1-all-languages.zip install zip and extract the downloaded source code # apt install zip unzip-y & & unzip phpMyAdmin-4.9.0.1-all-languages.zip
Move the phpMyAdmin source code to the web page directory and set the permission to nginx
# mv phpMyAdmin-4.9.0.1-all-languages / usr/share/nginx/html/phpMyAdmin & & chown-R nginx:nginx / usr/share/nginx/html/phpMyAdmin
Configure the phrase password for phpMyAdmin
# sed-I "108sCompact" randomly generate 32 passwords by yourself / g "/ usr/share/nginx/html/phpMyAdmin/libraries/config.default.php
Example:
# sed-I "108 s/''/'M4HUkD8rwVPo919e36Rp5zItiPqprByh'/g" / usr/share/nginx/html/phpMyAdmin/libraries/config.default.php
We open the web page and log in to phpMyAdmin, create the phpmyadmin database, look at the gif dynamic diagram below, and log in to → to find the reason for → creation.
Http://IP address / phpMyAdmin/index.php
After reading this, the article "how to build Linux phpMyAdmin" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself. If you want to know more about related articles, welcome to follow the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.