Install aaPanel for free
Simple,not just Simple
Free and Open source Hosting Control Panel
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
Ubuntu/Deepin
wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && sudo bash install.sh aapanel
Debian
wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && bash install.sh aapanel
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
Management
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.confMySQL
mysql 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
ftp 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
php 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
redis installation directory
/www/server/redisStart
service redis startStop
service redis stopredis Configuration
/www/server/redis/redis.confMemcached
memcached installation directory
/usr/local/memcachedStart
service memcached startStop
service memcached stopRestart
service memcached restartReload
service memcached reload
评论区