远程安装CentOS

远程安装CentOS

安装条件:现有机器需要有ubuntu或者centos系统。

准备:
   1、CentOS镜像,挂载到内网并且使用FTP或者http能访问。如:http://192.168.1.X 能直接以目录形式打开
   2、进入上面挂载的文件夹,并且进入images/pxeboot/,拷贝vmlinuz和initrd.img两个文件到需要安装系统的机器/boot下面
   3、编辑/boot/grub/grub.conf文件,加入如下内容,

title CentOS Remote Install
   root (hd0,0)
   kernel /boot/vmlinuz vnc vncpassword=12345678 test ip=192.168.2.X netmask=255.255.252.0 gateway=192.168.1.1 dns=192.168.1.12 hostname=hosts.com ksdevice=eth0 method=http://192.168.1.X lang=en_US keymap=us
   initrd /boot/initrd.img

记得修改default启动参数

   4、reboot,差不多一分钟后使用VNC工具连接到192.168.2.X:1 密码是12345678,就可以开始安装Linux了


你可能感兴趣的:(远程安装CentOS)