手动部署

  1. 下载 XrayR-linux-64.zip

  2. 新建目录

    1
    mkdir -p /etc/XrayR/
  3. 把刚下的压缩包丢进去,并解压

  4. 配置 config.yml

  5. 安装 screen

    1
    apk add screen

    如果装不上请先关掉 IPv6

    1
    sysctl net.ipv6.conf.all.disable_ipv6=1

    打开 IPv6

    1
    sysctl net.ipv6.conf.all.disable_ipv6=0
  6. 输入 screen 命令创建窗口,并运行以下命令

    1
    cd /etc/XrayR;./XrayR --config config.yml

脚本部署

  1. 安装

    1
    wget -N https://github.com/Cd1s/alpineXrayR/releases/download/one-click/install-xrayr.sh && chmod +x install-xrayr.sh && bash install-xrayr.sh
  2. 设置重启自启

    1
    /etc/init.d/XrayR restart

    1
    rc-service XrayR restart