Giter Site home page Giter Site logo

v2ray's Introduction

v2ray纯净安装(及shadowsocks纯净安装),基于手动纯净部署命令的整理,内容一目了然。你可以理解为你手动执行时的每一个复制粘贴和修改文件的命令的合集,批处理而已

一分钟v2ray:vmess+websocket+tls+nginx

一分钟v2ray:vless+websocket+tls+nginx

v2ray 一键安装,只需30s

解析好域名

vmess安装:

终端执行命令: curl -s https://raw.githubusercontent.com/HappyLife-page/v2ray/main/v2ray_installation_vmess.sh | bash -s "你的解析好的域名"

EG:

curl -s https://raw.githubusercontent.com/HappyLife-page/v2ray/main/v2ray_installation_vmess.sh | bash -s kty.v2ray.one

---------------------------------------------------------------------

vless安装:

终端执行命令:
curl -s https://raw.githubusercontent.com/HappyLife-page/v2ray/main/v2ray_installation_vless.sh | bash -s "你的解析好的域名"
或:
curl -s https://raw.githubusercontent.com/HappyLife-page/v2ray/main/v2ray_installation_vmess.sh | bash -s "你的解析好的域名" vless

EG:

curl -s https://raw.githubusercontent.com/HappyLife-page/v2ray/main/v2ray_installation_vless.sh | bash -s kty.v2ray.one

curl -s https://raw.githubusercontent.com/HappyLife-page/v2ray/main/v2ray_installation_vmess.sh | bash -s kty.v2ray.one vless

vultr 6美元机器只需要不到30s部署完成【https://www.vultr.com/?ref=8773909】

你完全不需要任何干预,一键执行脚本稍等片刻就好

  • 新增八合一:

curl -s https://raw.githubusercontent.com/HappyLife-page/v2ray/main/v2ray_installation_ws%2Bgrpc_vless%2Btrojan%2Bsocks%2Bshadowsocks.sh | bash -s "你的域名"

######################################### 详细配置说明如下 #########################################

nginx做前端代理,根据域名和websocket路径,分发请求到v2ray服务,或默认的nginx站点目录/usr/share/nginx/html,不对你现有的nginx web服务产生影响

该方案不影响nginx作为前端代理和web服务的性能,v2ray只是其一个后端服务,类似PHP或Java

你可以很愉快的玩耍你自己的站点,如wordpress

---------------------- 配置文件一览: ----------------------

v2ray配置文件路径: /usr/local/etc/v2ray/config.json

nginx配置文件路径: /etc/nginx/conf.d/v2ray.conf

# shadowsocks部署 shadowsocks-libev with obfs

curl -s https://raw.githubusercontent.com/HappyLife-page/v2ray/main/shadowsocks-libev_with_obfs_installation.sh | bash

# v2ray&wordpress安装部署

curl -s https://raw.githubusercontent.com/HappyLife-page/v2ray/main/v2ray_wordpress_installation.sh | bash -s "你的解析好的域名" [vless]

EG:

#安装v2ray vmess协议 和 wordpress:

curl -s https://raw.githubusercontent.com/HappyLife-page/v2ray/main/v2ray_wordpress_installation.sh | bash -s "www.v2ray.one"

#安装v2ray vless协议 和 wordpress:

curl -s https://raw.githubusercontent.com/HappyLife-page/v2ray/main/v2ray_wordpress_installation.sh | bash -s "www.v2ray.one" vless

客户端配置

客户端下载: https://github.com/2dust/v2rayN/releases 选择最新稳定版下载

如:

v2ray's People

Contributors

happylife-page avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

v2ray's Issues

服务启动出错

脚本:v2ray_installation_centos7

目前安装好后的v2ray 版本为 5.1.0

其服务运行命令为:

/usr/local/bin/v2ray run -c /usr/local/etc/v2ray/config.json

原命令运行会出错。

另外,麻烦推荐手机端 支持 vless 协议的 v2ray 客户端,谢谢!

ubuntu 20.04 安装 v2ray 5.1.0时,v2ray服务无法启动

脚本正常输出了配置信息,但是使用systmctl status v2ray 发现无法服务无法启动,大佬能不能补充一下,你测试脚本的时候安装的v2ray版本。我想指定版本再试一次。

输出信息为:
Process: 5445 ExecStart=/usr/local/bin/v2ray -config /usr/local/etc/v2ray/config.json (code=exited, status=2)
Main PID: 5445 (code=exited, status=2)
CPU: 29ms
Sep 07 22:56:41 valuable-pod-1.localdomain systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 5.
Sep 07 22:56:41 valuable-pod-1.localdomain systemd[1]: Stopped V2Ray Service.
Sep 07 22:56:41 valuable-pod-1.localdomain systemd[1]: v2ray.service: Start request repeated too quickly.
Sep 07 22:56:41 valuable-pod-1.localdomain systemd[1]: v2ray.service: Failed with result 'exit-code'.
Sep 07 22:56:41 valuable-pod-1.localdomain systemd[1]: Failed to start V2Ray Service.

Started V2Ray Service.
flag provided but not defined: -config
Usage of /usr/local/bin/v2ray:
v2ray.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
v2ray.service: Failed with result 'exit-code'.
v2ray.service: Scheduled restart job, restart counter is at 5.
Stopped V2Ray Service.
v2ray.service: Start request repeated too quickly.
v2ray.service: Failed with result 'exit-code'.
Failed to start V2Ray Service.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.