centos7.x下美国主机安装宝塔面板教程
一、前往宝塔官网https://www.bt.cn/new/download.html
下载“宝塔SSH终端”解压并安装。
二、打开终端,输入购买的vps美国云主机的IP地址以及登录密码,保存并连接。
三、执行宝塔安装代码https://www.bt.cn/bbs/thread-19376-1-1.html
以上节点无法使用的情况下,请使用下面的备用节点:备用节点【香港】:(香港主机不推荐)
- yum install -y wget && wget -O install.sh http://103.179.243.14:5880/install/install_6.0.sh && sh install.sh
备用节点【美国】:(宝塔推荐使用价格厚道,高性能的欧路云服务器安装)
- yum install -y wget && wget -O install.sh http://128.1.164.196:5880/install/install_6.0.sh && sh install.sh
复制上面的美国节点的安装代码,粘贴并按回车键运行
提示:Do you want to install Bt-Panel to the /www directory now?(y/n): 输入:y 然后按回车键Enter就行
安装错误提示:
Installing collected packages: pycparser, cffi, cryptography, pyOpenSSl
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aliyun-python-sdk-core 2.13.30 requires cryptography<3.3,>=2.9.2, but you have cryptography 40.0.1 which is incompatible.
WARNING: You are using pip version 20.3.3; however, version 23.0.1 is available.
You should consider upgrading via the '/www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip' command.
安装完成提示
Complete!
success
==================================================================
Congratulations! Installed successfully!
==================================================================
外网面板地址: https://46.33.11.151:31889/c618bec6
内网面板地址: https://46.33.11.151:31889/c618bec6
username: y8ex5ehu
password: 14592e7d
If you cannot access the panel,
release the following panel port [31889] in the security group
若无法访问面板,请检查防火墙/安全组是否有放行面板[31889]端口
因已开启面板自签证书,访问面板会提示不匹配证书,请参考以下链接配置证书
https://www.bt.cn/bbs/thread-105443-1-1.html
==================================================================
然后你可以先ssl终端上输入bt修改默认的用户名和密码,点击上面的外网面板地址登录
[root@OuluVM1110581 ~]# bt
面板安装已经完成,接下来是面板使用。
登录后提示

选择一键安装,结束后查看执行日志

/install/1/phpmyadmin.sh: Scheme missing.
--2023-04-13 10:32:10-- https://download.bt.cn/install/public.sh
Resolving download.bt.cn (download.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to download.bt.cn (download.bt.cn)|103.179.243.14|:443... failed: Connection timed out.
Connecting to download.bt.cn (download.bt.cn)|2001:19f0:7001:54fc:5400:2ff:fe9b:97f9|:443... failed: Network is unreachable.
|-Successify --- 命令已执行! ---
显然安装LNMP失败了,打开SSL终端执行下:echo '128.1.164.196 download.bt.cn' >>/etc/hosts
[root@OuluVM1110581 ~]# echo '128.1.164.196 download.bt.cn' >>/etc/hosts
再重新安装LNMP