≡ Menu

Centos 6 Remote Install Via VNC

centos logoIf you have a dedicate server that have installd CentOS 5/6 and you want to reinstall/reload it but you do not have iKVM/IPMI/IP KVM, you can check it out this tutorial how to install your server with CentOS Remote Install via VNC.

step 1: Determining network settings of the server

You need to know the network information of your server, to determine the network settings, you can use the following commands:

ip route show
cat /etc/sysconfig/network-scripts/ifcfg-eth0
cat /etc/sysconfig/network
cat /etc/resolv.conf

step 2: Loading Centos 6 64BIT Image

wget -O /boot/initrd_remote.img http://kambing.ui.ac.id/centos/6.3/os/x86_64/isolinux/initrd.img
wget -O /boot/vmlinuz_remote http://kambing.ui.ac.id/centos/6.3/os/x86_64/isolinux/vmlinuz

Step 3: Preparing the configuration and adding it to grub.conf

title CentOS Remote Install
root (hd0,0)
kernel /vmlinuz_remote lang=en_US keymap=us method=http://kambing.ui.ac.id/centos/6.3/os/x86_64/ vnc vncpassword=remote ip=119.235.xxx.xxx netmask= gateway=119.235.xxx.xxx dns=119.235.xxx.xxx noselinux ksdevice=00:30:48:97:49:7C headless xfs panic=120
initrd /initrd_remote.img

It is assumed that this configuration is the second item in the menu. You’ve specified that grub should make one attempt to load it. If something goes wrong, you’ll go back to the pre-set distribution after a restart, in 120 seconds.

[[email protected] ~]# echo 'savedefault --default=1 --once' | grub --batch

Step 4: Reboot Server

Reboot the server and wait until it begins to respond to ping. Additional packages will take some time to load, then it will be possible to connect through VNC. If the network isn’t fast enough, it may take about 20-30 minutes.

Now connect to the server and do the same as on the local console: vncviewer 119.235.xxx.xxx:1
If you’re working from Windows, you can use TightVNC.

Happy ReInstall !

Ref: http://supportex.net/2011/06/install-centos-fedora-remotely/

{ 0 comments… add one }

Leave a Comment