How to Perform Graphical Installation of “Red Hat Enterprise or CentOS 7.0” Remotely Using VNC Mode

This tutorial concentrates on how to perform a graphical installation of Red Hat Enterprise or CentOS 7.0 from a remote point in VNC Direct Mode using Anaconda included locally VNC server and how to partition a hard-disk smaller than 2TB with a GPT Partition Table Layout on non-UEFI systems.

Install CentOS Remotely Using VNC
Install RHEL/CentOS 7 Remotely Using VNC

In order to access the graphical installation, your remote system that will control the installation process, requires a VNC viewer program installed and running on your machine.

Requirements

  1. Installation of RHEL 7.0
  2. Installation of CentOS 7.0
  3. An VNC client installed on a remote system

Step 1: Boot RHEL/CentOS Media Installer in VNC Mode

1. After the installer bootable media has been created, place your DVD/USB into your system appropriate drive, start the machine, select your bootable media and on the first prompt press TAB key and the boot options should appear.

In order to start b>Anaconda VNC server with a password to restrict access to installation and force your hard-disk smaller than 2TB in size to be partitioned with a GPT valid partition table, append the following options to boot menu command line.

inst.gpt inst.vnc inst.vncpassword=password resolution=1366x768
Install Linux in VNC Mode
Installing CentOS in VNC Mode

As you can see I’ve added an extra option to force graphical installation resolution to a custom size – replace resolution values with your desired values.

2. Now press Enter key to start the installer and wait until it reaches the message where it shows you the VNC IP Address and Port number to enter, in order to connect, on client side.

Connect VNC Client
Connect VNC Client

That’s it! Now the installation process is ready to be configured from a remote system using a VNC Client.

Step 2: Configure VNC Clients on Remote Systems

3. As a previously mentioned, in order to be able to perform a VNC installation remote systems requires a running VNC Client. The following VNC clients are available, depending on your Operating System.

For RHEL/CentOS 7.0 installed with a Graphical User Interface open Remote Desktop Viewer, hit on Connect button and choose VNC for Protocol and add VNC IP Address and Port presented on the system where you perform the installation.

Remote Desktop Viewer
Remote Desktop Viewer
Connect to Remote VNC
Connect to Remote VNC
Enter VNC IP Address
Enter VNC IP Address

4. After the VNC Client connects to installer, you will be prompted to enter the VNC installer password. Enter the password, hit Authenticate and a new window with CentOS/RHEL Anaconda graphical interface should appear.

From here, you can continue with the installation process in the same manner as you would do it from a directly connected monitor, using the same procedure as described RHEL/CentOS 7.0 Installation Guide links provide above.

Authenticate to Remote VNC
Authenticate to Remote VNC
Welcome to CentOS 7 Installation
Welcome to CentOS 7 Installation

5. For Debian based distributions (Ubuntu, Linux Mint, etc) install Vinagre package for GNOME desktop environment and use the same procedure as explained above.

$ sudo apt-get install vinagre
Install Vinagre in Ubuntu
Install Vinagre Package
Remote CentOS Installation
Remote CentOS 7 Installation

6. For Windows based systems install the TightVNC Viewer program by downloading it using the following link.

  1. http://www.tightvnc.com/download.php
Download TightVNC Viewer
Download TightVNC Viewer
TightVNC Connection
TightVNC Connection
Remote CentOS Installation Process
Remote CentOS 7 Installation Process

7. If you want to see details about your disk partition layout which now uses GPT on a disk smaller than 2TB, go to Installation Destination, select your disk and the partition table should be visible and a new biosboot partition should be automatically created.

If you opted for Automatically create partitions, in the contrary case you should create one as Standard Partition with Bios Boot as a File System and 1 MB in size on non-UEFI systems.

CentOS Standard Partition Table
CentOS 7 Standard Partition Table
CentOS Partition Table Changes
CentOS 7 Partition Table Changes

As a last note, if you are planning to use MBR Partition Layout on a disk smaller than 2TB on UEFI based systems, you must initially reformat your hard-disk, and, then create a Standard Partition with EFI System Partition (efi) as File System with a minimal value of 200 MB in size, regardless of your partitioning scheme.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Matei Cezar
I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

7 Comments

Leave a Reply
  1. Unfortunately this does not work for me. I get as far as “Please manually connect your vnc client to [2a00:1f400…]” but when I put in the address in my VNC client, it says “The connection was refused by the host computer”. I can ping the address from my computer.

    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.