Linux下杂七杂八的脚本备份【转载】
DD类
wget --no-check-certificate -O AutoReinstall.sh https://git.io/AutoReinstall.sh && bash AutoReinstall.
wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/dd-od.sh && chmod +x dd-od.sh && ./dd-od.sh
wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/dd-gd.sh && chmod +x dd-gd.sh && ./dd-gd.sh
Centos6/7使用时候需要注意掩码对不对!!! 掩码不可能是255.255.255.255
加速类
wget -N --no-check-certificate "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
测速类
bash <(curl -Lso- https://git.io/superspeed)
SWAP脚本
wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh
探针
wget https://raw.githubusercontent.com/CokeMine/ServerStatus-Hotaru/master/status.sh && bash status.sh s
Gost转发
wget --no-check-certificate https://zhujiget.com/wp-content/uploads/sh/ghost.sh && chmod +x ghost.sh && ./ghost.sh
Centos7安装常用套件
yum install wget curl unzip net-tools screen iperf3 python3 tcptraceroute bc screen bind-utils python3 -y
pip3 install requests
wget https://www.shinenet.cn/besttrace4linux.zip
mkdir besttrace
cd besttrace
unzip ../besttrace4linux.zip
chmod a+x besttrace
cp besttrace /usr/bin/besttrace
cd ..
rm -rf besttrace
cd /usr/bin
wget -O tcping https://www.shinenet.cn/tcping
chmod a+x tcping
cd /root
本文作者:卖女孩的小火柴 原文链接:https://www.shinenet.cn/archives/147.html
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 七云's Blog!