What should I do if I forget my password for Pagoda? Reset my password for Pagoda. Complete tutorial for installing Pagoda.

888u

Last update at :2024-04-02,Edit by888u

Quick installation code:

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh b32e3755

How to retrieve password:

How to retrieve the forgotten password of Pagoda Control Panel? There are two situations when you forget your password. One is that the Pagoda Panel has just been installed, you accidentally turned off the ssh tool, and then forgot the initial username and password; or we have changed the username and password in the background, but forgot .

Users who have newly installed the panel

If you have just installed the panel but have not written down the initial user name and password of the system, you can enter ssh and enter the following command:

bt default

In this way, you can see the initial user name and password, and just enter them in the login panel.

To view all commands in the Pagoda Toolbox: enter the ssh interface (the interface after xshell connects to the server) and enter:

bt

Management Pagoda

Pagoda Toolbox (includes most of the following functions. Execute bt command directly in ssh. Only version 6.x or above panel)

bt

Stop

/etc/init.d/bt stop

Start

/etc/init.d/bt start

Restart

/etc/init.d/bt restart

Uninstall

/etc/init.d/bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panel

View current panel port

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

Modify the panel port, if you want to change it to 8881 (centos 6 system)

echo '8881' > /www/server/panel/data/port.pl && /etc/init.d/bt restart
iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 8881 -j ACCEPT
service iptables save
service iptables restart

Modify the panel port, if you want to change it to 8881 (centos 7 system)

echo '8881' > /www/server/panel/data/port.pl && /etc/init.d/bt restart
firewall-cmd --permanent --zone=public --add-port=8881/tcp
firewall-cmd --reload

Forcibly change the MySQL management (root) password, if you want to change it to 123456

cd /www/server/panel && python tools.py root 123456

Change the panel password, if you want to change it to 123456

cd /www/server/panel && python tools.py panel 123456

View Pagoda Log

cat /tmp/panelBoot.pl

View software installation logs

cat /tmp/panelExec.log

Site configuration file location

/www/server/panel/vhost

Delete domain name binding panel

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

Clear login restrictions

rm -f /www/server/panel/data/*.login

View panel authorized IP

cat /www/server/panel/data/limitip.conf

Turn off access restrictions

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

View licensed domain names

cat /www/server/panel/data/domain.conf

Close panel SSL

rm -f /www/server/panel/data/ssl.pl && /etc/init.d/bt restart

View panel error log

cat /tmp/panelBoot

View database error log

cat /www/server/data/*.err

Site configuration file directory (nginx)

/www/server/panel/vhost/nginx

Site configuration file directory (apache)

/www/server/panel/vhost/apache

Site default directory

/www/wwwroot

Database backup directory

/www/backup/database

Site backup directory

/www/backup/site

Site log

/www/wwwlogs

Nginx service management

nginx installation directory

/www/server/nginx

Start

/etc/init.d/nginx start

Stop

/etc/init.d/nginx stop

Restart

/etc/init.d/nginx restart

Launch

/etc/init.d/nginx reload

nginx configuration file

/www/server/nginx/conf/nginx.conf

Apache service management

apache installation directory

/www/server/httpd

Start

/etc/init.d/httpd start

Stop

/etc/init.d/httpd stop

Restart

/etc/init.d/httpd restart

Launch

/etc/init.d/httpd reload

apache configuration file

/www/server/apache/conf/httpd.conf

MySQL service management

mysql installation directory

/www/server/mysql

phpmyadmin installation directory

/www/server/phpmyadmin

Data storage directory

/www/server/data

Start

/etc/init.d/mysqld start

Stop

/etc/init.d/mysqld stop

Restart

/etc/init.d/mysqld restart

Launch

/etc/init.d/mysqld reload

mysql configuration file

/etc/my.cnf

FTP service management

ftp installation directory

/www/server/pure-ftpd

Start

/etc/init.d/pure-ftpd start

Stop

/etc/init.d/pure-ftpd stop

Restart

/etc/init.d/pure-ftpd restart

ftp configuration file

/www/server/pure-ftpd/etc/pure-ftpd.conf

PHP service management

php installation directory

/www/server/php

Start (please make changes according to the installed PHP version number, for example: /etc/init.d/php-fpm-54 start)

/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} start

Stop (please make changes according to the installed PHP version number, for example: /etc/init.d/php-fpm-54 stop)

/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} stop

Restart (please make changes according to the installed PHP version number, for example: /etc/init.d/php-fpm-54 restart)

/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} restart

Reload (please make changes according to the installed PHP version number, for example: /etc/init.d/php-fpm-54 reload)

/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} reload

Configuration file (please make changes according to the installed PHP version number, for example: /www/server/php/52/etc/php.ini)

/www/server/php/{52|53|54|55|56|70|71|72|73|74}/etc/php.ini

Redis service management

redis installation directory

/www/server/redis

Start

/etc/init.d/redis start

Stop

/etc/init.d/redis stop

redis configuration file

/www/server/redis/redis.conf

Memcached service management

memcached installation directory

/usr/local/memcached

Start

/etc/init.d/memcached start

Stop

/etc/init.d/memcached stop

Restart

/etc/init.d/memcached restart

Launch

/etc/init.d/memcached reload

Recommended site search: registration-free jsp space, icp registration center, Hong Kong ip proxy, server, telecommunications server, free mainland China space, icp registration center, all-purpose virtual host, asp.net space, free domain name,

What should I do if I forget my password for Pagoda? Reset my password for Pagoda. Complete tutorial for installing Pagoda.

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