宝塔面板是目前最为常用的可视化建站环境工具,简单易用兼容性强。受总多站长的青睐,也许还有很多站长一直使用的是服务商的虚拟主机空间,没用过云服务器和宝塔面板。不知道怎么安装使用,看完下面的教程你就会了。
安装步骤
- 连接云服务器
- 执行一键安装脚本
- 完成
教程内容
连接云服务器教程可以在本站内搜索【连接服务器】就能够找到相关完整教程
Centos一键安装脚本:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484bec
Ubuntu/Deepin安装脚本:
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh ed8484bec
Debian安装脚本:
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh ed8484bec
万能安装脚本:
if [ -f /usr/bin/curl ];then curl -sSO https://download.bt.cn/install/install_panel.sh;else wget -O install_panel.sh https://download.bt.cn/install/install_panel.sh;fi;bash install_panel.sh ed8484bec
连接上云服务器之后粘贴一键安装脚本并执行,安装过程中会询问你是否继续,这里输入Y并回车进行继续安装(如下图)
安装完成后服务器就会返回宝塔的控制面板地址和账号密码(如下方所示)
外网面板地址: http://154.22.115.61:8888/79713f00 << 这是宝塔的面板地址
内网面板地址: http://10.0.54.20:8888/79713f00 << 这是宝塔的内网面板地址
username: ypn4ydwe << 这是账号
password: 6f7bd473 << 这是密码
If you cannot access the panel,
release the following panel port [8888] in the security group
若无法访问面板,请检查防火墙/安全组是否有放行面板[8888]端口