Linuxword Global
当前位置: 通信协议 > Debian 10 系统安装锐速+v2ray配置WebSocket+TLS+Web+CDN

bandicam-2020-10-28-16-02-58-828.00_16_46_13.Still008

1、安装依赖,
第一步Debian 更新源 (系统、软件),后安装锐速/BBR+FQ协议
apt -y update && apt -y install vim vi curl wget unzip zip ca-certificates && update-ca-certificates && screen -S update
2、下载脚本

mkdir lotserver
cd lotserver
wget -N "https://github.000060000.xyz/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
选项步奏
25.卸载全部加速
21.系统配置优化 (选择 y 重启系统)
3.安装 Lotserver(锐速)内核
99.退出脚本
3、继续输入这个命令来查看装了那些内核:

dpkg -l|grep linux-image

一般情况下有好多:
linux-image-4.9.0-7-amd64
linux-image-4.9.0-8-amd64
linux-image-4.9.0-13-amd64
linux-image-4.9.0-4-amd64
4、然后我们依次把这些内核删掉:

apt purge linux-image-4.9.0-7-amd64
apt purge linux-image-4.9.0-8-amd64
apt purge linux-image-4.9.0-13-amd64
注意:卸载除 4.9.0-4 以外的所有内核不要动4.9.0-4的。卸载的时候请根据你的实际情况来卸载,请勿复制粘贴。

5、更新引导重启系统:

update-grub
reboot
6、重启后再次输入

cd lotserver
./tcpx.sh
选项步奏
3.安装 Lotserver(锐速)内核
20.使用Lotserver(锐速)加速
然后选择安装锐速+使用锐速,即可顺利安装成功!

现在开始安装lnmp
1、安装依赖 apt -y install screen
2、安装lnmp:
wget http://soft.vpser.net/lnmp/lnmp1.7.tar.gz -cO lnmp1.7.tar.gz && tar zxf lnmp1.7.tar.gz && cd lnmp1.7 && ./install.sh lnmp
最后显示
Nginx: OK
MySQL: OK
PHP: OK
PHP-FPM: OK
安装lnmp完成
3、添加域名

lnmp vhost add

按申请的域名填写,并选择 2 申请SSL
Add SSL Certificate (y/n) y
1: Use your own SSL Certificate and Key
2: Use Let's Encrypt to create SSL Certificate and Key
Enter 1 or 2: 2
4、修改域名配置

vi /usr/local/nginx/conf/vhost/域名
在server段加入以下内容:

location /ray {
proxy_redirect off;
proxy_pass http://127.0.0.1:10000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
}
路径/ray需要和v2ray的路径一样
端口10000需要和v2ray的端口一样

1、安装依赖,
第一步Debian 更新源 (系统、软件),后安装锐速/BBR+FQ协议
apt -y update && apt -y install vim vi curl wget unzip zip ca-certificates && update-ca-certificates && screen -S update
2、下载脚本

mkdir lotserver
cd lotserver
wget -N "https://github.000060000.xyz/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
选项步奏
25.卸载全部加速
21.系统配置优化 (选择 y 重启系统)
3.安装 Lotserver(锐速)内核
99.退出脚本
3、继续输入这个命令来查看装了那些内核:

dpkg -l|grep linux-image

一般情况下有好多:
linux-image-4.9.0-7-amd64
linux-image-4.9.0-8-amd64
linux-image-4.9.0-13-amd64
linux-image-4.9.0-4-amd64
4、然后我们依次把这些内核删掉:

apt purge linux-image-4.9.0-7-amd64
apt purge linux-image-4.9.0-8-amd64
apt purge linux-image-4.9.0-13-amd64
注意:卸载除 4.9.0-4 以外的所有内核不要动4.9.0-4的。卸载的时候请根据你的实际情况来卸载,请勿复制粘贴。

5、更新引导重启系统:

update-grub
reboot
6、重启后再次输入

cd lotserver
./tcpx.sh
选项步奏
3.安装 Lotserver(锐速)内核
20.使用Lotserver(锐速)加速
然后选择安装锐速+使用锐速,即可顺利安装成功!

现在开始安装lnmp
1、安装依赖 apt -y install screen
2、安装lnmp:
wget http://soft.vpser.net/lnmp/lnmp1.7.tar.gz -cO lnmp1.7.tar.gz && tar zxf lnmp1.7.tar.gz && cd lnmp1.7 && ./install.sh lnmp
最后显示
Nginx: OK
MySQL: OK
PHP: OK
PHP-FPM: OK
安装lnmp完成
3、添加域名

lnmp vhost add

按申请的域名填写,并选择 2 申请SSL
Add SSL Certificate (y/n) y
1: Use your own SSL Certificate and Key
2: Use Let's Encrypt to create SSL Certificate and Key
Enter 1 or 2: 2
4、修改域名配置

vi /usr/local/nginx/conf/vhost/域名
在server段加入以下内容:

location /ray {
proxy_redirect off;
proxy_pass http://127.0.0.1:10000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
}
路径/ray需要和v2ray的路径一样
端口10000需要和v2ray的端口一样

 

「梦想一旦被付诸行动,就会变得神圣,如果觉得我的文章对您有用,请帮助本站成长」

赞(0) 打赏
一分也是爱

支付宝扫一扫打赏

微信扫一扫打赏

上一篇:

下一篇:

相关推荐

博客简介

本站CDN采用VmShell免费提供离中国大陆最近的香港CMI高速网络做支撑,ToToTel打造全球最快速的边沿网络支撑服务,具体详情请见 :https://vmshell.com/ 以及 https://tototel.com/,网站所有的文件和内容禁止大陆网站搬迁复制,谢谢,VPS营销投稿邮箱: admin@linuxxword.com,我们免费帮大家发布,不收取任何费用,请提供完整测试文稿!

精彩评论

友情链接

他们同样是一群网虫,却不是每天泡在网上游走在淘宝和网游之间、刷着本来就快要透支的信用卡。他们或许没有踏出国门一步,但同学却不局限在一国一校,而是遍及全球!申请交换友链

站点统计

  • 文章总数: 2289 篇
  • 草稿数目: 12 篇
  • 分类数目: 6 个
  • 独立页面: 0 个
  • 评论总数: 2 条
  • 链接总数: 0 个
  • 标签总数: 5772 个
  • 注册用户: 139 人
  • 访问总量: 8,654,914 次
  • 最近更新: 2024年3月27日