wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && bash install.sh
關防火牆
service ufw stop
Copy 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
Copy yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.sh
Ubuntu/Deepin Installation
Copy wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0.sh && sudo bash install.sh
Debian Installation
Copy wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0.sh && bash install.sh
Fedora Installation
Copy yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.sh
Management
Stop
Start
Restart
Uninstall
Copy service bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panel
View current port of control panel
Copy cat /www/server/panel/data/port.pl
Change port of control panel,e.g. 8881(centos 6 Operation System)
Copy 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 restart
Change port of control panel,e.g. 8881(centos 7 Operation System)
Copy echo '8881' > /www/server/panel/data/port.pl && service bt restart
firewall-cmd --permanent --zone=public --add-port=8881/tcp
firewall-cmd --reload
Force to change MySQL manager (root) Password,e.g. 123456
Copy cd /www/server/panel && python tools.py root 123456
Change control Panel login password,e.g. 123456
Copy cd /www/server/panel && python tools.py panel 123456
Site Configuration location
Copy /www/server/panel/vhost
Delete banding domain of control panel
Copy rm -f /www/server/panel/data/domain.conf
Clean login restriction
Copy rm -f /www/server/panel/data/*.login
View control panel authorization IP
Copy cat /www/server/panel/data/limitip.conf
Stop access restriction
Copy rm -f /www/server/panel/data/limitip.conf
View permission domain
Copy cat /www/server/panel/data/domain.conf
Turn off control panel SSL
Copy rm -f /www/server/panel/data/ssl.pl && /etc/init.d/bt restart
View control panel error logs
View database error log
Copy cat /www/server/data/*.err
Site Configuration directory(nginx)
Copy /www/server/panel/vhost/nginx
Site Configuration directory(apache)
Copy /www/server/panel/vhost/apache
Site default directory
Database backup directory
Site backup directory
Site logs
Nginx
nginx installation directory
Start
Stop
Restart
Copy service nginx restart
Reload
nginx Configuration
Copy /www/server/nginx/conf/nginx.conf
Apache
apache installation directory
Start
Stop
Restart
Copy service httpd restart
Reload
apache Configuration
Copy /www/server/apache/conf/httpd.conf