收集一些自用的shell脚本,适用于懒人使用。 https://tu.21t.co https://cdn.jsdelivr.net/gh/rptecs/vps-shell/
curl -o dns.sh https://raw.githubusercontent.com/rptecs/vps-shell/master/dns.sh && chmod 777 dns.sh && ./dns.sh
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 12 -v 64 -p "passwd" -port "22"
参数说明 -d 10为 全新安装Debian10 -c 6为全新安装centos 6,其他依次类推。其中 passwd请替换为你自己的密码 以下系统已通过测试:Debian: 9, 10, 11,12;Ubuntu: 18.04, 20.04,22.04;CentOS: 6,7,8; 以下平台已通过测试:Oracle(包括ARM)、Do、Azure
或者
wget -O AutoReinstall.sh https://git.io/AutoReinstall.sh && bash AutoReinstall.sh
Password: Pwd@Linux
wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/dd-gd.sh && chmod +x dd-gd.sh && ./dd-gd.sh
wget -O install.sh http://download.moetas.com/install/install-ubuntu_6.0.sh && bash install.sh
wget -O install.sh http://download.moetas.com/ltd/install/install-ubuntu_6.0.sh && bash install.sh
bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
bash <(curl -sSL "https://github.com/CoiaPrant/MediaUnlock_Test/raw/main/check.sh")
bash <(curl -sSL https://raw.githubusercontent.com/fscarmen/warp_unlock/main/unlock.sh)
wget -qO- git.io/superbench.sh | bash
wget -qO- bench.sh | bash
curl -sL yabs.sh | bash
bash <(curl -Lso- https://git.io/superspeed.sh)
wget https://raw.githubusercontent.com/rptecs/vps-shell/master/bench.sh && sh bench.sh
wget https://raw.githubusercontent.com/rptecs/vps-shell/master/unixbench.sh && sh unixbench.sh
curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh|bash
wget https://raw.githubusercontent.com/Har-Kuun/OneClickDesktop/master/OneClickDesktop_zh-CN.sh && sudo bash OneClickDesktop_zh-CN.sh
wget https://raw.githubusercontent.com/Har-Kuun/OneClickDesktop/master/plugins/Audio/AudioRedirectionSetup.sh && sudo bash AudioRedirectionSetup.sh
给你的linux装个桌面,适用于centos系统
wget https://raw.githubusercontent.com/rptecs/vps-shell/master/xwindow.sh && sh xwindow.sh
apt update -y ; apt upgrade -y dpkg-reconfigure locales
docker pull lscr.io/linuxserver/firefox
docker run -d \
--name=firefox \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Asia/Singapore \
-p 3000:3000 \
-v /path/to/config:/config \
--shm-size="2gb" \
--restart unless-stopped \
lscr.io/linuxserver/firefox
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
一键安装l2tp的vpn服务器端,输入3个指令即可
wget https://raw.githubusercontent.com/rptecs/vps-shell/master/l2tp.sh && sh l2tp.sh
一键安装锐速破解全功能版,不支持openvz架构
wget https://raw.githubusercontent.com/rptecs/vps-shell/master/serverspeeder.sh && sh serverspeeder.sh
一键安装finalspeed功能,支持全系架构
wget https://raw.githubusercontent.com/rptecs/vps-shell/master/finalspeed.sh && sh finalspeed.sh
wget https://raw.githubusercontent.com/rptecs/vps-shell/master/bbr.sh && sh bbr.sh
wget https://raw.githubusercontent.com/rptecs/vps-shell/master/tcp.sh && sh tcp.sh
curl -sSL https://get.docker.com/ | sh
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/LocaleCN/master/LocaleCN.sh && bash LocaleCN.sh
wget https://raw.githubusercontent.com/rptecs/vps-shell/master/swap.sh && sh swap.sh
wget -N https://raw.githubusercontent.com/kkkyg/CFwarp/main/CFwarp.sh && bash CFwarp.sh
bash <(curl -sL https://raw.githubusercontent.com/rptecs/vps-shell/master/trojangows.sh )
bash <(curl -sSL https://linuxmirrors.cn/main.sh)