GigsGigsCloud 教程 GigsGigsCloud 教程

  • GigsGigsCloud.com
  • GigsGigs.com
Home / 网站构建教程 / BT.cn/宝塔Linux面板的安装脚本+教程

BT.cn/宝塔Linux面板的安装脚本+教程

19787 views 1 min , 16 sec read 2

BTLinux面版(支持CentOS、Ubuntu、Debian、Fedora),Web端管理,QQ群及论坛技术支持,可以一键创建网站、FTP、数据库、SSL;安全管理,计划任务,文件管理,PHP多版本共存及切换;自带LNMP与LAMP

安装教程

Centos安装脚本:

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh

Ubuntu安装脚本:

wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.sh

Debian安装脚本:

wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh

Fedora安装脚本:

wget -O install.sh http://download.bt.cn/install/install.sh && bash install.sh

使用SSH软件连接您的LinuxVPS后对号入座选择合适的系统脚本执行即可,全部一键安装完成,耗时1-10Min

提示如下的时候输入y之后就等待安装完毕

Do you want to try to mount the data disk to the /home directory?(y/n): y

安装完成会提示以下语句我们只需要访问 http://IP:8888 输入账号密码即可进入面板

==================================================================
Congratulations! Install succeeded!
==================================================================
Bt-Panel: http://IP:8888
username: admin
password: eb02e460
Warning:
If you cannot access the panel,
release the following port (8888|888|80|443|20|21) in the security group
==================================================================
Time consumed: 1 Minute!

而且要记得放行这些必备端口release the following port (8888|888|80|443|20|21) in the security group(gigsgigscloud从不限制端口)

之后选择环境安装 推荐使用LNMP 如果没特殊需求请勿修改 选项直接点击一键安装即可!(并不是版本越高越稳定哦~)

安装要求

  • Python版本: 2.6/2.7(安装宝塔时会自动安装)
  • 内存:128M以上,推荐512M以上(纯面板约占系统10M内存)
  • 硬盘:100M以上可用硬盘空间(纯面板约占20M磁盘空间)
  • 系统:CentOS 6.x / 7.x (Ubuntu、Debian、Fedora 请点这里),确保是干净的系统,没有安装过其它环境带的Apache/Nginx/php/MySQL

面板包含软件

  • Nginx-Tengine-2.2.0
  • Nginx1.8 – 1.10
  • Apache2.4.20
  • PHP5.2 – 7.1(安装时可选,支持多版本共存,除php7.0,php7.1都已包含zendloader)
  • MySQL5.5 – 5.7(安装时可选)
  • Pure-Ftpd
  • phpMyadmin
  • OpenResty
  • WEB在线面板

面板特色功能

  • 一键配置服务器环境(LANP/LNMP)
  • 一键安全重启
  • 一键创建管理网站、ftp、数据库
  • 一键配置(定期备份、数据导入、伪静态、301、SSL、子目录、反向代理、切换PHP版本)
  • 一键安装常用PHP扩展(fileinfo、intl、opcache、imap、memcache、apc、redis、ioncube、imagick)
  • 数据库一键导入导出
  • 系统监控(CPU、内存、磁盘IO、网络IO)
  • 防火墙端口放行
  • SSH开启与关闭及SSH端口更改
  • 禁PING开启或关闭
  • 方便高效的文件管理器(上传、下载、压缩、解压、查看、编辑等等)
  • 计划任务(定期备份、日志切割、shell脚本)
  • 软件管理(一键安装、卸载、版本切换)

面板截图

一安装成功就提示安装环境 推荐使用LNMP

这个类似Amh有个软件管理功能可以下载软件配置

本人认为最牛逼的功能一键配置网站功能

更多截图请去BT官方论坛查看(遇到问题也可以请求他们帮助):https://www.bt.cn/bbs/thread-1186-1-1.html

面板管理常用命令

#停止
service bt stop
#启动
service bt start
#重启
service bt restart
#卸载面板
service 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 && service bt restart
iptables -I INPUT -p tcp -m state –state NEW -m tcp –dport 8881 -j ACCEPT
service iptables save
service iptables restart
#命令行修改面板端口,如要改成8881(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
#强制修改MySQL管理(root)密码,如要改成123456
cd /www/server/panel && python tools.pyc root 123456
#命令行修改面板密码,如要改成123456
cd /www/server/panel && python tools.pyc panel 123456
#站点配置文件位置
/www/server/panel/vhost
#删除面板域名绑定
rm -f /www/server/panel/data/domain.conf
#清理登陆限制
rm -f /www/server/panel/data/*.login
#第三方应用服务名称
nginx: nginx
apache: httpd
pure-ftpd: pure-ftpd
php5.2: php-fpm-52
php5.3: php-fpm-53
php5.4: php-fpm-54
以此类推

#php.ini位置,如php5.4的
/www/server/php/54/etc/php.ini
#my.cnf位置
/etc/my.cnf

宝塔教程面板 网站构建教程

About MONSTER

View all posts by MONSTER →

Related Articles

  • #教程#Directadmin 速度/稳定/性能/安全优化教程大全
  • DirectAdmin/Linux面板的安装脚本+教程
  • VDVEST定制版/Linux面板的安装脚本+教程(vDDoS Proxy+Fail2ban+File Manager)
  • Kangle/Linux面板的安装脚本+教程
COPYRIGHT © GIGSGIGSCLOUD.COM GIGSGIGS.COM. 本站教程仅供参考,本站不提供任何技术支持, 也不负责任何有可能引起的问题,如遇问题请借助搜索引擎。