512内存vps之前无往不利的DD脚本重启以后失联了,于是又重新找了一个:
脚本下载:
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh
运行:
bash InstallNET.sh -debian -timezone Asia/Shanghai
或者安装完修改时区:
timedatectl set-timezone Asia/Shanghai
完整示例:
bash InstallNET.sh -debian/kali/ubuntu/centos/almalinux/rockylinux/fedora(os type) 11(os version) -architecture 64(os bit, not necessary) -port "your server port" -pwd 'your server password' -mirror "a valid url for linux image source" -dd/--image "dd image url" -filetype "gz or xz" -timezone "like Asia/Tokyo etc" --network "static"/--ip-addr 'x.x.x.x'(ip address) --ip-mask 'x.x.x.x'(subnet mask) --ip-gate 'x.x.x.x'(gateway) -firmware(Debian with hardware drivers)
root
密码:
Default password
For Linux: LeitboGi0ro
网友收集的脚本大全