Go to file
github-actions[bot] 38d8822d5b docs: Added README."en".md translation via https://github.com/dephraiim/translate-readme 2021-01-29 07:42:42 +00:00
.github/workflows Adding Hindi support 2021-01-29 15:11:44 +08:00
LICENSE Add GPL3 protocol 2020-03-24 15:22:37 +08:00
README.en.md docs: Added README."en".md translation via https://github.com/dephraiim/translate-readme 2021-01-29 07:42:42 +00:00
README.hi.md docs: Added README."hi".md translation via https://github.com/dephraiim/translate-readme 2021-01-29 07:15:09 +00:00
README.md Update README.md 2021-01-29 15:42:04 +08:00
README.zh-CN.md docs: Added README."zh-CN".md translation via https://github.com/dephraiim/translate-readme 2021-01-29 07:15:01 +00:00
install-dat-release.sh fix: Shebang content 2021-01-19 13:07:00 +08:00
install-release.sh fix: Shebang content 2021-01-19 13:07:00 +08:00

README.en.md

fhs-install-v2ray


README translation

Overview

The fhs-install-v2ray installation script is used to easily deploy v2ray to bypass network restrictions to build your own proxy

Supported operating system

Requires systemd

  • Debian / Ubuntu
  • CentOS / RHEL
  • Fedora
  • openSUSE

Installation and configuration

Install and update V2Ray

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

V2Ray configuration

  1. Generate configuration filehttps://intmainreturn0.com/v2ray-config-gen/
  2. Put the configuration file config.json into /usr/local/etc/v2ray/config.json

Offline installation

In an environment with network download restrictions, we recommend:

  1. Download the repository as a zip file from GitHub.
  2. Download the v2ray-core zip file from the following locationhttps://github.com/v2fly/v2ray-core/releases
  3. Upload both zip files to your server
  4. Unzip the two zip files
  5. Run and install: bash install-release.sh --local /path/to/v2ray-linux-64.zip

Update or delete

Install the latest geoip.dat and geosite.dat

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

Remove V2Ray

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

Package Contents

The files installed by the script conform toFilesystem 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/v2ray@.service

important hint

It is not recommended to use this project to install v2ray in docker, please use it directlyOfficial image
If the official image cannot meet your custom installation needs, pleaseReproduce and modify the upstream dockerfile to achieve

This projectWill not automatically generate configuration files for youOnly solve problems encountered by users during installation. Other issues cannot be helped here.
Please refer to after installationfileUnderstand the configuration file syntax, and complete the configuration file suitable for yourself. You can refer to community contributions during the processConfiguration profile template
Please note that these templates need to be modified and adjusted by yourself after they are copied, and cannot be used directly

use

  • The script will provideinfowitherrorPlease read it carefully.

Solve the problem

If your question is not listed above, you are welcome to raise it in the Issue area.

Please read before asking questionsIssue #63, Otherwise it may not be answered and locked.

contribution

PleasedevelopBranching is carried out to avoid damage to the main branch.

After confirmation, the two branches will be merged.