Linux下常用一键脚本
收集了一些常用的Linux一键脚本
BBR
1 | wget --no-check-certificate -O /opt/bbr.sh https://github.com/teddysun/across/raw/master/bbr.sh |
流媒体检测
1 | bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh) |
甲骨文一键重装Debian 11
1 | bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p "自定义root密码" -port "自定义ssh端口" |
查看用密码登陆成功的IP地址及次数
1 | grep "Accepted password for root" /var/log/auth.log | awk '{print $11}' | sort | uniq -c | sort -nr | more |
查看用密码登陆失败的IP地址及次数
1 | grep "Failed password for root" /var/log/auth.log | awk '{print $11}' | sort | uniq -c | sort -nr | more |
一键添加swap
1 | wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh |
Docker安装
1 | curl -fsSL https://get.docker.com | bash -s docker |
Netflix解锁检测
1 | wget -O nf https://github.com/sjlleo/netflix-verify/releases/download/2.6/nf_2.6_linux_amd64 && chmod +x nf && clear && ./nf |
网络线路检测
1 | curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh |bash |
bench
1 | wget -qO- bench.sh | bash |
长期更新中…