Merge pull request #1 from benjaminchodroff/documentation_translate_english

README translation
pull/198/head
Benjamin Chodroff 2021-01-29 17:11:41 +08:00 committed by GitHub
commit b1085d3706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 396 additions and 112 deletions

32
.github/workflows/readme.yml vendored Normal file
View File

@ -0,0 +1,32 @@
# https://github.com/dephraiim/translate-readme
name: Translate README
on:
push:
branches:
- main
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
# Temporarily using my own fork, but use dephraiim/translate-readme@main in future
- name: Adding English README
uses: benjaminchodroff/translate-readme@main
with:
lang: en
- name: Adding Chinese (Simplified) README
uses: benjaminchodroff/translate-readme@main
with:
lang: zh-CN
- name: Adding Hindi README
uses: benjaminchodroff/translate-readme@main
with:
lang: hi

View File

@ -7,7 +7,7 @@ on:
paths-ignore: paths-ignore:
- "**/LICENSE" - "**/LICENSE"
- "**/README.md" - "**/README.md"
- "**/README.zh-Hans-CN.md" - "**/README.*.md"
pull_request: pull_request:
branches: branches:
- master - master
@ -24,7 +24,7 @@ jobs:
SHFMT_OPTS: -i 2 -ci -sr SHFMT_OPTS: -i 2 -ci -sr
with: with:
sh_checker_comment: true sh_checker_comment: true
sh_checker_exclude: "LICENSE README.md README.zh-Hans-CN.md" sh_checker_exclude: "LICENSE README.md README.*.md"
filed-test: filed-test:
runs-on: ubuntu-16.04 runs-on: ubuntu-16.04
steps: steps:

101
README.en.md Normal file
View File

