The Ultimate Guide to aaPanel on Systron.net Hosting Print

  • aaPanel, managment, FTP, Mail, Cache
  • 234

aaPanel Management Guide

This guide provides a comprehensive overview of managing various aaPanel services and configurations.

Important Note:

  • Some commands may differ slightly depending on your operating system (CentOS 6 vs. CentOS 7).
  • Be cautious when running commands, especially those involving stopping or restarting services.

aaPanel Management

  • Stop: service bt stop
  • Start: service bt start
  • Restart: service bt restart
  • Uninstall:
      service bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panel
    
  • View Control Panel Port:
      cat /www/server/panel/data/port.pl
    
  • Change Control Panel Port (e.g., 8881 on CentOS 6):
      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 Control Panel Port (e.g., 8881 on CentOS 7):
      echo '8881' > /www/server/panel/data/port.pl && service bt restart firewall-cmd --permanent --zone=public --add-port=8881/tcp firewall-cmd --reload
    
  • Force Change MySQL Root Password (e.g., 123456):
      cd /www/server/panel && python tools.py root 123456
    
  • Change Control Panel Login Password (e.g., 123456):
      cd /www/server/panel && python tools.py panel 123456
    
  • Site Configuration Location: /www/server/panel/vhost
  • Delete Banded Domain of Control Panel: rm -f /www/server/panel/data/domain.conf
  • Clean Login Restriction: rm -f /www/server/panel/data/*.login
  • View Control Panel Authorization IP: cat /www/server/panel/data/limitip.conf
  • Stop Access Restriction: rm -f /www/server/panel/data/limitip.conf
  • View Permitted Domain: cat /www/server/panel/data/domain.conf
  • Turn Off Control Panel SSL: rm -f /www/server/panel/data/ssl.pl && /etc/init.d/bt restart
  • View Control Panel Error Logs: cat /tmp/panelBoot
  • View Database Error Log: cat /www/server/data/*.err

File Locations:

  • Site Configuration (nginx): /www/server/panel/vhost/nginx
  • Site Configuration (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

Specific Service Management

Nginx

  • Installation Directory: /www/server/nginx
  • Start: service nginx start
  • Stop: service nginx stop
  • Restart: service nginx restart
  • Reload: service nginx reload
  • Configuration: /www/server/nginx/conf/nginx.conf

Apache

  • Installation Directory: /www/server/httpd
  • Start: service httpd start
  • Stop: service httpd stop
  • Restart: service httpd restart
  • Reload: service httpd reload
  • Configuration: /www/server/apache/conf/httpd.conf

MySQL

  • Installation Directory: /www/server/mysql
  • phpMyAdmin Installation Directory: /www/server/phpmyadmin
  • Data Storage Directory: /www/server/data/mysql
  • Start: service mysqld start
  • Stop: service mysqld stop
  • Restart: service mysqld restart
  • Reload: service mysqld reload
  • Configuration: `/etc

Was this answer helpful?

« Back