常用脚本收集备份

DD 重装

PS:自定义密码直接 -p 你想要的密码就行!!!

目前我所知道的一些参数(可能有的不准确,欢迎大佬指出)

  1. -firmware       额外的驱动支持
  2. -d             后面是系统版本号
  3. -v             后面写64位 32位
  4. -a             (不清楚这个干啥的但是每个脚本都带)
  5. –mirror     后面是镜像源地址
  6. -p             后面写自定义密码

· 甲骨文

  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.sh
  2. bash auto.sh -d 9 -v 64 -a -p 密码

· DD windows

  1. wget –no-check-certificate -qO InstallNET.sh ‘https://moeclub.org/attachment/LinuxShell/InstallNET.sh’ && bash InstallNET.sh -dd ‘http://d.nat.ee/win/lite/win7-ent-sp1-x64-cn/win7-ent-sp1-x64-cn.vhd.gz’

后面的链接为windows系统直链 可以去 d.nat.ee 下载 感谢 nat.ee 大佬 大佬文章地址 新增LTSC 2021

· 轻量

  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. 镜像站地址
  2. 官方给出的地址列表:https://www.debian.org/mirror/list
  3.  
  4. 一些国内的
  5. ftp.cn.debian.org
  6. mirror.bjtu.edu.cn
  7. mirror.lzu.edu.cn       
  8. mirror.nju.edu.cn       
  9. mirrors.163.com       
  10. mirrors.bfsu.edu.cn       
  11. mirrors.hit.edu.cn       
  12. mirrors.huaweicloud.com       
  13. mirror.sjtu.edu.cn       
  14. mirrors.tuna.tsinghua.edu.cn       
  15. mirrors.ustc.edu.cn       
  16.  
  17. 使用方法:(大致都是一样的)
  18.  
  19. 清华源
  20. –mirror ‘https://mirrors.ustc.edu.cn/debian/’
  21.  
  22. 腾讯源
  23. –mirror ‘http://mirrors.tencent.com/debian/’
  24. –mirror ‘http://mirrors.cloud.tencent.com/debian/’
  25.  
  26. 腾讯源内网(dd完毕后可以修改 走内网不费额外流量)
  27. http://mirrors.tencentyun.com/
  28.  
  29. 阿里源
  30. –mirror ‘https://mirrors.aliyun.com/debian/’
  31.  
  32. 华为源
  33. –mirror ‘https://mirrors.huaweicloud.com/debian/’

宝塔面板&AApanel

Debian系统

  1. # 宝塔
  2. wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh
  3.  
  4. # aapanel
  5. wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && bash install.sh

有次无聊看了看文件发现aapanel就是宝塔的换皮,语言换成了英语,所以破解方法一样。

  1. # 宝塔去实名认证
  2. rm -rf /www/server/panel/data/bind.pl
  3.  
  4. # 宝塔&aapanel破解
  5. 编辑 /www/server/panel/class/panelplugin.py
  6. 找到 softList[‘list’] = tmpList 这行代码
  7. 在下面添加以下代码,注意缩进
  8.  
  9. softList[‘pro’] = 1
  10. for soft in softList[‘list’]:
  11. soft[‘endtime’] = 0
  12.  
  13. 编辑完毕后保存重启面板即可

常用脚本

一键开启BBR

  1. echo “net.core.default_qdisc=fq” >> /etc/sysctl.conf
  2. echo “net.ipv4.tcp_congestion_control=bbr” >> /etc/sysctl.conf
  3. sysctl -p
  4. sysctl net.ipv4.tcp_available_congestion_control
  5. lsmod | 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. #第一个
  2. bash <(curl -L -s https://raw.githubusercontent.com/lmc999/RegionRestrictionCheck/main/check.sh)
  3.  
  4. # 第二个
  5. bash <(curl -sSL “https://github.com/CoiaPrant/MediaUnlock_Test/raw/main/check.sh”)

回程

  1. # 第一个
  2. wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh
  3. bash testrace.sh
  4.  
  5. # 第二个
  6. wget -qO- git.io/besttrace | bash

国内机一键安装docker

  1. curl -sSL https://get.daocloud.io/docker | sh

卸载docker

  1. sudo apt-get remove docker docker-engine
  2. rm -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-compose
  2. chmod +x /usr/local/bin/docker-compose
© 版权声明
THE END
喜欢就支持一下吧
点赞11 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片