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

How to install phpMyAdmin in LEMP

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly explains "how to install phpMyAdmin in LEMP". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to install phpMyAdmin in LEMP.

After you have finished installing LEMP on a virtual private server, you can begin to install phpMyAdmin.

Install phpMyAdmin

Start with the apt-get download program.

Sudo apt-get install phpmyadmin

During installation, phpmyadmin will ask you if you want to use the dbconfig configuration database. Go on, the choice is.

Enter the database password for MySQL when prompted, and then click OK.

When phpmyadmin prompts you to select a server (apache or lighttpd) hit tab, and select one.

Configure phpMyAdmin

You have now installed phpMyAdmin on the server. In order to access it, you need one more step.

Create a symbolic link between phpMyAdmin and the directory on your site. If you used the previous tutorial, it may still be in the nginx default directory, otherwise link to the appropriate place:

Sudo ln-s / usr/share/phpmyadmin/ / usr/share/nginx/www

Restart nginx:

Sudo service nginx restart

You should now be able to access phpMyAdmin by accessing yourdomain / phpmyadmin. The screen looks like this.

Log in with your MySQL username and password.

Thank you for reading, the above is the content of "how to install phpMyAdmin in LEMP". After the study of this article, I believe you have a deeper understanding of how to install phpMyAdmin in LEMP, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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

Development

Wechat

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

12
Report