Giter Site home page Giter Site logo

v2ray-for-ansible's Introduction

V2Ray for Ansible

本 Playbook 将利用 Ansible 在服务器上自动化部署 V2Ray。目前,仅在 Debian GNU/Linux 10,Centos 7 上测试通过。Debian GNU/Linux 更低版本或 Ubuntu 系列大概也没有问题,其它 Linux 发行版本有待进一步测试。使用本仓库请自行承担风险。

根据 V2Ray 大多数用户推荐,本 Playbook 采用 WebSocket+TLS+Web 部署方式。换句话说,它将在服务器上安装下列软件:

  • Certbot:用于请求 SSL 证书
  • NGINX:用于提供 Web 服务
  • V2Ray

使用要求

为了正常使用 V2Ray,应当满足以下要求:

  • 一台云主机,如 VultrLinodeDO 等等。
  • 一个域名且已经绑定到云主机。
  • Ansible,可参考官方文档安装。

使用方法

  1. 将服务器的 IP 添加到 inventory/selfhost 文件:

     $ echo 'your.ip.address' >> inventory/selfhost
    
  2. 执行 Playbook 并按提示操作:

     $ ansible-playbook v2ray.yml
    
  3. Enjoy.

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.