- 注意:
- 全自动安装默认root密码:
MoeClub.org
安装完成后请立即更改密码. - 能够全自动重装Debian/Ubuntu/CentOS等系统.
- 同时提供dd安装镜像功能,例如: 全自动无救援dd安装windows系统
- 全自动安装CentOS时默认提供VNC功能,可使用VNC Viewer查看进度,
VNC端口为1或者5901,可自行尝试连接.(成功后VNC功能会消失.) - 目前CentOS系统只支持任意版本重装为 CentOS 6.x 及以下版本.
- 特别注意:
OpenVZ
构架不适用.
- 全自动安装默认root密码:
依赖包:
#二进制文件 Debian/Ubuntu RedHat/CentOS
iconv [libc-bin] [glibc-common]
xz [xz-utils] [xz]
awk [gawk] [gawk]
sed [sed] [sed]
file [file] [file]
grep [grep] [grep]
openssl [openssl] [openssl]
cpio [cpio] [cpio]
gzip [gzip] [gzip]
cat,cut.. [coreutils] [coreutils]
确保安装了所需软件:
#Debian/Ubuntu:
apt-get install -y xz-utils openssl gawk file
#RedHat/CentOS:
yum install -y xz openssl gawk file
如果出现了错误,请运行:
#Debian/Ubuntu:
apt-get update
#RedHat/CentOS:
yum update
快速使用示例安装debian8 64位:
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 8 -v 64 -a
下载及说明:
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && chmod a+x InstallNET.sh
Usage:
bash InstallNET.sh -d/--debian [dist-name]
-u/--ubuntu [dist-name]
-c/--centos [dist-version]
-v/--ver [32/i386|64/amd64]
--ip-addr/--ip-gate/--ip-mask
-apt/-yum/--mirror
-dd/--image
-a/-m
# dist-name: 发行版本代号
# dist-version: 发行版本号
# -apt/-yum/--mirror : 使用定义镜像
# -a/-m : 询问是否能进入VNC自行操作. -a 为不提示(一般用于全自动安装), -m 为提示.
Comments | 1 条评论
1