Linux下杂七杂八的脚本备份
虽然都是放在了FinalShell的脚本栏里面,但谁知道会不会哪天丢掉呢?
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