Install aaPanel for free

cyberpanel

New member
Feb 22, 2023
10
0
1
indonesia
cyberpanel.my.id
Centos
yum install -y wget && wget -O install.sh && bash install.sh aapanel
Copy
Ubuntu/Deepin
wget -O install.sh && sudo bash install.sh aapanel
Copy
Debian
wget -O install.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

Management​

Stopservice bt stop
Startservice bt start
Restartservice bt restart
Uninstallservice bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panel
View current port of control panelcat /www/server/panel/data/port.pl
Change 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 restart
Change 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 --reload
Force to change MySQL manager (root) Password,e.g. 123456cd /www/server/panel && python tools.py root 123456
Change control Panel login password,e.g. 123456cd /www/server/panel && python tools.py panel 123456
Site Configuration location/www/server/panel/vhost
Delete banding domain of control panelrm -f /www/server/panel/data/domain.conf
Clean login restrictionrm -f /www/server/panel/data/*.login
View control panel authorization IPcat /www/server/panel/data/limitip.conf
Stop access restrictionrm -f /www/server/panel/data/limitip.conf
View permission domaincat /www/server/panel/data/domain.conf
Turn off control panel SSLrm -f /www/server/panel/data/ssl.pl && /etc/init.d/bt restart
View control panel error logscat /tmp/panelBoot
View database error logcat /www/server/data/*.err
Site Configuration directory(nginx)/www/server/panel/vhost/nginx
Site Configuration 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 logs/www/wwwlogs

Nginx​

nginx installation directory/www/server/nginx
Startservice nginx start
Stopservice nginx stop
Restartservice nginx restart
Reloadservice nginx reload
nginx Configuration/www/server/nginx/conf/nginx.conf

Apache​

apache installation directory/www/server/httpd
Startservice httpd start
Stopservice httpd stop
Restartservice httpd restart
Reloadservice httpd reload
apache Configuration/www/server/apache/conf/httpd.conf

MySQL​

mysql installation directory/www/server/mysql
phpmyadmin installation directory/www/server/phpmyadmin
Data storage directory/www/server/data mysql
Startservice mysqld start
Stopservice mysqld stop
Restartservice mysqld restart
Reloadservice mysqld reload
mysql Configuration/etc/my.cnf

FTP​

ftp installation directory/www/server/pure-ftpd
Startservice pure-ftpd start
Stopservice pure-ftpd stop
Restartservice pure-ftpd restart
ftp Configuration/www/server/pure-ftpd/etc/pure-ftpd

PHP​

php installation directory/www/server/php
Start(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} start
Stop(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} stop
Restart(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} restart
Reload(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} reload
Configuration(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.ini

Redis​

redis installation directory/www/server/redis
Startservice redis start
Stopservice redis stop
redis Configuration/www/server/redis/redis.conf

Memcached​

memcached installation directory/usr/local/memcached
Startservice memcached start
Stopservice memcached stop
Restartservice memcached restart
Reloadservice memcached reload