@ -0,0 +1,101 @@
# fhs-install-v2ray
* * *
## README translation
- [Traditional Chinese README.md](README.md)
- [Simplified Chinese README.zh-CN.md](README.zh-CN.md)
- [English README.en.md](README.en.md)
- [Hindi README.hi.md](README.hi.md)
## 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 Linux systemd
- Debian / Ubuntu
- CentOS / RHEL
- Fedora
- openSUSE
## Installation and configuration
### Install and update V2Ray
Install executable file and .dat data file
# sudo bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
### V2Ray configuration
1. Generate configuration file[https://intmainreturn0.com/v2ray-config-gen](https://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 fhs-install-v2ray repository as a zip file from GitHub.com.
2. Download the v2ray-core release zip file from the following location<https://github.com/v2fly/v2ray-core/releases>
3. Upload both zip files to your server
4. Unzip the fhs-install-v2ray repository zip file
5. Run the installation and point it to the local v2ray-core zip file:`sudo bash install-release.sh --local /path/to/v2ray-linux-64.zip`
## Update or delete
### Install the latest geoip.dat and geosite.dat
# sudo bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh)
### Remove V2Ray
# sudo 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 to[Filesystem Hierarchy Standard (FHS)](https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard)
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 directly[github.com/v2fly/docker](https://github.com/v2fly/docker)
- If the official image cannot meet your custom installation needs, please reproduce and modify the upstream dockerfile to achieve
- This project will not automatically generate configuration files for you; it only solves the problems encountered by users during the installation phase. Other issues cannot be helped here.
- Please refer to after installation[v2fly.org](https://www.v2fly.org/)Understand the configuration file syntax, and complete the configuration file suitable for yourself. You can refer to community contributions during the process[Configuration profile template](https://github.com/v2fly/v2ray-examples)
- Please note that these templates need to be modified and adjusted by yourself after they are copied, and cannot be used directly
## In record
- The script will provide`info`with`error`Please read it carefully.
## Solve the problem
- [Do not install or update geoip.dat and geosite.dat](https://github.com/v2fly/fhs-install-v2ray/wiki/Do-not-install-or-update-geoip.dat-and-geosite.dat)
- [Insufficient permissions when using certificates](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)
- [Migrate from the old script to this](https://github.com/v2fly/fhs-install-v2ray/wiki/Migrate-from-the-old-script-to-this)
- [Move .dat files from lib directory to share directory](https://github.com/v2fly/fhs-install-v2ray/wiki/Move-.dat-files-from-lib-directory-to-share-directory)
- [Use VLESS protocol](https://github.com/v2fly/fhs-install-v2ray/wiki/To-use-the-VLESS-protocol)
> If your question is not listed above, welcome to raise it in the Issue area.
**Please read before asking questions[Issue #63](https://github.com/v2fly/fhs-install-v2ray/issues/63), Otherwise it may not be answered and locked.**
## contribution
Please[develop](https://github.com/v2fly/fhs-install-v2ray/tree/develop)Branching to avoid damage to the main branch.
After confirmation, the two branches will be merged.

101
README.hi.md Normal file
View File

@ -0,0 +1,101 @@
# fhs-install-v2ray
* * *
## README अनुवाद
- [पारंपरिक चीनी README.md](README.md)
- [简体中文 README.zh-CN.md](README.zh-CN.md)
- [अंग्रेजी README.en.md](README.en.md)
- [हिंदी README.hi.md](README.hi.md)
## अवलोकन
अपने स्वयं के प्रॉक्सी का निर्माण करने के लिए नेटवर्क प्रतिबंधों को बायपास करने के लिए आसानी से v2ray को तैनात करने के लिए fhs-install-v2ray इंस्टॉलेशन स्क्रिप्ट का उपयोग किया जाता है
## समर्थित ऑपरेटिंग सिस्टम
लिनक्स प्रणाली की आवश्यकता है
- डेबियन / उबंटू
- सेंटोस / आरएचईएल
- फेडोरा
- खुला हुआ
## स्थापना और विन्यास
### स्थापित करें और V2Ray को अपडेट करें
निष्पादन योग्य फ़ाइलों और .dat डेटा फ़ाइलों को स्थापित करें
# sudo bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
### V2Ray कॉन्फ़िगरेशन
1. कॉन्फ़िगरेशन फ़ाइल जनरेट करें[हत्तपः://ईंटमेंरेतुरण0.कॉम/व2राय-कॉन्फिग-गेन](https://intmainreturn0.com/v2ray-config-gen/)
2. कॉन्फ़िगरेशन फ़ाइल config.json को /usr/local/etc/v2ray/config.json में डालें
### ऑफ़लाइन स्थापना
नेटवर्क डाउनलोड प्रतिबंध वाले वातावरण में, हम अनुशंसा करते हैं:
1. GitHub.com से ज़िप फ़ाइल के रूप में fhs-install-v2ray रिपॉजिटरी डाउनलोड करें।
2. निम्न स्थान से v2ray-core रिलीज़ ज़िप फ़ाइल डाउनलोड करें[हत्तपः://गिटहब.कॉम/व2फल्य/व2राय-कोर/रेलसेस](https://github.com/v2fly/v2ray-core/releases)
3. दोनों ज़िप फ़ाइलों को अपने सर्वर पर अपलोड करें
4. Fhs-install-v2ray रिपॉजिटरी जिप फाइल को अनजिप करें
5. स्थापना चलाएँ और इसे स्थानीय v2ray-core ज़िप फ़ाइल की ओर इंगित करें:`sudo bash install-release.sh --local /path/to/v2ray-linux-64.zip`
## अद्यतन या हटाना
### नवीनतम geoip.dat और geosite.dat स्थापित करें
# sudo bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh)
### V2Ray निकालें
# sudo bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh) --remove
## पैकेज सामग्री
स्क्रिप्ट द्वारा स्थापित फाइलें इसके अनुरूप हैं[फाइलसिस्टम पदानुक्रम मानक (FHS)](https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard)
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
## महत्वपूर्ण संकेत
- डॉकटर में v2ray को स्थापित करने के लिए इस परियोजना का उपयोग करने की अनुशंसा नहीं की गई है, कृपया इसे सीधे उपयोग करें[गिटहब.कॉम/व2फल्य/डोकर](https://github.com/v2fly/docker)
- यदि आधिकारिक छवि आपके कस्टम इंस्टॉलेशन की जरूरतों को पूरा नहीं कर सकती है, तो कृपया प्राप्त करने के लिए अपस्ट्रीम डॉकफाइल को पुन: उत्पन्न और संशोधित करें
- यह परियोजना स्वचालित रूप से आपके लिए कॉन्फ़िगरेशन फ़ाइल उत्पन्न नहीं करेगी, यह केवल स्थापना चरण के दौरान उपयोगकर्ताओं द्वारा सामना की जाने वाली समस्याओं को हल करती है। अन्य मुद्दों पर यहाँ मदद नहीं की जा सकती।
- स्थापना के बाद कृपया देखें[व2फल्य.ऑर्ग](https://www.v2fly.org/)कॉन्फ़िगरेशन फ़ाइल सिंटैक्स को समझें, और अपने लिए उपयुक्त कॉन्फ़िगरेशन फ़ाइल को पूरा करें। आप प्रक्रिया के दौरान सामुदायिक योगदान का उल्लेख कर सकते हैं[कॉन्फ़िगरेशन प्रोफ़ाइल टेम्पलेट](https://github.com/v2fly/v2ray-examples)
- कृपया ध्यान दें कि इन टेम्प्लेट को कॉपी किए जाने के बाद स्वयं द्वारा संशोधित और समायोजित करने की आवश्यकता होती है, और सीधे उपयोग नहीं किया जा सकता है
## रिकॉर्ड में
- स्क्रिप्ट प्रदान करेगा`info`साथ में`error`कृपया इसे ध्यान से पढ़ें।
## समस्या का समाधान
- [Geoip.dat और geosite.dat इंस्टॉल या अपडेट न करें](https://github.com/v2fly/fhs-install-v2ray/wiki/Do-not-install-or-update-geoip.dat-and-geosite.dat)
- [प्रमाण पत्र का उपयोग करते समय अपर्याप्त अनुमति](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)
- [पुरानी स्क्रिप्ट से इसे माइग्रेट करें](https://github.com/v2fly/fhs-install-v2ray/wiki/Migrate-from-the-old-script-to-this)
- [निर्देशिका साझा करने के लिए lib निर्देशिका से .dat फ़ाइलों को स्थानांतरित करें](https://github.com/v2fly/fhs-install-v2ray/wiki/Move-.dat-files-from-lib-directory-to-share-directory)
- [वीएलएसई प्रोटोकॉल का उपयोग करें](https://github.com/v2fly/fhs-install-v2ray/wiki/To-use-the-VLESS-protocol)
> यदि आपका प्रश्न ऊपर सूचीबद्ध नहीं है, तो इसे मुद्दे क्षेत्र में बढ़ाने के लिए स्वागत करें।
**कृपया प्रश्न पूछने से पहले पढ़ें[अंक # 63](https://github.com/v2fly/fhs-install-v2ray/issues/63), अन्यथा इसका जवाब नहीं दिया जा सकता है और लॉक नहीं किया जा सकता है।**
## योगदान
कृप्या[विकसित करना](https://github.com/v2fly/fhs-install-v2ray/tree/develop)मुख्य शाखा को नुकसान से बचने के लिए शाखा लगाई जाती है।
पुष्टि के बाद, दोनों शाखाओं को मिला दिया जाएगा।

View File

@ -1,9 +1,53 @@
# fhs-install-v2ray # fhs-install-v2ray
---
## README 翻譯
- [繁體中文 README.md](README.md)
- [简体中文 README.zh-CN.md](README.zh-CN.md)
- [English README.en.md](README.en.md)
- [हिंदी README.hi.md](README.hi.md)
> 欲查阅以简体中文撰写的介绍,请访问:[README.zh-Hans-CN.md](README.zh-Hans-CN.md) ## 總覽
fhs-install-v2ray安裝腳本用於輕鬆部署v2ray以繞過網絡限制來構建自己的代理
> Bash script for installing V2Ray in operating systems such as Debian / CentOS / Fedora / openSUSE that support systemd ## 支持的操作系統
需要Linux systemd
- Debian / Ubuntu
- CentOS / RHEL
- Fedora
- openSUSE
## 安裝與配置
### 安裝和更新 V2Ray
安裝執行檔和 .dat 資料檔
```
# sudo bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
```
### V2Ray 組態
1. 生成配置文件 [https://intmainreturn0.com/v2ray-config-gen](https://intmainreturn0.com/v2ray-config-gen/)
2. 將配置文件 config.json放入 /usr/local/etc/v2ray/config.json
### 離線安裝
在具有網絡下載限制的環境中,我們建議:
1. 從GitHub.com下載fhs-install-v2ray存儲庫作為zip文件。
2. 從以下位置下載v2ray-core發行zip文件 [https://github.com/v2fly/v2ray-core/releases](https://github.com/v2fly/v2ray-core/releases)
3. 將兩個zip文件都上傳到您的服務器
4. 解壓縮fhs-install-v2ray存儲庫zip文件
5. 運行安裝並將其指向本地v2ray-core zip文件```sudo bash install-release.sh --local /path/to/v2ray-linux-64.zip```
## 更新或刪除
### 安裝最新發行的 geoip.dat 和 geosite.dat
```
# sudo bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh)
```
### 移除 V2Ray
```
# sudo bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh) --remove
```
## 包裝內容
該腳本安裝的文件符合 [Filesystem Hierarchy Standard (FHS)](https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard) 該腳本安裝的文件符合 [Filesystem Hierarchy Standard (FHS)](https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard)
``` ```
@ -20,45 +64,21 @@ installed: /etc/systemd/system/v2ray@.service
``` ```
## 重要提示 ## 重要提示
- 不推薦在 docker 中使用本專案安裝 v2ray請直接使用 [github.com/v2fly/docker](https://github.com/v2fly/docker)
- 如果官方映象不能滿足您自定義安裝的需要,請以 復刻並修改上游 dockerfile 的方式來實現
- 本專案不會為您自動生成配置檔案;只解決使用者安裝階段遇到的問題。其他問題在這裡是無法得到幫助的。
- 請在安裝完成後參閱 [v2fly.org](https://www.v2fly.org/) 瞭解配置檔案語法,並自己完成適合自己的配置檔案。過程中可參閱社群貢獻的 [配置檔案模板](https://github.com/v2fly/v2ray-examples)
- 提請您注意這些模板複製下來以後是需要您自己修改調整的,不能直接使用
**不推薦在 docker 中使用本專案安裝 v2ray請直接使用 [官方映象](https://github.com/v2fly/docker)。** ## 记录中
如果官方映象不能滿足您自定義安裝的需要,請以**復刻並修改上游 dockerfile 的方式來實現**。
本專案**不會為您自動生成配置檔案****只解決使用者安裝階段遇到的問題**。其他問題在這裡是無法得到幫助的。
請在安裝完成後參閱 [文件](https://www.v2fly.org/) 瞭解配置檔案語法,並自己完成適合自己的配置檔案。過程中可參閱社群貢獻的 [配置檔案模板](https://github.com/v2fly/v2ray-examples)
**提請您注意這些模板複製下來以後是需要您自己修改調整的,不能直接使用**
## 使用
* 該腳本在執行時會提供 `info``error` 等信息,請仔細閱讀。 * 該腳本在執行時會提供 `info``error` 等信息,請仔細閱讀。
### 安裝和更新 V2Ray ## 解決問題
* [不安裝或更新 geoip.dat 和 geosite.dat](https://github.com/v2fly/fhs-install-v2ray/wiki/Do-not-install-or-update-geoip.dat-and-geosite.dat)
``` * [使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)
// 安裝執行檔和 .dat 資料檔 * [從舊腳本遷移至此](https://github.com/v2fly/fhs-install-v2ray/wiki/Migrate-from-the-old-script-to-this)
# bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh) * [將 .dat 文檔由 lib 目錄移動到 share 目錄](https://github.com/v2fly/fhs-install-v2ray/wiki/Move-.dat-files-from-lib-directory-to-share-directory)
``` * [使用 VLESS 協議](https://github.com/v2fly/fhs-install-v2ray/wiki/To-use-the-VLESS-protocol)
### 安裝最新發行的 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
```
### 解決問題
* 「[不安裝或更新 geoip.dat 和 geosite.dat](https://github.com/v2fly/fhs-install-v2ray/wiki/Do-not-install-or-update-geoip.dat-and-geosite.dat)」。
* 「[使用證書時權限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)」。
* 「[從舊腳本遷移至此](https://github.com/v2fly/fhs-install-v2ray/wiki/Migrate-from-the-old-script-to-this)」。
* 「[將 .dat 文檔由 lib 目錄移動到 share 目錄](https://github.com/v2fly/fhs-install-v2ray/wiki/Move-.dat-files-from-lib-directory-to-share-directory)」。
* 「[使用 VLESS 協議](https://github.com/v2fly/fhs-install-v2ray/wiki/To-use-the-VLESS-protocol)」。
> 若您的問題沒有在上方列出,歡迎在 Issue 區提出。 > 若您的問題沒有在上方列出,歡迎在 Issue 區提出。
@ -66,6 +86,6 @@ installed: /etc/systemd/system/v2ray@.service
## 貢獻 ## 貢獻
請於 [develop](https://github.com/v2fly/fhs-install-v2ray/tree/develop) 分支進行,以避免對主分支造成破壞。 請於 [develop](https://github.com/v2fly/fhs-install-v2ray/tree/develop) 分支進行,以避免對主分支造成破壞。
待確定無誤後,兩分支將進行合併。 待確定無誤後,兩分支將進行合併。

101
README.zh-CN.md Normal file
View File

@ -0,0 +1,101 @@
# fhs-install-v2ray
* * *
## README 翻译
- [繁体中文 README.md](README.md)
- [简体中文 README.zh-CN.md](README.zh-CN.md)
- [英文README.en.md](README.en.md)
- [印地语README.hi.md](README.hi.md)
## 总览
fhs-install-v2ray安装脚本用于轻松部署v2ray以绕过网络限制来构建自己的代理
## 支持的操作系统
需要Linux systemd
- Debian / Ubuntu
- CentOS的/ RHEL的
- 软呢帽
- openSUSE
## 安装与配置
### 安装和更新 V2Ray
安装执行档和 .dat 资料档
# sudo bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
### V2Ray 组态
1. 生成配置文件[HTTPS://int main return0.com/V2Ray-config-跟](https://intmainreturn0.com/v2ray-config-gen/)
2. 将配置文件 config.json放入 /usr/local/etc/v2ray/config.json
### 离线安装
在具有网络下载限制的环境中,我们建议:
1. 从GitHub.com下载fhs-install-v2ray存储库作为zip文件。
2. 从以下位置下载v2ray-core发行zip文件[HTTPS://GitHub.com/V2fly/V2Ray-core/releases](https://github.com/v2fly/v2ray-core/releases)
3. 将两个zip文件都上传到您的服务器
4. 解压缩fhs-install-v2ray存储库zip文件
5. 运行安装并将其指向本地v2ray-core zip文件`sudo bash install-release.sh --local /path/to/v2ray-linux-64.zip`
## 更新或删除
### 安装最新发行的 geoip.dat 和 geosite.dat
# sudo bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh)
### 移除 V2Ray
# sudo bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh) --remove
## 包装内容
该脚本安装的文件符合[文件系统层次结构标准FHS](https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard)
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
## 重要提示
- 不推荐在 docker 中使用本专案安装 v2ray请直接使用[GitHub.com/V2fly/docker](https://github.com/v2fly/docker)
- 如果官方映象不能满足您自定义安装的需要,请以 复刻并修改上游 dockerfile 的方式来实现
- 本专案不会为您自动生成配置档案;只解决使用者安装阶段遇到的问题。其他问题在这里是无法得到帮助的。
- 请在安装完成后参阅[V2fly.org](https://www.v2fly.org/)了解配置档案语法,并自己完成适合自己的配置档案。过程中可参阅社群贡献的[配置档案模板](https://github.com/v2fly/v2ray-examples)
- 提请您注意这些模板复制下来以后是需要您自己修改调整的,不能直接使用
## 记录中
- 该脚本在执行时会提供`info`和`error`等信息,请仔细阅读。
## 解决问题
- [不安装或更新 geoip.dat 和 geosite.dat](https://github.com/v2fly/fhs-install-v2ray/wiki/Do-not-install-or-update-geoip.dat-and-geosite.dat)
- [使用证书时权限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates)
- [从旧脚本迁移至此](https://github.com/v2fly/fhs-install-v2ray/wiki/Migrate-from-the-old-script-to-this)
- [将 .dat 文档由 lib 目录移动到 share 目录](https://github.com/v2fly/fhs-install-v2ray/wiki/Move-.dat-files-from-lib-directory-to-share-directory)
- [使用 VLESS 协议](https://github.com/v2fly/fhs-install-v2ray/wiki/To-use-the-VLESS-protocol)
> 若您的问题没有在上方列出,欢迎在 Issue 区提出。
**提问前请先阅读[问题63](https://github.com/v2fly/fhs-install-v2ray/issues/63),否则可能无法得到解答并被锁定。**
## 贡献
请于[开发](https://github.com/v2fly/fhs-install-v2ray/tree/develop)分支进行,以避免对主分支造成破坏。
待确定无误后,两分支将进行合并。

View File

@ -1,71 +0,0 @@
# fhs-install-v2ray
> 欲查閱以繁體中文撰寫的介紹,請訪問:[README.md](README.md)
> Bash script for installing V2Ray in operating systems such as Debian / CentOS / Fedora / openSUSE that support systemd
该脚本安装的文件符合 [Filesystem Hierarchy Standard (FHS)](https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard)
```
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
```
## 重要提示
**不推荐在 docker 中使用本项目安装 v2ray请直接使用 [官方镜像](https://github.com/v2fly/docker)。**
如果官方镜像不能满足您自定义安装的需要,请以**复刻并修改上游 dockerfile 的方式来实现**。
本项目**不会为您自动生成配置文件****只解决用户安装阶段遇到的问题**。其他问题在这里是无法得到帮助的。
请在安装完成后参阅 [文档](https://www.v2fly.org/) 了解配置文件语法,并自己完成适合自己的配置文件。过程中可参阅社区贡献的 [配置文件模板](https://github.com/v2fly/v2ray-examples)
**提请您注意这些模板复制下来以后是需要您自己修改调整的,不能直接使用**
## 使用
* 该脚本在运行时会提供 `info``error` 等信息,请仔细阅读。
### 安装和更新 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
```
### 解决问题
* 「[不安装或更新 geoip.dat 和 geosite.dat](https://github.com/v2fly/fhs-install-v2ray/wiki/Do-not-install-or-update-geoip.dat-and-geosite.dat-zh-Hans-CN)」。
* 「[使用证书时权限不足](https://github.com/v2fly/fhs-install-v2ray/wiki/Insufficient-permissions-when-using-certificates-zh-Hans-CN)」。
* 「[从旧脚本迁移至此](https://github.com/v2fly/fhs-install-v2ray/wiki/Migrate-from-the-old-script-to-this-zh-Hans-CN)」。
* 「[将 .dat 文档由 lib 目录移动到 share 目录](https://github.com/v2fly/fhs-install-v2ray/wiki/Move-.dat-files-from-lib-directory-to-share-directory-zh-Hans-CN)」。
* 「[使用 VLESS 协议](https://github.com/v2fly/fhs-install-v2ray/wiki/To-use-the-VLESS-protocol-zh-Hans-CN)」。
> 若您的问题没有在上方列出,欢迎在 Issue 区提出。
**提问前请先阅读 [Issue #63](https://github.com/v2fly/fhs-install-v2ray/issues/63),否则可能无法得到解答并被锁定。**
## 贡献
请于 [develop](https://github.com/v2fly/fhs-install-v2ray/tree/develop) 分支进行,以避免对主分支造成破坏。
待确定无误后,两分支将进行合并。