Loading

博主常用脚本

1-服务器DD脚本

国外机器

bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p 密码 -port 端口 -a -firmware

国内参考:https://git.beta.gs/

2-测试服务器网络回程

wget -qO- git.io/besttrace | bash

3-服务器bench测试脚本

wget -qO- bench.sh | bash
curl -Lso- bench.sh | bash
wget -qO- sb.oldking.net | bash

4-Docker安装

国外

curl -sSL https://get.docker.com/ | sh

国内

curl -sSL https://get.daocloud.io/docker | sh
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/DockerInstallation.sh)

5-卸载宝塔

wget http://download.bt.cn/install/bt-uninstall.sh && bash bt-uninstall.sh

6-Linux换源

bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)

7-Docker-compose安装

bash <(curl -sL https://gitee.com/upy/shell/raw/master/docker-componse-install.sh)

8-修改默认ssh端口

sed -i 's/#Port\ 22/Port\ 2222/' /etc/ssh/sshd_config && systemctl reload sshd

参考:

所有脚本均从网络收集而来,均非原创!
https://gitee.com/SuperManito/LinuxMirrors

posted @ 2021-05-17 11:59  sstu  阅读(419)  评论(1编辑  收藏  举报