常用脚本收集备份,DD重装,甲骨文,三毛,gcore,DD windows等等

DD 重装

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

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

-firmware       额外的驱动支持

-d             后面是系统版本号

-v             后面写64位 32位

-a             (不清楚这个干啥的但是每个脚本都带)

--mirror     后面是镜像源地址

-p             后面写自定义密码

================================

· 甲骨文

bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 9 -v 64 -a -firmware

================================

· 三毛

wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/dd-gd.sh && chmod +x dd-gd.sh && ./dd-gd.sh

================================

· gcore

wget git.io/auto.sh

bash auto.sh -d 9 -v 64 -a -p 密码

================================

· DD windows

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 下载 

· 轻量

bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 10 -v 64 -a

================================

· 带 WebUI 可查看进度的

https://raw.githubusercontent.com/flyqie/dd-shell/master/Core_Install.sh

================================

国内机可使用

https://ghproxy.com/https://raw.githubusercontent.com/flyqie/dd-shell/master/Core_Install.sh

////////////////////////

bash <(wget --no-check-certificate -qO- 'https://file.geekn.net/CNODnjau/InstallNET.sh') -d 11 -v 64 -a -firmware

//////////////////////

镜像站地址

官方给出的地址列表:https://www.debian.org/mirror/list

一些国内的

ftp.cn.debian.org

mirror.bjtu.edu.cn

mirror.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 'http://mirrors.tencent.com/debian/'

--mirror 'http://mirrors.cloud.tencent.com/debian/'

腾讯源内网(dd完毕后可以修改 走内网不费额外流量)

http://mirrors.tencentyun.com/

阿里源

--mirror 'https://mirrors.aliyun.com/debian/'

华为源

--mirror 'https://mirrors.huaweicloud.com/debian/'

================================

宝塔面板&AApanel

Debian系统

# 宝塔

wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh

# aapanel

wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && bash install.sh

================================

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

# 宝塔去实名认证

rm -rf /www/server/panel/data/bind.pl

# 宝塔&aapanel破解

编辑 /www/server/panel/class/panelplugin.py

找到 softList['list'] = tmpList 这行代码

在下面添加以下代码,注意缩进

softList['pro'] = 1

for soft in softList['list']:

soft['endtime'] = 0

编辑完毕后保存重启面板即可

================================

常用脚本

一键开启BBR

echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf

echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf

sysctl -p

sysctl net.ipv4.tcp_available_congestion_control

lsmod | grep bbr

================================

superbench

wget -qO- git.io/superbench.sh | bash

================================

Bench.sh

wget -qO- bench.sh | bash

================================

三网测速

bash <(curl -Lso- http://yun.789888.xyz/speedtest.sh)

================================

流媒体

#第一个

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")

================================

回程

# 第一个

wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh

bash testrace.sh

# 第二个

wget -qO- git.io/besttrace | bash

================================

国内机一件安装docker

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

================================

卸载docker

sudo apt-get remove docker docker-engine

rm -fr /var/lib/docker/

================================

国内机安装docker-compose

curl -L https://get.daocloud.io/docker/compose/releases/download/v2.1.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

chmod +x /usr/local/bin/docker-compose

================================

You may also like

  • 摘录看新闻网站
  • 很赞同的一个普通人活法的说法
  • 121.jpg, Jan 2024 英国开个公司具体摘录
  • 天龙八部的人生,其实也是作者世界的体现
  • 社会中的十个潜规则,很有道理
  • giffgaff配合5元随身wifi一行代码实现每6个月自动发送一次短信
  • 目前很多省份的社保买了很不划算,那么怎么买才划算呢?
  • 五胡乱华135年历史,最近学习了解这里,摘录于此