CentOS 7 x64 安装宝塔面板6.9.9与反向代理
TIME 2019-09-29 11:52 周日
CentOS 7 x64 安 宝塔面板6.9.9
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh |
返回结果
+———————————————————————-
| Bt-WebPanel 6.0 FOR CentOS
+———————————————————————-
| Copyright © 2015-2099 BT-SOFT(http://www.bt.cn) All rights reserved.
+———————————————————————-
| The WebPanel URL will be http://SERVER_IP:8888 when installed.
+——————————————————————————————————————-
Selected download node…
Download node: http://45.32.116.160
———————————————
Do you want to install Bt-Panel to the /www directory now?(y/n): |
问你是否将宝塔面板安装到 /www 目录
回复 y
==================================================================
Congratulations! Installed successfully!
==================================================================
Bt-Panel: http://45.32.104.230:8888/881fa2ba
username: iemm5llk
password: 7f54b721
Warning:
If you cannot access the panel,
release the following port (8888|888|80|443|20|21) in the security group
==================================================================
Time consumed: 2 Minute! |
安装完毕
耗时2分钟
访问宝塔地址
http://你的IP地址:8888/881fa2ba #这就是你的登录地址
帐户:iemm5llk
密码:7f54b721

点击【登录】

勾选:用户协议
点击【进入面板】

推荐安装LNMP
具体配置的话,可以默认安装,如果不知道怎么设置的话,点击【一键安装】默认安装即可

等待安装完成
——————-
宝塔6.9.9面板添加反向代理
TIME 12:46
首先把域名解析到服务器IP地址

点击【网站】【添加站点】

添加网站
添加绑定域名:多个域名换行即可
点击【提交】

点击刚刚添加的站点,对站点进行配置
添加SSL安全证书

点击【SSL】,选择免费的【Let’s Encrypt】
填写【管理员邮箱】
勾选域名
点击【申请】
PS:点击申请前,域名必须解析到服务IP地址以及生效才可以

申请SSL成功部署后,开启【强制HTTPS】
强制开启安全证书后,别人就不能轻易的获取到你正在浏览的内容,有助于自我隐私保护,强烈建议开启

添加反向代理
【反向代理】【添加反向代理】

这里就设置成youtube吧
点击【提交】

访问速度很慢

视频无法播放

编辑配置

youtube视频还是无法播放
反向代理google是可以的
点击数:235
本文访问统计: 496