个人常用VPS指令and脚本
install&update
ubuntu/debian:
apt update -y
例 wget
apt-get install wget -y
centos:
yum update -y
例 wget
yum install wget -y
如果出现证书不信任的情况,在wget后加上–no-check-certificate
Aria2一键安装脚本
Githubwget -N git.io/aria2.sh && chmod +x aria2.sh && ./aria2.sh
融合怪测评脚本
Githubcurl -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
IP质量检测
bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/qzcheck.sh)
bash <(wget -qO- --no-check-certificate https://github.com/spiritLHLS/ecs/raw/main/qzcheck.sh)
锐速/BBRPLUS/BBR2
网址卸载内核版本:
wget -O tcp.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
不卸载内核版本:
wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
bench.sh
bench.shwget -qO- bench.sh | bash
或者
curl -Lso- bench.sh | bash
三网回程路由测试
三网回程路由curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh
性能测试UnixBench
teddysunwget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh chmod +x unixbench.sh ./unixbench.sh
回程线路
wget -qO- git.io/besttrace | bash
流媒体解锁
RegionRestrictionCheckbash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
bash <(curl -L -s check.unlock.media)
yabs
Githubcurl -sL yabs.sh | bash
wget -qO- yabs.sh | bash
Rustdesk
wget https://raw.githubusercontent.com/techahold/rustdeskinstall/master/install.sh
chmod +x install.sh
./install.sh
放行端口
TCP 21115-21119
UDP 21116
AMH
AMHwget https://dl.amh.sh/amh.sh && bash amh.sh
1Panel
1PanelCentOS
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sh quick_start.sh
Ubuntu
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh
Debian
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && bash quick_start.sh
宝塔面板
宝塔Debian
wget -O install.sh https://download.bt.cn/install/install_lts.sh && bash install.sh ed8484bec
Ubuntu/Deepin
wget -O install.sh https://download.bt.cn/install/install_lts.sh && sudo bash install.sh ed8484bec
通用安装脚本
url=https://download.bt.cn/install/install_lts.sh;if [ -f /usr/bin/curl ];then curl -sSO $url;else wget -O install_lts.sh $url;fi;bash install_lts.sh ed8484bec
头图
THE END