宝塔Linux面板是提升运维效率的服务器管理软件,支持一键LAMP/LNMP/集群/监控/网站/FTP/数据库/JAVA等100多项服务器管理功能。
内存:512M以上,推荐768M以上(纯面板约占系统60M内存)
硬盘:300M以上可用硬盘空间(纯面板约占20M磁盘空间)
系统:推荐CentOS 7.1+ (Ubuntu16.04+.、Debian9.0+),确保是干净的操作系统,没有安装过其它环境带的Apache/Nginx/php/MySQL/pgsql/gitlab/java(已有环境不可安装)
系统兼容:Centos7.x > Debian10 > Ubuntu 20.04 > Cenots 8 stream > Ubuntu 18.04 > 其它系统
架构:x86_64(主流服务器均是此架构),ARM不完整兼容(面板环境安装慢,部分软件可能安装不上)
wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh-u或--user (面板用户名) -p或--password (面板密码)-P或--port (面板端口)--safe-path (安全路径)-y (无需确认自动安装)
curl -sSO https://download.bt.cn/install/install_panel.sh;bash install_panel.sh -u baotawww -p baotawww -P 8877 --safe-path baotawww -yyum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.shcurl -sSO http://download.bt.cn/install/install_panel.sh && bash install_panel.shwget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.shwget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.shwget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.shcurl https://download.bt.cn/install/update_panel.sh|bashwget -O update6.sh http://download.bt.cn/install/update6.sh && sed -i 's/LinuxPanel-${version}/LinuxPanel-7.9.8/g' update6.sh && sh update6.shrm -rf /www/server/panel/pyenv && curl https://download.bt.cn/install/update_panel.sh|bashwget -O install_panel.sh https://download.bt.cn/install/0/loongarch64/loongarch64_install_panel.sh && bash install_panel.sh
]]>/etc/init.d/bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panelwget http://download.bt.cn/install/bt-uninstall.sh && bash bt-uninstall.shrm -rf /www/server/panel/pyenv && curl https://download.bt.cn/install/update-lts.sh|bashrm -rf /www/server/panel/pyenv && curl https://download.bt.cn/install/update_panel.sh|bashcurl -sSO -k https://download.bt.cn/tools/w_check.py && btpython w_check.py && rm -rf w_check.pybtbt 1bt 2bt 3bt 4bt 5bt 6bt 7bt 8bt 9bt 10bt 12bt 13bt 14bt 15bt 16bt 17bt 18bt 22bt 23bt 24bt 25rm -rf /www/server/panel/plugin/static_cdn/ && bt restartecho "True" >/www/server/panel/data/not_network.plrm -rf /www/server/panel/data/not_network.pl && bt restart
]]>/usr/local/memcached/etc/init.d/memcached start/etc/init.d/memcached stop/etc/init.d/memcached restart/etc/init.d/memcached reload
]]>/www/server/redis/etc/init.d/redis start/etc/init.d/redis stop/www/server/redis/redis.conf
]]>/www/server/pure-ftpd/etc/init.d/pure-ftpd start/etc/init.d/pure-ftpd stop/etc/init.d/pure-ftpd restart/www/server/pure-ftpd/etc/pure-ftpd.conf
]]>/www/server/php/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} start/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} stop/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} restart/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} reload/www/server/php/{52|53|54|55|56|70|71|72|73|74}/etc/php.ini
]]>/www/server/httpd/etc/init.d/httpd start/etc/init.d/httpd stop/etc/init.d/httpd restart/etc/init.d/httpd reload/www/server/apache/conf/httpd.conf
]]>/www/server/mysql/www/server/phpmyadmin/www/server/data/etc/init.d/mysqld start/etc/init.d/mysqld stop/etc/init.d/mysqld restart/etc/init.d/mysqld reload/etc/my.cnf
]]>/www/server/nginx/etc/init.d/nginx start/etc/init.d/nginx stop/etc/init.d/nginx restart/etc/init.d/nginx reload/www/server/nginx/conf/nginx.conf
]]>/etc/init.d/bt stop/etc/init.d/bt start/etc/init.d/bt restartcat /www/server/panel/data/port.plecho '8881' > /www/server/panel/data/port.pl && /etc/init.d/bt restart
iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 8881 -j ACCEPT
service iptables save
service iptables restartecho '8881' > /www/server/panel/data/port.pl && /etc/init.d/bt restart
firewall-cmd --permanent --zone=public --add-port=8881/tcp
firewall-cmd --reloadcd /www/server/panel && python tools.py root 123456cd /www/server/panel && python tools.py panel 123456cd /www/server/panel && python tools.py usernamecat /tmp/panelBoot.plcat /tmp/panelExec.log/www/server/panel/vhostrm -f /www/server/panel/data/domain.confrm -f /www/server/panel/data/*.logincat /www/server/panel/data/limitip.confrm -f /www/server/panel/data/limitip.confcat /www/server/panel/data/domain.confrm -f /www/server/panel/data/ssl.pl && /etc/init.d/bt restartcat /tmp/panelBootcat /www/server/data/*.err/www/server/panel/vhost/nginx/www/server/panel/vhost/apache/www/wwwroot/www/backup/database/www/backup/site/www/wwwlogs
]]>