linux dd#
PS: Custom password directly -p is the password you want!!!#
Some machines need to set up network cards, otherwise VNC can be used, but remote SSH is not available.
-firmware Additional driver support
-d Debian system followed by the system version number
-c Centos system followed by the system version number
-v 64-bit or 32-bit
-a auto, fully automated unattended installation
--mirror followed by the mirror source address
-p followed by a custom password
–ip-addr obtained from ifconfig -a, for example: 194.87.xxx.xxx
–ip-gate obtained from route -n, for example: 194.87.xxx.xxx
–ip-mask 255.255.xxx.xx
Most VPS providers such as Oracle, Sanmao, Vir, and RN are compatible. Remember to remove -firmware for Sanmao and Oracle.#
Old
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 11 -v 64 -a -firmware -p custom_password
New
bash <(wget --no-check-certificate -qO- 'https://raw.githubusercontent.com/MoeClub/Note/master/InstallNET.sh') -d 11 -v 64 -p password -port port -a -firmware
PS: If you are using Tencent Cloud, remember to uninstall the components, otherwise it will cause an error and the DD will fail.#
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
# Check if there are still Tencent Cloud components
# Kill this process
Chinese VPS providers need to change the mirror source, otherwise it will be very slow! I am using the Huawei source here. If you are using Tencent Cloud, you can change it to the internal network source to save bandwidth. The instructions are below!#
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 custom_password
Mirror site addresses#
Official address list: https://www.debian.org/mirror/list
Some domestic mirrors
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
Usage: (similar for most)
Tsinghua source
--mirror 'https://mirrors.ustc.edu.cn/debian/'
Tencent source
--mirror 'http://mirrors.tencent.com/debian/'
--mirror 'http://mirrors.cloud.tencent.com/debian/'
Tencent source internal network (can be modified after DD is complete for faster speed)
http://mirrors.tencentyun.com/
Alibaba source
--mirror 'https://mirrors.aliyun.com/debian/'
Huawei source
--mirror 'https://mirrors.huaweicloud.com/debian/'
Example#
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