mirror of
https://github.com/XTLS/Xray-install.git
synced 2025-12-10 02:09:52 +00:00
657 B
657 B
Xray-install for Alpine Linux
安装 Xray
安装 cURL
apk add curl
下载安装脚本
curl -O -L https://github.com/XTLS/Xray-install/raw/main/alpinelinux/install-release.sh
运行安装脚本
ash install-release.sh
管理命令
启用 Xray 服务 (开机自启)
rc-update add xray
禁用 Xray 服务 (取消自启)
rc-update del xray
运行 Xray
rc-service xray start
停止 Xray
rc-service xray stop
重启 Xray
rc-service xray restart