RHEL 6 Remote Installation Using VNC

Posted on 28. Nov, 2011 by admin in Redhat

When you install the RHEL 6, you will find the GUI installation interface, a.k.a. Anaconda can’t be started and turned to text installation mode instead in some time. This problem may caused by insufficient memory (less than 1024MB), the graphic card can’t be recognized or the server you’re installing is headless etc.. In these scenarios, you should use the the remote installation method. But why we still need the GUI installation method even if the text installation method is available? It is because of the anaconda installation GUI has provided lots of advance feature and options during the installation, such LVM support, SAN Support, Customize partition, package selection etc.. Anaconda has build in the VNC installation method. And it also only need couples of simple steps to achieve the goal. The VNC installation also has 2 methods: Direct Mode and Connect Mode. Direct Mode: The VNC Direct installation mode means when the installation shell, anaconda, starts a VNC server to waiting for the VNC connect and continue the installation through the VNC.

1. When you use a RHEL 6 DVD to boot the system up, on the “boot:” prompt screen, you need to input the below command to start the installation

boot: linux vnc vncpassword=qwerty

This command will start the installation and create a VNC server. Certainly, the installation target system should be connected to your network. If there is a DHCP in your network, it would be easy to get a IP address, otherwise you should assign the IP address/network/gateway by yourselves through the booting parameters. eg.

boot: linux vnc vncpassword=qwerty ip=xxx.xxx.xxx.xxx netmask=xxx.xxx.xxx.xxx gateway=xxx.xxx.xxx.xxx dns=xxx.xxx.xxx.xxx ksdevice=ethx

After the vnc server started, it will prompt you the listening address and port for connecting.

2. On your client system, windows system or linux system, install any type of the vnc viewer client on your system. Open the vncviewer client and input the ipaddress and port in the vncviewer application, click the ok to connect the anaconda installation vnc session. If you use the vncpassword parameter to protect the session security, you need to provide the same password you set for the vnc session in the step1.

 

Connect Mode:

The VNC Connect mode means that once the anaconda installation application initialed the VNC server, it will forward the vnc packet to a passive vncviewer. Passive vncviewer mean the vncviewer started with a “- listen” switch, and the vncviewer will listen the network until it get the vnc data from the server. 1.

When you use a RHEL 6 DVD to boot the system up, on the “boot:” prompt screen, you need to input the below command to start the installation

boot: linux vnc vncconnect=xxx.xxx.xxx.xxx at this mode,

you needn’t any vncpassword switch, unless you still want to enable the VNC passive mode once the active mode failed. 2. On the client computer which installed the vncviewer application, running the vncviewer after with a “-listen” switch. The vncviewer will start in the background as a deamon. It will pop up the vncviewer window once received the vnc package from anaconda. There also have different method for the remote installation, such serial port, X window. I will try later when I have time.

Comments are closed.

Videos, Slideshows and Podcasts by Cincopa Wordpress Plugin

399894