什么是aaPanel? aaPanel是一个简单但功能强大的控制面板,可以通过基于Web的GUI(图形用户界面)来管理Web服务器。aaPanel提供一键式功能,如一键安装LNMP / LAMP开发环境和软件。我们的主要目标是帮助用户节省部署时间,因此用户只关注自己的项目。 aaPanel网站:http://www.aapanel.com./new/download.html#install
aaPanel installation script
View detailed installation tutorials
Centos
yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.sh aapanel
Copy
Ubuntu/Deepin
wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && sudo bash install.sh aapanel
Copy
Debian
wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && bash install.sh aapanel
Copy
Notice: Ensure that it is a clean operating system, there is no other environment with Apache/Nginx/php/MySQL installed (the existing environment can not be installed)
It is recommended to use Chrome, Firefox, and edge browsers to access the panel login address
aaPanel Management script
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 installation directory
/www/server/nginxStart
service nginx startStop
service nginx stopRestart
service nginx restartReload
service nginx reloadnginx Configuration
/www/server/nginx/conf/nginx.confapache installation directory
/www/server/httpdStart
service httpd startStop
service httpd stopRestart
service httpd restartReload
service httpd reloadapache Configuration
/www/server/apache/conf/httpd.confmysql installation directory
/www/server/mysqlphpmyadmin installation directory
/www/server/phpmyadminData storage directory
/www/server/data mysqlStart
service mysqld startStop
service mysqld stopRestart
service mysqld restartReload
service mysqld reloadmysql Configuration
/etc/my.cnfftp installation directory
/www/server/pure-ftpdStart
service pure-ftpd startStop
service pure-ftpd stopRestart
service pure-ftpd restartftp Configuration
/www/server/pure-ftpd/etc/pure-ftpdphp installation directory
/www/server/phpStart(Please modify by PHP version, e.g. service php-fpm-54 start)
servicephp-fpm-{52|53|54|55|56|70|71|72|73|74|80|81} startStop(Please modify by PHP version, e.g. service php-fpm-54 stop)
service php-fpm-{52|53|54|55|56|70|71|72|73|74|80|81} stopRestart(Please modify by PHP version, e.g. service php-fpm-54 restart)
service php-fpm-{52|53|54|55|56|70|71|72|73|74|80|81} restartReload(Please modify by PHP version, e.g. service php-fpm-54 reload)
service php-fpm-{52|53|54|55|56|70|71|72|73|74|80|81} reloadConfiguration(Please modify by PHP version, e.g. /www/server/php/52/etc/php.ini)
/www/server/php/{52|53|54|55|56|70|71|72|73|74|80|81}/etc/php.iniredis installation directory
/www/server/redisStart
service redis startStop
service redis stopredis Configuration
/www/server/redis/redis.confmemcached installation directory
/usr/local/memcachedStart
service memcached startStop
service memcached stopRestart
service memcached restartReload
service memcached reload