工具 aaPanel
wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && bash install.sh
關防火牆
service ufw stop
service bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panel==================================================================
Congratulations! Install succeeded!
aaPanel: http://IP:8888/9ddd079e username: xxxxx password: xxxxxx Warning: If you cannot access the panel,
release the following port (8888|888|80|443|20|21) in the security group
Installation
Centos Installation
yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.shUbuntu/Deepin Installation
wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0.sh && sudo bash install.shDebian Installation
wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0.sh && bash install.shFedora Installation
yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.shManagement
Stop
service bt stopStart
service bt startRestart
service bt restartUninstall
service bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panelView current port of control panel
cat /www/server/panel/data/port.plChange port of control panel,e.g. 8881(centos 6 Operation System)
echo '8881' > /www/server/panel/data/port.pl && service bt restart
iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 8881 -j ACCEPT
service iptables save
service iptables restartChange port of control panel,e.g. 8881(centos 7 Operation System)
echo '8881' > /www/server/panel/data/port.pl && service bt restart
firewall-cmd --permanent --zone=public --add-port=8881/tcp
firewall-cmd --reloadForce to change MySQL manager (root) Password,e.g. 123456
cd /www/server/panel && python tools.py root 123456Change control Panel login password,e.g. 123456
cd /www/server/panel && python tools.py panel 123456Site Configuration location
/www/server/panel/vhostDelete banding domain of control panel
rm -f /www/server/panel/data/domain.confClean login restriction
rm -f /www/server/panel/data/*.loginView control panel authorization IP
cat /www/server/panel/data/limitip.confStop access restriction
rm -f /www/server/panel/data/limitip.confView permission domain
cat /www/server/panel/data/domain.confTurn off control panel SSL
rm -f /www/server/panel/data/ssl.pl && /etc/init.d/bt restartView control panel error logs
cat /tmp/panelBootView database error log
cat /www/server/data/*.errSite Configuration directory(nginx)
/www/server/panel/vhost/nginxSite Configuration directory(apache)
/www/server/panel/vhost/apacheSite default directory
/www/wwwrootDatabase backup directory
/www/backup/databaseSite backup directory
/www/backup/siteSite logs
/www/wwwlogsNginx
nginx installation directory
/www/server/nginxStart
service nginx startStop
service nginx stopRestart
service nginx restartReload
service nginx reloadnginx Configuration
/www/server/nginx/conf/nginx.confApache
apache installation directory
/www/server/httpdStart
service httpd startStop
service httpd stopRestart
service httpd restartReload
service httpd reloadapache Configuration
/www/server/apache/conf/httpd.confLast updated
Was this helpful?