Organize and summarize the commonly used command line scripts of Pagoda Panel (solve common problems of ��������������)

888u

Last update at :2024-06-13,Edit by888u

Currently, if our netizens choose Linux or Windows servers to build websites, they may still use Pagoda panels when building WEB environments. Server-side snails see that Pagoda panels are used more often, whether it is WIN or Linux systems. It is true that the user experience is relatively good in terms of ease of use, and basically the free version is sufficient. For local client debugging, we use PHPSTUDY (Xiaopi) more.

Although it is a visual WEB environment tool, most of our operations are in the visual WEB environment. But sometimes after problems occur, we still need to use some script operations. For example, information such as resetting the panel password, restarting BT management operation and MYSQL database, etc. can be found and solved by running the script.

In this article, we look at the command scripts that may be used in the Pagoda Panel.

Snail also forgets which version to start from. The Pagoda panel has this small tool built into it. We can directly enter the bt command to call it out. We can restart the panel, reset the database password, etc. according to the prompts.

Of course, if we need to operate through scripts ourselves, I will also compile some commonly used scripts here.

1. It is forbidden to restrict IP login

rm -f /www/server/panel/data/limitip.conf

Some of our netizens set up only our IP login panel, but sometimes we change to the IP after resetting the router, so we can't log in. We can use this script to unblock it.

2. View the current panel port

cat /www/server/panel/data/port.pl

We can see the ports of our current panel.

3. Change the MYSQL administrator password

cd /www/server/panel && python tools.pyc root laozuo.org

Here we can reset the ROOT administrator database password. The one I set here is laozuo.org. We can change it to another one ourselves.

4. Delete the domain name binding panel

rm -f /www/server/panel/data/domain.conf

Lift the domain name binding panel login restrictions.

5. Restart Nginx

/etc/init.d/nginx restart

I often use this to check the status of Nginx and then troubleshoot problems.

Here, if we need it, we can search for it. There are still a lot of documents for this panel.

Recommended site search: anti-complaint vps host, telecom ip agent, foreign space rental, Taiwan server rental, US website space, Korean website domain name, cloud server vps, independent ip, US unlimited content host, Beijing host rental, < /p>

Organize and summarize the commonly used command line scripts of Pagoda Panel (solve common problems of ��������������)

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码