安装脚本是这个。
可以工作,但会遇到一堆报错,信息如下:
2022/09/02 23:28:46 223.72.41.214:8334 rejected common/drain: common/drain: unable to drain connection > EOF > proxy/vmess/encoding: invalid user > proxy/vmess: Not Found
2022/09/02 23:28:47 223.72.41.214:8336 rejected common/drain: common/drain: unable to drain connection > EOF > proxy/vmess/encoding: invalid user > proxy/vmess: Not Found
2022/09/02 23:28:51 223.72.41.214:8344 rejected common/drain: common/drain: unable to drain connection > EOF > proxy/vmess/encoding: invalid user > proxy/vmess: Not Found
在这里找到了原因,提示可能是时间错误,目前我的时区如下:
timedatectl status
Local time: Fri 2022-09-02 23:32:35 CST
Universal time: Fri 2022-09-02 15:32:35 UTC
RTC time: Fri 2022-09-02 15:32:35
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
需要修改为洛杉矶时间:
sudo timedatectl set-timezone 'America/Los_Angeles'
然后再查看下状态,发现已修改成功。
timedatectl status
Local time: Fri 2022-09-02 08:35:56 PDT
Universal time: Fri 2022-09-02 15:35:56 UTC
RTC time: Fri 2022-09-02 15:35:56
Time zone: America/Los_Angeles (PDT, -0700)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no