Xray-install
Xray-install copied to clipboard
Easiest way to install & upgrade Xray.
新版本的systemd不再推荐使用`nobody`用户。当使用nobody用户的时候systemd的日志以及`dmesg`里会出现以下报错 ``` Special user nobody configured, this is not safe! ``` systemd官方的解决方案为使用`DynamicUser=yes`代替 详见[commit](https://github.com/systemd/systemd/commit/bed0b7dfc0070e920d00c89d9a4fd4db8d974cf0)
目前这个脚本安装的 `xray.service` 只能安装到系统的 systemctl service 目录,对于不便或者不能使用 root 的场景没有很好的支持,此外在多用户场景下也使得不同用户被迫共享同一个配置文件,体验并不好。 由于 systemd 本身是有运行 user unit 的功能的,因此我在自己的电脑上,通过复制粘贴的方式,写了一个用户级 `xray.service` 给我自己使用,内容如下: ```service [Unit] Description="Xray service (user unit)" [Service] ExecStart="%h/GFW/Xray/Xray-linux-64/xray" -c "%h/GFW/Xray/Xray-linux-64/config.json" Restart=on-failure RestartPreventExitStatus=23 LimitNPROC=10000 LimitNOFILE=1000000...
Hello, i updated x-ui to 1.8, but still when i want create, i cant see vision: screenshot: https://prnt.sc/ScKnjzfXNuB9 what is solution? Thanks.
1:查看xray运行日志 是什么命令 2:xray做为客户端 我想对接连接上trojan-go config.json如何编写  这样的配置后,启动服务器后。连接不上正常的运行服务端。   系统环境是ubuntu18.04 lts
For non-systemd GNU/Linux users (e.g. Alpine, Artix, Gentoo, Void), it is currently not possible to use this script. However, the function if this script is really useful for timely upgrade....
脚本有个文本错误
help中 --logrotate 项有写 under 12:00:00 should be start with 0, e.g. 01:23:45. 这里12应该是10吧
I installed a Debian image with architecture armv8l on Android device using Linux Deploy tool, xray installation fails due to unsupported architecture, could you please add this architecture support
新的版本号能否更新一下自动兼容 谢谢
### script error ``` info: Extract the Xray package to /tmp/tmp.1uvCTRGcxf and prepare it for installation. Invalid unit name "●" escaped as "\xe2\x97\x8f" (maybe you should use systemd-escape?). Failed to...
Xray-core provides Loongson binaries, but install script doesn't handle this architecture. Adding the following case should be enough: ```sh loongarch64 ) MACHINE=loong64 ;; ``` Also, according to https://stackoverflow.com/a/78630608, there are...