fhs-install-v2ray/readme-en.md

3.4 KiB
Raw Blame History

fhs-install-v2ray

To view the introduction in simplified Chinese, please visit:README.zh-Hans-CN.md

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

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.

Install and update V2Ray

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

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

Solve the problem

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

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

contribution

PleasedevelopBranching to avoid damage to the main branch.

After confirmation, the two branches will be merged.