30.3. Installation Using VNC
30.3.1. Installation Example
- Connect the laptop or other workstation to the target system using a crossover cable. If you are using regular patch cables, make sure you connect the two systems using a small hub or switch. Most recent Ethernet interfaces will automatically detect if they need to be crossover or not, so it may be possible to connect the two systems directly using a regular patch cable.
- Configure the VNC viewer system to use a RFC 1918 address with no gateway. This private network connection will only be used for the purpose of installation. Configure the VNC viewer system to be 192.168.100.1/24. If that address is in use, just pick something else in the RFC 1918 address space that is available to you.
- Start the RHEL installation on the target system.
- Booting the installation DVD or CD.If booting the installation media (CD or DVD), make sure
vncis passed as a boot parameter. To add the
vncparameter, you will need a console attached to the target system that allows you to interact with the boot process. Enter the following at the prompt:
- Boot over the network.If the target system is configured with a static IP address, add the
vnccommand to the kickstart file. If the target system is using DHCP, add
vncconnect=HOSTto the boot arguments for the target system. HOST is the IP address or DNS host name of the VNC viewer system. Enter the following at the prompt:
- When prompted for the network configuration on the target system, assign it an available RFC 1918 address in the same network you used for the VNC viewer system. For example, 192.168.100.2/24.
NoteThis IP address is only used during installation. You will have an opportunity to configure the final network settings, if any, later in the installer.
- Once the installer indicates it is starting anaconda, you will be instructed to connect to the system using the VNC viewer. Connect to the viewer and follow the graphical installation mode instructions found in the product documentation.
30.3.2. Kickstart Considerations
vnccommand to the kickstart file for the system. You will be able to connect to the target system using your VNC viewer and monitor the installation progress. The address to use is the one the system is configured with via the kickstart file.
vncconnectmethod may work better for you. Rather than adding the
vncboot parameter to the kickstart file, add the
vncconnect=HOSTparameter to the list of boot arguments for the target system. For HOST, put the IP address or DNS host name of the VNC viewer system. See the next section for more details on using the vncconnect mode.
30.3.3. Firewall Considerations
vncboot parameter, you may also want to pass the
vncpasswordparameter in these scenarios. While the password is sent in plain text over the network, it does provide an extra step before a viewer can connect to a system. Once the viewer connects to the target system over VNC, no other connections are permitted. These limitations are usually sufficient for installation purposes.
vncpasswordoption. It should not be a password you use on any systems, especially a real root password.
vncconnectparameter. In this mode of operation, you start the viewer on your system first telling it to listen for an incoming connection. Pass
vncconnect=HOSTat the boot prompt and the installer will attempt to connect to the specified HOST (either a hostname or IP address).