USERID=a4100ea3-d5bc-4dd6-b02a-a55321fb0bcc USERNAME=username PASSWORD=password yum install -y ntpdate yum install -y vim yum install -y wget ntpdate time.nist.gov ntpdate time.nuri.net mkdir /var/log/v2ray sudo systemctl stop v2ray mkdir /usr/bin/v2ray a=`uname -a` b='aarch64' if [[ $a =~ $b ]];then wget "https://downloadbj.kuajingvs.com/iprocket-ypc/1.0.1/arm/v2ray" -O /usr/bin/v2ray/v2ray wget "https://downloadbj.kuajingvs.com/iprocket-ypc/1.0.1/arm/v2ctl" -O /usr/bin/v2ray/v2ctl else wget "https://downloadbj.kuajingvs.com/iprocket-ypc/1.0.1/x86/v2ray" -O /usr/bin/v2ray/v2ray wget "https://downloadbj.kuajingvs.com/iprocket-ypc/1.0.1/x86/v2ctl" -O /usr/bin/v2ray/v2ctl fi chmod +x /usr/bin/v2ray/v2ray chmod +x /usr/bin/v2ray/v2ctl cat > /etc/systemd/system/v2ray.service < /etc/v2ray/config.json < /sys/class/net/eth0/mtu # 永久更改 cat >> /etc/sysctl.conf <> /etc/sysconfig/network-scripts/ifcfg-eth0 < ~/.ssh/authorized_keys <