linux dd#
PS:自定義密碼直接 -p 你想要的密碼就行!!!#
部分機器需要設置網卡,否則可以 VNC,但是不能遠程 SSH
-firmware 額外的驅動支持
-d Debian系統 後面是系統版本號
-c Centos系統 後面是系統版本號
-v 後面寫64位 32位
-a auto,全自動無人值守安裝
--mirror 後面是鏡像源地址
-p 後面寫自定義密碼
–ip-addr ifconfig -a 後獲取到的 例:194.87.xxx.xxx
–ip-gate route -n 後獲取到的 例 194.87.xxx.xxx
–ip-mask 255.255.xxx.xx
甲骨文、三毛、Vir、RN 等大部分 VPS 通用,三毛、甲骨文 記得去掉 -firmware#
舊
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a -firmware -p 自定義密碼
新
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p 密碼 -port 端口 -a -firmware
PS: 如果你是腾讯云記得卸載組件 否則會導致報錯 DD 失敗#
systemctl stop tat_agent
systemctl disable tat_agent
rm -rf /etc/systemd/system/tat_agent.service
rm -fr /usr/local/qcloud
ps -A | grep agent
# 檢查看是否還有腾讯云組件
# kill 這個進程
國內 VPS 需要更換鏡像源否則很慢!我這裡使用的華為源,如果你是腾讯云後面可以換成內網源,節省流量,下面有寫!#
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a --mirror 'https://mirrors.huaweicloud.com/debian/' -p 自定義密碼
鏡像站地址#
官方給出的地址列表: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/'
例子#
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p 123456 -port 10086 -a -firmware