[脚本收集]常用脚本备份

[复制链接]
查看: 5763   回复: 9
发表于 2021-11-22 13:26:03 | 显示全部楼层 |阅读模式
DD 重装

· 甲骨文
  1. bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 9 -v 64 -a -firmware
复制代码

· 三毛
  1. wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/dd-gd.sh && chmod +x dd-gd.sh && ./dd-gd.sh
复制代码

· gcore
  1. wget git.io/auto.shbash auto.sh -d 9 -v 64 -a -p 密码
复制代码

· 轻量
  1. bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 10 -v 64 -a
复制代码

以上内容来自这条帖子

· 带 WebUI 可查看进度的
  1. https://raw.githubusercontent.com/flyqie/dd-shell/master/Core_Install.sh
复制代码
国内机可使用
  1. https://ghproxy.com/https://raw.githubusercontent.com/flyqie/dd-shell/master/Core_Install.sh
复制代码
感谢 @flyqie 大佬 原帖地址

最近在使用 @insightfy 大佬的(不知道为啥萌咖大佬的我DD到11 貌似没成功过这个大佬的可以)  帖子地址
  1. bash <(wget --no-check-certificate -qO- 'https://file.geekn.net/CNODnjau/InstallNET.sh') -d 11 -v 64 -a -firmware
复制代码

目前我所知道的一些参数(可能有的不准确,欢迎大佬指出)
  1. -firmware  额外的驱动支持-d             后面是系统版本号-v             后面写64位 32位-a             (不清楚这个干啥的但是每个脚本都带)--mirror     后面是镜像源地址
复制代码
-p             后面写自定义密码
  1. 镜像站地址官方给出的地址列表:https://www.debian.org/mirror/list一些国内的ftp.cn.debian.orgmirror.bjtu.edu.cnmirror.lzu.edu.cn        mirror.nju.edu.cn        mirrors.163.com        mirrors.bfsu.edu.cn        mirrors.hit.edu.cn        mirrors.huaweicloud.com        mirror.sjtu.edu.cn        mirrors.tuna.tsinghua.edu.cn        mirrors.ustc.edu.cn        使用方法:(大致都是一样的)清华源--mirror 'https://mirrors.ustc.edu.cn/debian/'腾讯源--mirror 'https://mirrors.aliyun.com/debian/'阿里源--mirror 'https://mirrors.aliyun.com/debian/'华为源--mirror 'https://mirrors.huaweicloud.com/debian/'
复制代码

宝塔面板&AApanel

Debian系统
  1. # 宝塔wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh# aapanelwget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && bash install.sh
复制代码

有次无聊看了看文件发现aapanel就是宝塔的换皮,语言换成了英语,所以破解方法一样。
  1. # 宝塔去实名认证rm -rf /www/server/panel/data/bind.pl# 宝塔&aapanel破解编辑 /www/server/panel/class/panelplugin.py找到 softList['list'] = tmpList 这行代码在下面添加以下代码,注意缩进softList['pro'] = 1for soft in softList['list']:soft['endtime'] = 0编辑完毕后保存重启面板即可
复制代码

常用脚本

一键开启BBR
  1. echo "net.core.default_qdisc=fq" >> /etc/sysctl.confecho "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.confsysctl -psysctl net.ipv4.tcp_available_congestion_controllsmod | grep bbr
复制代码

superbench
  1. wget -qO- git.io/superbench.sh | bash
复制代码

Bench.sh
  1. wget -qO- bench.sh | bash
复制代码

三网测速
  1. bash <(curl -Lso- http://yun.789888.xyz/speedtest.sh)
复制代码

流媒体
  1. #第一个bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)# 第二个bash <(curl -sSL "https://github.com/CoiaPrant/MediaUnlock_Test/raw/main/check.sh")
复制代码

回程
  1. # 第一个wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.shbash testrace.sh# 第二个wget -qO- git.io/besttrace | bash
复制代码

国内机一件安装docker
  1. curl -sSL https://get.daocloud.io/docker | sh
复制代码
卸载docker
  1. sudo apt-get remove docker docker-enginerm -fr /var/lib/docker/
复制代码
国内机安装docker-compose
  1. curl -L https://get.daocloud.io/docker/compose/releases/download/v2.1.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-composechmod +x /usr/local/bin/docker-compose
复制代码
回复

使用道具 举报

发表于 2021-11-22 13:26:54 | 显示全部楼层
支持一下了!
回复 支持 反对

使用道具 举报

发表于 2021-11-22 13:27:06 | 显示全部楼层
不错  里面也有我常用的
回复 支持 反对

使用道具 举报

发表于 2021-11-22 13:27:59 | 显示全部楼层
不错 收藏了[脚本收集]常用脚本备份
回复 支持 反对

使用道具 举报

发表于 2021-11-22 13:28:34 | 显示全部楼层
不错 收藏一下脚本
回复 支持 反对

使用道具 举报

发表于 2021-11-22 13:29:00 | 显示全部楼层
谢谢,已收藏
回复 支持 反对

使用道具 举报

发表于 2021-11-22 13:29:50 | 显示全部楼层
很有用,已收藏
回复 支持 反对

使用道具 举报

发表于 2021-11-22 13:30:37 | 显示全部楼层
很有用,马上手动采集
回复 支持 反对

使用道具 举报

发表于 2021-11-22 13:31:10 | 显示全部楼层
谢谢分享,已收藏
回复 支持 反对

使用道具 举报

发表于 2021-11-22 13:31:38 | 显示全部楼层
收藏
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则