Git Product home page Git Product logo

fhs-install-v2ray's Introduction

fhs-install-v2ray

欲查阅以简体中文撰写的介绍,请访问:README.zh-Hans-CN.md

Bash script for installing V2Ray in operating systems such as Debian / CentOS / Fedora / openSUSE that support systemd

該腳本安裝的文件符合 Filesystem Hierarchy Standard (FHS)

installed: /usr/local/bin/v2ray
installed: /usr/local/bin/v2ctl
installed: /usr/local/share/v2ray/geoip.dat
installed: /usr/local/share/v2ray/geosite.dat
installed: /usr/local/etc/v2ray/config.json
installed: /var/log/v2ray/
installed: /var/log/v2ray/access.log
installed: /var/log/v2ray/error.log
installed: /etc/systemd/system/v2ray.service
installed: /etc/systemd/system/[email protected]

重要提示

不推薦在 docker 中使用本專案安裝 v2ray,請直接使用 官方映象
如果官方映象不能滿足您自定義安裝的需要,請以復刻並修改上游 dockerfile 的方式來實現

本專案不會為您自動生成配置檔案只解決使用者安裝階段遇到的問題。其他問題在這裡是無法得到幫助的。
請在安裝完成後參閱 文件 瞭解配置檔案語法,並自己完成適合自己的配置檔案。過程中可參閱社群貢獻的 配置檔案模板
提請您注意這些模板複製下來以後是需要您自己修改調整的,不能直接使用

使用

  • 該腳本在執行時會提供 infoerror 等信息,請仔細閱讀。

安裝和更新 V2Ray

// 安裝執行檔和 .dat 資料檔
# bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)

安裝最新發行的 geoip.dat 和 geosite.dat

// 只更新 .dat 資料檔
# bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh)

移除 V2Ray

# bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh) --remove

解決問題

若您的問題沒有在上方列出,歡迎在 Issue 區提出。

提問前請先閱讀 Issue #63,否則可能無法得到解答並被鎖定。

貢獻

請於 develop 分支進行,以避免對主分支造成破壞。

待確定無誤後,兩分支將進行合併。

fhs-install-v2ray's People

Contributors

dctxmei avatar icecodenew avatar kslr avatar xiagw avatar ducksoft avatar nicholascw avatar phlinhng avatar pd12bbf7608ae1 avatar rprx avatar toutyrater avatar ir20 avatar loyalsoldier avatar oxape avatar ricuhkaen avatar sixg0000d avatar sunshineplan avatar wind2008hxy avatar mr-xn avatar digglife 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.