主机优惠
信息分享

海外版宝塔面板(aapanel)安装与命令

宝塔面板国内版本使用是需要强制登录才能正常使用,而海外版(国际版)宝塔面板是不需要的哦。两者的界面是一致的,不过海外版属于全英文,同时相对于国内版本来说更新慢,有需求折腾的可以去尝试一下吧。

1、aaPanel一键安装命令:

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
2、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 current port of control panel(查看控制面板的当前端口)

cat /www/server/panel/data/port.pl

Change port of control panel,e.g. 8881(centos 6 Operation System)(更改控制面板端口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 port of control panel,e.g. 8881(centos 7 Operation System)(更改控制面板端口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 to change MySQL manager (root) Password,e.g. 123456(强制修改MySQL管理(root)密码)

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 banding 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(查看面板授权IP)

cat /www/server/panel/data/limitip.conf

Stop access restriction(关闭访问限制)

rm -f /www/server/panel/data/limitip.conf

View permission domain(查看许可域名)

cat /www/server/panel/data/domain.conf

Turn off control panel SSL(关闭面板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

Site Configuration directory(nginx)(站点配置文件目录(nginx))

/www/server/panel/vhost/nginx

Site Configuration directory(apache)(站点配置文件目录(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

Start

service nginx start

Stop

service nginx stop

Restart

service nginx restart

Reload

service nginx reload

nginx Configuration

/www/server/nginx/conf/nginx.conf

Apache

apache installation directory

/www/server/httpd

Start

service httpd start

Stop

service httpd stop

Restart

service httpd restart

Reload

service 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

Start

service mysqld start

Stop

service mysqld stop

Restart

service mysqld restart

Reload

service mysqld reload

mysql Configuration

/etc/my.cnf

FTP

ftp installation directory

/www/server/pure-ftpd

Start

service pure-ftpd start

Stop

service pure-ftpd stop

Restart

service 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

Start

service redis start

Stop

service redis stop

redis Configuration

/www/server/redis/redis.conf

Memcached

memcached installation directory

/usr/local/memcached

Start

service memcached start

Stop

service memcached stop

Restart

service memcached restart

Reload

service memcached reload
赞(0)
欢迎转载:VPS推荐网 » 海外版宝塔面板(aapanel)安装与命令