找一个适合自己线路的vps,可以使用smoke ping工具监视线路运行情况。
修改时区
使用tzselect工具,选择北京时间
ubuntu@arm:~$ tzselect
Please identify a location so that time zone rules can be set correctly.
Please select a continent, ocean, "coord", or "TZ".
1) Africa
2) Americas
3) Antarctica
4) Asia
5) Atlantic Ocean
6) Australia
7) Europe
8) Indian Ocean
9) Pacific Ocean
10) coord - I want to use geographical coordinates.
11) TZ - I want to specify the timezone using the Posix TZ format.
#? 4
Please select a country whose clocks agree with yours.
1) Afghanistan 20) Iran 39) Palestine
2) Antarctica 21) Iraq 40) Philippines
3) Armenia 22) Israel 41) Qatar
4) Azerbaijan 23) Japan 42) Russia
5) Bahrain 24) Jordan 43) Réunion
6) Bangladesh 25) Kazakhstan 44) Saudi Arabia
7) Bhutan 26) Korea (North) 45) Seychelles
8) Brunei 27) Korea (South) 46) Singapore
9) Cambodia 28) Kuwait 47) Sri Lanka
10) China 29) Kyrgyzstan 48) Syria
11) Christmas Island 30) Laos 49) Taiwan
12) Cocos (Keeling) Islands 31) Lebanon 50) Tajikistan
13) Cyprus 32) Macau 51) Thailand
14) East Timor 33) Malaysia 52) Turkmenistan
15) French Southern & Antarctic Lands 34) Mongolia 53) United Arab Emirates
16) Georgia 35) Myanmar (Burma) 54) Uzbekistan
17) Hong Kong 36) Nepal 55) Vietnam
18) India 37) Oman 56) Yemen
19) Indonesia 38) Pakistan
#? 10
Please select one of the following timezones.
1) Beijing Time
2) Xinjiang Time, Vostok
#? 1
The following information has been given:
China
Beijing Time
Therefore TZ='Asia/Shanghai' will be used.
Selected time is now: Wed Nov 16 14:34:51 CST 2022.
Universal Time is now: Wed Nov 16 06:34:51 UTC 2022.
Is the above information OK?
1) Yes
2) No
#? Yes
Please enter a number in range.
#? 1
You can make this change permanent for yourself by appending the line
TZ='Asia/Shanghai'; export TZ
to the file '.profile' in your home directory; then log out and log in again.
Here is that TZ value again, this time on standard output so that you
can use the /usr/bin/tzselect command in shell scripts:
Asia/Shanghai
修改时区永久生效:
echo "TZ='Asia/Shanghai'; export TZ" >> ~/.profile
传输优化
给vps安装bbr,锐速等。可使用秋水大佬脚本
域名解析
把域名解析到vps
安装blockGFW
阻断防火墙探测
安装工具
可以使用vless一键脚本安装。推荐233大佬的脚本:
bash <(curl -s -L https://git.io/v2ray.sh)