Did You Know?
Donate to TecMint

LFCS - Linux Foundation Certified SysAdmin - Exam Preparation Guide

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

Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators

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.

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.

Your name can also be listed here. Work as a Paid freelancer/writer at TecMint.
Download Free eBooks
Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

3 Responses

  1. Gaurav says:

    hey is it same procedure for Centos 6.5

  2. Matei Cezar says:

    No …this procedure doesn’t apply for CentOS 6.5.

  3. Chris Hills says:

    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.

Leave a Reply

This work is licensed under a (cc) BY-NC | TecMint uses cookies. By using our services, you comply to use of our cookies. More info: Privacy Policy.
© 2012-2014 All Rights Reserved.