{"id":400,"date":"2020-08-17T14:48:00","date_gmt":"2020-08-17T06:48:00","guid":{"rendered":"https:\/\/wp.yaanren.win\/?p=400"},"modified":"2020-08-17T14:48:00","modified_gmt":"2020-08-17T06:48:00","slug":"%e5%ae%89%e8%a3%85%e5%92%8c%e6%9b%b4%e6%96%b0-v2ray","status":"publish","type":"post","link":"https:\/\/wp.625300.xyz\/?p=400","title":{"rendered":"\u5b89\u88c5\u548c\u66f4\u65b0 V2Ray"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">fhs-install-v2ray<\/h1>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>\u8f6c\u8f7d\u81ea\uff1ahttps:\/\/github.com\/v2fly\/fhs-install-v2ray\/blob\/master\/README.zh-Hans-CN.md#fhs-install-v2ray<\/p><\/blockquote>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Bash script for installing V2Ray in operating systems such as Debian \/ CentOS \/ Fedora \/ openSUSE that support systemd<\/p><\/blockquote>\n\n\n\n<pre class=\"wp-block-code\"><code>installed: \/usr\/local\/bin\/v2ray\ninstalled: \/usr\/local\/bin\/v2ctl\ninstalled: \/usr\/local\/share\/v2ray\/geoip.dat\ninstalled: \/usr\/local\/share\/v2ray\/geosite.dat\ninstalled: \/usr\/local\/etc\/v2ray\/00_log.json\ninstalled: \/usr\/local\/etc\/v2ray\/01_api.json\ninstalled: \/usr\/local\/etc\/v2ray\/02_dns.json\ninstalled: \/usr\/local\/etc\/v2ray\/03_routing.json\ninstalled: \/usr\/local\/etc\/v2ray\/04_policy.json\ninstalled: \/usr\/local\/etc\/v2ray\/05_inbounds.json\ninstalled: \/usr\/local\/etc\/v2ray\/06_outbounds.json\ninstalled: \/usr\/local\/etc\/v2ray\/07_transport.json\ninstalled: \/usr\/local\/etc\/v2ray\/08_stats.json\ninstalled: \/usr\/local\/etc\/v2ray\/09_reverse.json\ninstalled: \/var\/log\/v2ray\/\ninstalled: \/var\/log\/v2ray\/access.log\ninstalled: \/var\/log\/v2ray\/error.log\ninstalled: \/etc\/systemd\/system\/v2ray.service\ninstalled: \/etc\/systemd\/system\/v2ray@.service\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/blob\/master\/README.zh-Hans-CN.md#%E4%BE%9D%E8%B5%96%E8%BD%AF%E4%BB%B6\"><\/a>\u4f9d\u8d56\u8f6f\u4ef6<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/blob\/master\/README.zh-Hans-CN.md#%E5%AE%89%E8%A3%85-curl\"><\/a>\u5b89\u88c5 cURL<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># apt update\n# apt install curl\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">or<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># yum makecache\n# yum install curl\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">or<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># dnf makecache\n# dnf install curl\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">or<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># zypper refresh\n# zypper install curl\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/blob\/master\/README.zh-Hans-CN.md#%E4%B8%8B%E8%BD%BD\"><\/a>\u4e0b\u8f7d<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code># curl -O https:\/\/raw.githubusercontent.com\/v2fly\/fhs-install-v2ray\/master\/install-release.sh\n# curl -O https:\/\/raw.githubusercontent.com\/v2fly\/fhs-install-v2ray\/master\/install-dat-release.sh\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/blob\/master\/README.zh-Hans-CN.md#%E4%BD%BF%E7%94%A8\"><\/a>\u4f7f\u7528<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>\u8be5\u811a\u672c\u5728\u8fd0\u884c\u65f6\u4f1a\u63d0\u4f9b&nbsp;<code>info<\/code>&nbsp;\u548c&nbsp;<code>error<\/code>&nbsp;\u7b49\u4fe1\u606f\uff0c\u8bf7\u4ed4\u7ec6\u9605\u8bfb\u3002<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/blob\/master\/README.zh-Hans-CN.md#%E5%AE%89%E8%A3%85%E5%92%8C%E6%9B%B4%E6%96%B0-v2ray\"><\/a>\u5b89\u88c5\u548c\u66f4\u65b0 V2Ray<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># bash install-release.sh\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/blob\/master\/README.zh-Hans-CN.md#%E5%AE%89%E8%A3%85%E6%9C%80%E6%96%B0%E5%8F%91%E8%A1%8C%E7%9A%84-geoipdat-%E5%92%8C-geositedat\"><\/a>\u5b89\u88c5\u6700\u65b0\u53d1\u884c\u7684 geoip.dat \u548c geosite.dat<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># bash install-dat-release.sh\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/blob\/master\/README.zh-Hans-CN.md#%E7%A7%BB%E9%99%A4-v2ray\"><\/a>\u79fb\u9664 V2Ray<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># bash install-release.sh --remove\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/blob\/master\/README.zh-Hans-CN.md#%E8%A7%A3%E5%86%B3%E9%97%AE%E9%A2%98\"><\/a>\u89e3\u51b3\u95ee\u9898<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u300c<a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/wiki\/Do-not-install-or-update-geoip.dat-and-geosite.dat-zh-Hans-CN\">\u4e0d\u5b89\u88c5\u6216\u66f4\u65b0 geoip.dat \u548c geosite.dat<\/a>\u300d\u3002<\/li><li>\u300c<a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/wiki\/Insufficient-permissions-when-using-certificates-zh-Hans-CN\">\u4f7f\u7528\u8bc1\u4e66\u65f6\u6743\u9650\u4e0d\u8db3<\/a>\u300d\u3002<\/li><li>\u300c<a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/wiki\/Migrate-from-the-old-script-to-this-zh-Hans-CN\">\u4ece\u65e7\u811a\u672c\u8fc1\u79fb\u81f3\u6b64<\/a>\u300d\u3002<\/li><li>\u300c<a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/wiki\/Move-.dat-files-from-lib-directory-to-share-directory-zh-Hans-CN\">\u5c06 .dat \u6587\u6863\u7531 lib \u76ee\u5f55\u79fb\u52a8\u5230 share \u76ee\u5f55<\/a>\u300d\u3002<\/li><li>\u300c<a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/wiki\/To-use-the-VLESS-protocol-zh-Hans-CN\">\u4f7f\u7528 VLESS \u534f\u8bae<\/a>\u300d\u3002<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/v2fly\/fhs-install-v2ray\/blob\/master\/README.zh-Hans-CN.md#%E5%8F%82%E6%95%B0\"><\/a>\u53c2\u6570<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>usage: install-release.sh &#91;--remove | --version number | -c | -f | -h | -l | -p]\n  &#91;-p address] &#91;--version number | -c | -f]\n  --remove        Remove V2Ray\n  --version       Install the specified version of V2Ray, e.g., --version v4.18.0\n  -c, --check     Check if V2Ray can be updated\n  -f, --force     Force installation of the latest version of V2Ray\n  -h, --help      Show help\n  -l, --local     Install V2Ray from a local file\n  -p, --proxy     Download through a proxy server, e.g., -p http:\/\/127.0.0.1:8118 or -p socks5:\/\/127.0.0.1:1080\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>fhs-install-v2ray \u8f6c\u8f7d\u81ea\uff1ahttps:\/\/github.com\/v2fly\/fhs-inst&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[],"class_list":["post-400","post","type-post","status-publish","format-standard","hentry","category-v2ray"],"_links":{"self":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts\/400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=400"}],"version-history":[{"count":0,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts\/400\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}