This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.安装v2ray官方脚本 centos7系统搭建 | |
1.更新服务器 yum -y update | |
#设置硬件时钟调整为与本地时钟一致 | |
timedatectl set-local-rtc 1 | |
#设置时区为上海 | |
timedatectl set-timezone Asia/Shanghai | |
2.安装v2ray官方代码 bash <(curl -L -s https://install.direct/go.sh) | |
vim /etc/v2ray/config.json: 配置文件 | |
service v2ray start|stop|status|reload|restart|force-reload 控制 V2Ray 的运行 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
centos7系统环境搭建(温馨提示:请使用centos7系统搭建,如果学习能力强可以Google搜索Debian或其他系统搭建方法,只是部分代码不一样而已)(V2Ray+WebSocket+TLS+Nginx)前几期视频分别提到过 TLS 和 WebSocket 的配置方法,而本文搭配 Web 服务并同时实现 TLS | |
和 WebSocket浏览器域名访问自动跳转https有简单前端网页。关于 Web 的软件官方给出Nginx,Caddy 和 Apache 三个例子,三选一即可 | |
本期只讲Nginx,因为以后视频会用到Nginx | |
一.安装v2ray官方脚本和BBR加速 | |
第一步 V2RAY官方脚本搭建 | |
(1)更新服务器 yum -y update(部分系统提示NO packages marked for update则无需更新) | |
(2)设置硬件时钟调整为与本地时钟一致 |
OlderNewer