前言

除了之前的一键更换系统源,再加了几个常用脚本

更换系统源

Linux/CentOS/Ubuntu/Debian VPS一键更换软件源脚本【大陆VPS必备脚本】

流媒体解锁测试

wget -O mt.sh https://raw.githubusercontent.com/BlueSkyXN/ChangeSource/master/mt.sh && chmod +x mt.sh && clear && ./mt.sh

路由追踪测试

wget -O besttrace https://raw.githubusercontent.com/BlueSkyXN/ChangeSource/master/besttrace && chmod +x besttrace && clear

运行

./besttrace

网速测试

wget -O speedtest https://raw.githubusercontent.com/BlueSkyXN/ChangeSource/master/speedtest && chmod +x speedtest && clear

运行

注意需要:./speedtest

./speedtest

官方安装(C7)

sudo yum install wget
wget https://bintray.com/ookla/rhel/rpm -O bintray-ookla-rhel.repo
sudo mv bintray-ookla-rhel.repo /etc/yum.repos.d/
# Other non-official binaries will conflict with Speedtest CLI
# Example how to remove using yum
# rpm -qa | grep speedtest | xargs -I {} sudo yum -y remove {}
sudo yum install speedtest -y

官方介绍命令

Usage: speedtest []
-h, --help Print usage information
-V, --version Print version number
-L, --servers List nearest servers
-s, --server-id=# Specify a server from the server list using its
id
-I, --interface=ARG Attempt to bind to the specified interface when
connecting to servers
-i, --ip=ARG Attempt to bind to the specified IP address when
connecting to servers
-o, --host=ARG Specify a server, from the server list, using it
s host's fully qualified domain name
-p, --progress=yes|no Enable or disable progress bar (Note: only avail
able for 'human-readable'
or 'json' and defaults to yes when interactive)
-P, --precision=# Number of decimals to use (0-8, default=2)
-f, --format=ARG Output format (see below for valid formats)
-u, --unit[=ARG] Output unit for displaying speeds (Note: this is
only applicable
for ‘human-readable’ output format and the defau
lt unit is Mbps)
-a Shortcut for [-u auto-decimal-bits]
-A Shortcut for [-u auto-decimal-bytes]
-b Shortcut for [-u auto-binary-bits]
-B Shortcut for [-u auto-binary-bytes]
--selection-details Show server selection details
--ca-certificate=ARG CA Certificate bundle path
-v Logging verbosity. Specify multiple times for hi
gher verbosity
--output-header Show output header for CSV and TSV formats

典型命令

查看附近的测速点

./speedtest -L
speedtest -L

指定测速点为XXXX号进行测速

./speedtest -s xxxx
speedtest -s xxxx

常用测速点

【内为旧金山DO测速】
US西-加州圣何塞-15786:Sprint【8.2G下2G上】
US西-加州旧金山-14236:Frontier【5G下2G上】
US西-加州圣克拉拉-25606:Next Level Networks【8.7G下2G上】
US西-加州費利蒙-6468:Tekify Fiber & Wireless6468【4.9G下2G上】
US中-堪州霍利鲁德-22144:H&B Communications【1G上下】
US中-堪州米尔顿韦尔-6889:Twin Valley Communications【6.5G下2G上】
US东-弗州阿什本-17383:Windstream【8.4G下1G上】
US东-弗州阿什本-5132 :Shentel Service Company【5.5G下1G上】
JP-东京-28910:fdcservers.net【5.2G下0.7G上】
SG-新加坡-13623:Singtel【4.2G下0.4G上】
SG-新加坡-2054:Viewqwest Pte Ltd
DE-纽伦堡-8099:10G-Server.com 【5.1G下0.5G上】
DE-纽伦堡-20478:Contabo【1.6G下0.5G上】
DE-波斯特鲍尔亨-6334:Brandl Services GmbH【3.3G下0.5G上】
KR-首尔-6527:kdatacenter.com【250M下360M上】
RU-海参崴-20951:Zelenaya.net【测不出来速度】
HK-香港-22126:i3D.net【2.3G下0.4G上】
HK-香港-37390:HGC【4.5G下0.5G上】
TW-台北大安-38330:Taiwan Mobile【3G下0.5G上】
FR-巴黎-24215:ORANGE FRANCE【1.4G下0.5G上】
FR-巴黎-10676:Asthriona【1.8G下0.5G上】

点击数:151