پیشنهاد میشه از سیستم عامل اوبنتو22 استفاده کنید و قبل از اجرای دستور نصب از tmux استفاده کنید تا در صورت قطعی دسترسی شما یا مشکل اینترنت در روند نصب مشکلی ایجاد نگردد .
پس از نصب و اپدیت سیستم عامل دستور زیر رو وارد کنید
URL=https://www.aapanel.com/script/install_7.0_en.sh && if [ -f /usr/bin/curl ];then curl -ksSO "$URL" ;else wget --no-check-certificate -O install_7.0_en.sh "$URL";fi;bash install_7.0_en.sh aapanel
برای مدیریت قسمت های مختلف می توانید از دستورات ذیل استفاده کنید
Management
Tools box
# bt
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/wwwlogs
Nginx
nginx installation directory
/www/server/nginxStart
service nginx startStop
service nginx stopRestart
service nginx restartReload
service nginx reloadnginx Configuration
/www/server/nginx/conf/nginx.conf
Apache
apache installation directory
/www/server/httpdStart
service httpd startStop
service httpd stopRestart
service httpd restartReload
service httpd reloadapache Configuration
/www/server/apache/conf/httpd.conf
MySQL
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.cnf
FTP
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-ftpd
PHP
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.ini
Redis
redis installation directory
/www/server/redisStart
service redis startStop
service redis stopredis Configuration
/www/server/redis/redis.conf
Memcached
memcached installation directory
/usr/local/memcachedStart
service memcached startStop
service memcached stopRestart
service memcached restartReload
service memcached reload