背景: 之前用过宝塔linux面板,就是纯界面操作,有个朋友想玩玩,那就分享一下子。 支持一键LAMP/LNMP/集群/监控/网站/FTP/数据库/JAVA等100多项服务器管理功能。
整个免费版的玩玩还是不错的 宝塔linux面板,一键建站,在线管理网站、数据库、FTP、远程安全,能够帮助你轻松管理服务器一切事务。 linux面板,一键LAMP,一键LNMP,一键SSL,Linux服务器环境部署管理。 宝塔linux面板,一键安装LAMP/LNMP/SSL/Tomcat。
https://www./download/linux.html
下方链接是linux宝塔官网 yum install -y wget && wget -O install.sh http://download./install/install.sh && sh install.sh wget -O install.sh http://download./install/install-ubuntu.sh && sudo bash install.sh wget -O install.sh http://download./install/install-ubuntu.sh && bash install.sh wget -O install.sh http://download./install/install.sh && bash install.sh /etc/init.d/bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panel cat /www/server/panel/data/port.pl 修改面板端口,如要改成8881(centos 6 系统) echo '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 修改面板端口,如要改成8881(centos 7 系统) echo '8881' > /www/server/panel/data/port.pl && /etc/init.d/bt restart firewall-cmd --permanent --zone=public --add-port=8881/tcp 强制修改MySQL管理(root)密码,如要改成123456 cd /www/server/panel && python tools.py root 123456 cd /www/server/panel && python tools.py panel 123456 rm -f /www/server/panel/data/domain.conf rm -f /www/server/panel/data/*.login cat /www/server/panel/data/limitip.conf rm -f /www/server/panel/data/limitip.conf cat /www/server/panel/data/domain.conf rm -f /www/server/panel/data/ssl.pl && /etc/init.d/bt restart cat /www/server/data/*.err /www/server/panel/vhost/nginx /www/server/panel/vhost/apache /etc/init.d/nginx restart /www/server/nginx/conf/nginx.conf /etc/init.d/httpd restart /www/server/apache/conf/httpd.conf /etc/init.d/mysqld restart /etc/init.d/mysqld reload /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 启动(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 start) /etc/init.d/php-fpm-{52|53|54|55|56|70|71} start 停止(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 stop) /etc/init.d/php-fpm-{52|53|54|55|56|70|71} stop 重启(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 restart) /etc/init.d/php-fpm-{52|53|54|55|56|70|71} restart 启载(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 reload) /etc/init.d/php-fpm-{52|53|54|55|56|70|71} reload 配置文件(请根据安装PHP版本号做更改,例如:/www/server/php/52/etc/php.ini) /www/server/php/{52|53|54|55|56|70|71}/etc/php.ini /www/server/redis/redis.conf /etc/init.d/memcached start /etc/init.d/memcached stop /etc/init.d/memcached restart /etc/init.d/memcached reload
|