常用VPS脚本
#常用 vps 脚本合集
##1、系统重装脚本
自用vps一键脚本工具箱
1、一个脚本搞定大部分需求,支持多种系统重装场景:
curl -fssl https://raw.githubusercontent.com/eooce/ssh_tool/main/ssh_tool.sh -o ssh_tool.sh && chmod +x ssh_tool.sh && ./ssh_tool.sh 或
wget -qo ssh_tool.sh https://raw.githubusercontent.com/eooce/ssh_tool/main/ssh_tool.sh && chmod +x ssh_tool.sh && ./ssh_tool.sh
自定义强大脚本(支持多种dd方式)
先下载脚本,再根据需求填入镜像地址执行:
curl -o https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -o reinstall.sh $_执行方式1(dd镜像格式):
bash reinstall.sh dd --img "系统镜像直链gz等格式"执行方式2(windows系统iso格式):
bash reinstall.sh windows --image-name "windows 10 enterprise ltsc 2021" --password "你的自定义密码" --iso "系统镜像直链ios格式"史上最强脚本(linux系统)
wget --no-check-certificate -qo installnet.sh 'https://raw.githubusercontent.com/leitbogioro/tools/master/linux_reinstall/installnet.sh' && chmod a+x installnet.sh && bash installnet.sh -debian 12 -pwd'password'萌咖大佬的脚本
bash <(wget --no-check-certificate -qo- 'https://raw.githubusercontent.com/moeclub/note/master/installnet.sh') -d 11 -v 64 -p 密码 -port 端口 -a -firmwarebeta.gs 大佬的脚本
wget --no-check-certificate -o newreinstall.sh https://raw.githubusercontent.com/fcurrk/reinstall/master/newreinstall.sh && chmod a+x newreinstall.sh && bash newreinstall.sh dd windows 系统
bash <(curl -ssl https://raw.githubusercontent.com/leitbogioro/tools/master/linux_reinstall/installnet.sh) -windows 10 -lang "cn"• 账户:administrator
• 密码:teddysun.com
• 激活命令(powershell中执行):
irm https://get.activated.win | iex 2、综合测试脚本
bench.sh
wget -qo- bench.sh | bash lemonbench(快速模式)
wget -qo- https://raw.githubusercontent.com/lemonbench/lemonbench/main/lemonbench.sh | bash -s -- --fast 融合怪
bash <(wget -qo- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh) nodebench
bash <(curl -sl https://raw.githubusercontent.com/lloydasp/nodebench/main/nodebench.sh) 3、性能测试
yabs(全量测试)
curl -sl yabs.sh | bash 跳过网络,仅测 gb5
curl -sl yabs.sh | bash -s -- -i5跳过网络和磁盘,仅测 gb5
curl -sl yabs.sh | bash -s -- -if5改测 gb5 不测 gb6
curl -sl yabs.sh | bash -s -- -54、流媒体及 ip 质量测试
最常用版本
bash <(curl -l -s check.unlock.media) 原生检测脚本
bash <(curl -sl media.check.place) 准确度最高
bash <(curl -l -s https://github.com/1-stream/regionrestrictioncheck/raw/main/check.sh) ip 质量体检脚本
bash <(curl -sl ip.check.place) 一键修改解锁 dns
wget https://raw.githubusercontent.com/jimmyzxk/dns-alice-unlock/refs/heads/main/dns-unlock.sh && bash dns-unlock.sh5、测速脚本
speedtest
bash <(curl -sl bash.icu/speedtest) taier
bash <(curl -sl res.yserver.ink/taier.sh) hyperspeed
bash <(curl -lso- https://bench.im/hyperspeed) 全球测速
wget -qo- nws.sh | bash 区域速度测试
wget -qo- nws.sh | bash -s -- -r region_nameping 和路由测试
wget-qo-nws.sh | bash-s---rt[region]6、回程测试
直接显示回程(小白友好)
curl https://raw.githubusercontent.com/ludashi2020/backtrace/main/install.sh -ssf | sh 回程详细测试(推荐)
wget -n --no-check-certificate https://raw.githubusercontent.com/chennhaoo/shell_bash/master/autotrace.sh && chmod +x autotrace.sh && bash autotrace.sh 或
wget https://ghproxy.com/https://raw.githubusercontent.com/vpsxb/testrace/main/testrace.sh -o testrace.sh && bash testrace.sh7、功能脚本
添加 swap
wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh fail2ban 安装
wget --no-check-certificate https://raw.githubusercontent.com/functionclub/fail2ban/master/fail2ban.sh && bash fail2ban.sh 2>&1 | tee fail2ban.log一键开启 bbr(适用于较新 debian、ubuntu)
echo"net.core.default_qdisc=fq" >> /etc/sysctl.conf echo"net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf sysctl -p sysctl net.ipv4.tcp_available_congestion_control lsmod | grep bbr多功能 bbr 安装脚本
wget -n --no-check-certificate "https://gist.github.com/zeruns/a0ec603f20d1b86de6a774a8ba27588f/raw/4f9957ae23f5efb2bb7c57a198ae2cffebfb1c56/tcp.sh" && chmod +x tcp.sh && ./tcp.sh锐速 / bbrplus/bbr2/bbr3
wget -o tcpx.sh "https://github.com/ylx2016/linux-netspeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.shtcp 窗口调优
wget http://sh.nekoneko.cloud/tools.sh -o tools.sh && bash tools.sh 添加 warp
wget -n https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh [option] [lisence/url/token]25 端口开放测试
telnet smtp.aol.com 258、一键安装常用环境及软件
docker
bash <(curl -sl 'https://get.docker.com')python
curl -o https://raw.githubusercontent.com/lx969788249/lxspacepy/master/pyinstall.sh && chmod +x pyinstall.sh && ./pyinstall.shiperf3
apt install iperf3 realm
bash <(curl -l https://raw.githubusercontent.com/zhouh047/realm-oneclick-install/main/realm.sh) -i gost
wget --no-check-certificate -o gost.sh https://raw.githubusercontent.com/qqrrooty/ezgost/main/gost.sh && chmod +x gost.sh && ./gost.sh极光面板
bash <(curl -fssl https://raw.githubusercontent.com/aurora-admin-panel/deploy/main/install.sh)哪吒监控
curl -l https://raw.githubusercontent.com/naiba/nezha/master/script/install.sh -o nezha.sh && chmod +x nezha.sh && sudo ./nezha.sh warp
wget -n https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sharia2
wget -n git.io/aria2.sh && chmod +x aria2.sh && ./aria2.sh宝塔面板
wget -o install.sh http://v7.hostcli.com/install/install-ubuntu_6.0.sh && sudo bash install.sh 1panel
bash -c "$(curl -sSL https://resource.fit2cloud.com/1panel/package/v2/quick_start.sh)"pve 虚拟化
bash <(wget -qo- --no-check-certificate https://raw.githubusercontent.com/oneclickvirt/pve/main/scripts/build_backend.sh) argox
bash <(wget -qo- https://raw.githubusercontent.com/fscarmen/argox/main/argox.sh)9、综合功能脚本
科技 lion
apt update -y && apt install -y curl bash <(curl -sl kejilion.sh) sky-box
wget -o box.sh https://raw.githubusercontent.com/blueskyxn/sky-box/main/box.sh && chmod +x box.sh && clear && ./box.sh
#电脑软件(16)#小技巧(21)
文章作者:Ming
文章链接:https://11ao.cn/archives/6dFLOa2w
版权声明:本博客所有文章除特别声明外,均采用CC BY-NC-SA 4.0 许可协议,转载请注明出处!