diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml index 59114d9..52037cd 100644 --- a/.github/workflows/readme.yml +++ b/.github/workflows/readme.yml @@ -1,5 +1,5 @@ # https://github.com/dephraiim/translate-readme -name: Translate Readme +name: Translate README on: push: @@ -17,12 +17,16 @@ jobs: with: node-version: 12.x # Temporarily using my own fork, but use dephraiim/translate-readme@main for stable - - name: Adding English Readme + - name: Adding English README uses: benjaminchodroff/translate-readme@main with: lang: en - - name: Adding Chinese (Simplified) Readme + - 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 diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 0eb0763..0000000 --- a/README.en.md +++ /dev/null @@ -1,63 +0,0 @@ -# fhs-install-v2ray - -> To view the introduction in simplified Chinese, please visit:[README.zh-Hans-CN.md](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 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[Official image](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**;**Only solve problems encountered by users during installation**. Other issues cannot be helped here. -Please refer to after installation[file](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**) - -## use - -- The script will provide`info`with`error`Please 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 - -- 「[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. diff --git a/README.zh-CN.md b/README.zh-CN.md deleted file mode 100644 index d66e2cd..0000000 --- a/README.zh-CN.md +++ /dev/null @@ -1,63 +0,0 @@ -# fhs-install-v2ray - -> 欲查阅以简体中文撰写的介绍,请访问:[readme.这-Hans-cn.面对](README.zh-Hans-CN.md) - -> 用于在支持systemd的Debian / CentOS / Fedora / openSUSE等操作系统中安装V2Ray的Bash脚本 - -该脚本安装的文件符合[文件系统层次结构标准(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)」。 -- 「[使用证书时权限不足](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)分支进行,以避免对主分支造成破坏。 - -待确定无误后,两分支将进行合并。 diff --git a/README.zh-Hans-CN.md b/README.zh-Hans-CN.md deleted file mode 100644 index d1f4a93..0000000 --- a/README.zh-Hans-CN.md +++ /dev/null @@ -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) 分支进行,以避免对主分支造成破坏。 - -待确定无误后,两分支将进行合并。