常用的VPS测试和实用脚本整合

整合了一些常用VPS脚本,方便使用的时候找,不定期更新。

测速跑分类

IP质量体检(结尾加-4或-6单独检测V4或V6):

bash <(curl -Ls IP.Check.Place)
融合怪全面测试:
bash <(wget -qO- bash.spiritlhl.net/ecs)
curl -L https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh
curl -L https://github.com/spiritLHLS/ecs/raw/main/ecs.sh -o ecs.sh && chmod +x ecs.sh && bash ecs.sh

大综合脚本:

wget -O box.sh https://raw.githubusercontent.com/BlueSkyXN/SKY-BOX/main/box.sh && chmod +x box.sh && clear && ./box.sh

国内三网全面测速:

bash <(wget -qO- bash.spiritlhl.net/ecs-net)
bash <(wget -qO- https://bench.im/hyperspeed)
bash <(curl -sL bash.icu/speedtest)
bash <(curl -Lso- https://git.io/superspeed_uxh)

三网回程路由测试:

curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh

CPU性能专项测试(多核将分别显示单核和多核成绩):

wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh && chmod +x unixbench.sh && ./unixbench.sh

YABS脚本,综合测试,包含IO数据世界各地节点速度和CPU性能:

curl -sL yabs.sh | bash

 

实用脚本类

一键安装BBR/BBR plus/锐速(先安装加速的内核,再执行选择开启加速):

wget "https://github.com/cx9208/Linux-NetSpeed/raw/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

宝塔面板一键安装(7.1和5.9版本)

Centos安装7.1命令:

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh

debian安装7.1命令:

wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh

Centos安装5.9命令:

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh

debian安装5.9命令:

wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh

 

重装系统DD脚本

一键DD成Win2012(用户名:Administrator 密码:WinSrv2012r2x64-Chinese)

wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'http://down.80host.com/iso/dd/WinSrv2012r2x64-Chinese.vhd.gz'

一键DD成debian脚本(系统编号可改,密码可改) :

bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 9 -v 64 -p 'ddlinux' -a -firmware

一键DD成debian12脚本:

bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 12 -v 64 -p "密码" -port "端口"
或者
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O reinstall.sh $_
bash reinstall.sh debian 12

一键DD成debian12脚本(国内可用):

curl -O https://gitlab.com/bin456789/reinstall/-/raw/main/reinstall.sh || wget -O reinstall.sh $_
bash reinstall.sh debian 12

DD后安装必要软件和开启BBR

apt-get install wget curl vim sudo unzip -y
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
lsmod | grep bbr

解决debian安装vim编辑报错

echo set clipboard=unnamed >> ~/.vimrc

debian12改端口

vim /etc/ssh/sshd_config
ufw allow 端口号
systemctl restart sshd

一键增加swap

  sudo bash -c 'fallocate -l 1G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && grep -qxF "/swapfile none swap sw 0 0" /etc/fstab || echo "/swapfile none swap sw 0 0" | tee -a /etc/fstab'

评论

  1. loc
    5 年前
    2019-12-26 15:59:47

    mark,挺有用

    • lark
      博主
      loc
      5 年前
      2019-12-26 16:00:37

      谢谢

  2. cy
    5 年前
    2019-11-24 17:02:52

    pr上试了试锐速,丢包5暴涨到10,延迟170暴涨到200…我不知道该说什么(卸载之后丢包恢复了,延迟没恢复…)

    • lark
      博主
      cy
      5 年前
      2019-11-24 22:06:00

      实测下来PR用BBR plus还是不错的,跟没调参数的锐速接近,不过PR加这两天好像炸了,去程疯狂丢包,回程速度不到上周的一半

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