In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Xiaobian to share with you how to set up phpmyadmin on linux, I believe most people still do not know how, so share this article for everyone's reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!
How to set phpmyadmin on linux: first download and upload the server, unzip it and put it in the web directory; then rename the phpmyadmin directory and default to the [$cfg ['blowfish_secret'] configuration item; then set the ip address; finally save and exit.
How to set phpmyadmin on linux:
First visit the homepage of phpmyadmin official website, the website is http://www.phpmyadmin.net/, after entering, there is a download button, do not download first, because the download is a zip package for windows, click the Download link in the navigation bar, enter the download interface, download the latest version 4.5.5.1 here, select the version shown in the figure to download:
Download it and upload it to the server, then execute the following command to extract it:
tar -xvzf phpMyAdmin-4.5.5.1-all-languages.tar.gz
After decompression is completed, we put it in a directory that can be accessed by the web for subsequent management, such as/home/wwwroot.
mv phpMyAdmin-4.5.5.1-all-languages /home/wwwroot/
Then execute cd /home/wwwroot/and rename the phpmyadmin directory so that no one can guess the entry, such as:
mv phpMyAdmin-4.5.5.1-all-languages phpmyAdmina4689f
Then execute cd phpmyAdmina 4689f to enter the installation directory. The latest version of phpmyadmin supports quick configuration without executing installation scripts. The official quick installation Chinese document: docs.phpmyadmin.net/zh_CN/latest/setup.html#quick-install
At this time, you can see that there is a configuration file in the directory: config.sample.inc.php
Make a copy of this document:
cp config.sample.inc.php config.inc.php
Then edit:
vim config.inc.php
Find $cfg ['blowfish_secret'] configuration item, the default is empty, here we can set a complex string, used to encrypt the use:
Then $cfg <$'Servers'][$i]<$'auth_type'] defaults to cookie, indicating that we need to log in every time, we do not need to modify it, so it is safer, then $cfg <$'Servers'][$i]<$'host'] = '127.0.0.1'; Here it is recommended to set it to IP address, then whether it is local or remote as long as mysql authorization is no problem, default localhost may appear #2002 - Permission denied - The server is not responding such error, be sure to note, it is recommended to use IP address
If local debugging, then here to set to config, and then fill in the user name and password here, each time automatically entered, debugging is more convenient
The overall is to set the login authentication type and IP address above, a total of two items, set the completion of saving and exit, and then access our phpmyadmin directory address through the web, such as www.xxxx.com, then this time we need to visit: http://www.xxxx.com/phpmyAdmina4689f, note that Linux servers are strictly case-sensitive, this time to see the login interface, phpmyadmin is configured
The above is "linux phpmyadmin set method" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to 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
[oracle@up ~] $sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Tue Nov 10 19:26:05 201
© 2024 shulou.com SLNews company. All rights reserved.