雪落的小屋

整理了一些自己常用的脚本

2019-11-24折腾笔记CentOS脚本Linux

对于一个经常折腾 VPS 的人来说,很多脚本都是少不了的。故今天抽空来整理一下,方便自己用的时候不花时间来找。

服务器测试

Lemon Bench :

curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast

Super Bench:

wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash

Super Speed:

bash <(curl -Lso- https://git.io/superspeed)

防火墙

systemctl start firewalld
 
systemctl stop firewalld
 
systemctl status firewalld
 
systemctl disable firewalld
 
systemctl enable firewalld

宝塔

不必多说= =

# centos7
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
# Debian
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh

Aria2

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/aria2.sh && chmod +x aria2.sh && bash aria2.sh

配合AriaNghttps://github.com/mayswind/AriaNg/releases