Code Monkey home page Code Monkey logo

v2ray-deb's Introduction

v2ray-deb

简介

科学上网工具Project V的服务端配置比较复杂,而官网v2ray-core releases仅提供了各平台的二进制压缩包,安装部署比较麻烦。 本项目将其打包成Debian/Ubuntu系统上的deb安装包(仅支持64位系统),使您能一键部署v2ray服务端,默认使用VMESS协议,安装后自动随机生成端口号和用户ID,您也可以在安装之后修改默认配置文件/etc/v2ray/config.json来重置端口号和用户ID。

安装

本项目打包软件的版本号与官网保持一致,您可以直接下载deb安装包,并通过如下命令安装:

  • sudo dpkg -i v2ray-4.22.1-amd64.deb

安装后将显示随机生成的端口号用户ID,并将其填入手机或PC端的v2ray客户端,额外ID(alterId)为64

上述配置信息都保存在/etc/v2ray/config.json中,安装完成后会自动启动v2ray服务。

您可以在安装完成后通过修改文件/etc/v2ray/config.json来自定义端口号和用户ID等配置信息。

修改配置文件后须重启v2ray服务使之生效:

  • sudo systemctl restart v2ray

生成用户ID(UUID)的方法:

  • cat /proc/sys/kernel/random/uuid

卸载

您可通过如下命令卸载:

  • sudo dpkg -r v2ray

自行打包

您也可以自行打包生成deb安装包(AMD64):

如果您需要其他CPU平台的deb安装包,请前官网下载对应的二进制压缩包,并替换此项目中usr/bin/v2ray目录下的可执行文件v2ray和v2ctl,然后安照上述命令生成。

v2ray-deb's People

Contributors

dreamrover avatar

Watchers

James Cloos avatar

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.