如何在服务器中安装宝塔面板
更新时间:2020-09-17
1.安装宝塔最新版本
命令行执行:
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh 输入“y”回车执行(默认安装路径www路径)
安装结束后会显示登录的面板地址与账户密码:
内网面板地址: http://xxxx:8888/xxxxx
username: xxx
password: xxx
2.环境安装
根据提示的的面板地址登录宝塔面板:
第一次进入点击同意用户协议进入面板后根据弹出的窗口安装nginx环境
![](http://static.westarcloud.com/5b024344a624630ae775119a/images/f659c761ecle07e1cf011x79d421d4a7.png)
3.打开api接口
进入面板设置,点击API接口会弹出配置面板API;
提供接口密匙给需要的开发者;
根据需要设置IP白名单,IP为 129.204.142.43(必须设置默认为拒绝)。
![](http://static.westarcloud.com/5b024344a624630ae775119a/images/c6f5d7f44ck8dc4014611p6d87909f5a.png)
![](http://static.westarcloud.com/5b024344a624630ae775119a/images/ce197ace08i8247073f27g399c974874.png)
![](http://static.westarcloud.com/5b024344a624630ae775119a/images/3a403a8aefoef1f9a60fdue7fd7855df.png)