Home » CentOS » How to install CentOS 7 Linux in VMware Workstation

How to install CentOS 7 Linux in VMware Workstation

Update on:
Sep 3, 2021

Nowadays Linux operating system’s popularity is increasing. Most of the servers are using the Linux Operating System, and personal system also start using various Linux distribution. CentOS is one of the popular Linux operating systems.

These days most of the IT professionals learning Linux, as their work environment around Linux based open source and free operating system.

As per my experience, when you are learning anything and for a silly mistake, you are going to format the entire system and reinstall, again and again, the learning period going to be very frustrating and bored.

So, I am suggesting you to at learning time use a virtual environment to configure any Linux and use if any mistake will happen you need to reinstall the only virtual machine, not the system. Or you can keep the previous virtual machine for your experiment to learn to troubleshoot the problem and parallelly you can run new vm to move your learning ahead.

Here, in this article, I am going to explain “How to install CentOS 7 in VMware workstation?”. You can use any other virtual environment also like Virtualbox, VMware Player, KVM, etc.

Prerequisites – CentOS 7 installation

CentOS 7:
Download CentOS 7 here.
Virtual Environment:
Download VMware Workstation from here.
Download VMware Player from here.
Download Virtualbox from here.

Anyone application is enough for a virtual environment, I am going to use here VMware Workstation, but the overall process of installation is the same for all virtual environment package.

Installing CentOS 7 in VMware Workstation

Open VMware workstation application to start the installation of CentOS 7 operating system.

you will get the first screen in workstation like below image, and here click on “Create a New Virtual Machine” button.

VMware Workstation front screen
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

There are two option you will get when start preparing 

  • Typical (recommended)
  • Custom (advanced)

I choose here Custom setup, so can show you all option to configure in VMware.

VMware new VM create screen
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

In this window, you can choose hardware compatibility for your virtual machine. As I am using VMware workstation version 12 Pro, so I configured my virtual machine compatibilities according to configured in this version and choose “Workstation 12.0” for Hardware compatibility.

VMware new VM type and version configuration
  • Facebook
  • Twitter
  • reddit
  • LinkedIn
VMware Installation Media Configuration

After selection of hardware compatibility, a new window will appear for installation media selection, where three options are available:

  • Installer disc
  • Installer disc image file (iso)
  • I will install the operating system later

If you are going to install through operating system CD/DVD disc, you should select “Installer disc”. After selection of this option, you have to select CD/DVD ROM driver.

If you are using an operating system iso file, please click on the “Browse” button and select the image file.

If you are just preparing a virtual machine with the configuration where the operating system will install later, just select “I will install the operating system later” option.

Here, I am going to install through iso file, so I choose “Installer disc image file (iso)” and click on the “Browse” button.

After clicking on “Browser” button a new window will appear, where you need to go to the location of iso file and select the iso file.

When you select your operating system disc file it will appear in “installer media selection window” like below image.

Now, click on “Next” button for further configuration.

VMware CentOS installation media configuration screen
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

In this window “Personalize Linux” you can fill the form for username and password, which will be on new installed operating system’s default username and password.

In case of the CentOS operating system, it will not configure for the operating system but go to the next option we need to fill the form.

VMware username and password configuration screen
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

In the next window, you can select the desired name for the virtual machine and location where this virtual machine will store in system storage.

The window will similar like below image.

VMware new VM for CentOS name configuration
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

VMware CPU Configuration

In this window, we configuring processors for the virtual machine.

The options are to select numbers of processors and numbers of cores per processors and after selection of these, click on the “Next” button for further configuration.

VMware centos VM CPU configuration
  • Facebook
  • Twitter
  • reddit
  • LinkedIn
VMware RAM Configuration

Similarly CPU configuration, in this window we configure RAM for the virtual machine and after selection of RAM quantity click on the “Next” button for further configuration.

VMware CentOS VM RAm configuration
  • Facebook
  • Twitter
  • reddit
  • LinkedIn
VMware Network Configuration

The new window appears for virtual machine network configuration, where we get four option to select like below image;

  • Use bridged networking
  • Use network address translation (NAT)
  • Use host-only networking
  • Do not use a network connection

If we want to configure our virtual machine to connect directly with the network and get the IP address from the main network device, we should select “Use bridged networking”.

If we want to configure your networking with our host networking and NAT with the host IP address, we should select “Use network address translation(NAT)”.

Choose “Use host-only networking” if we don’t want to configure independent networking on our virtual machine and use network from the host interface.

The last option “Do not use a network connection” is for if we don’t want to use networking in our virtual machine.

Now, I select “Use bridged networking” as I am using my virtual machine network connectivity directly from the network device without the intervention of the host network.

VMware CentOS VM Network configuration
  • Facebook
  • Twitter
  • reddit
  • LinkedIn
VMware I/O controller Configuration

The new window will appear for I/O controller configuration with three option like below image:

  • BusLogic
  • LSI Logic
  • LSI Logic SAS

Bus Logic is not available for the 64-bit arch operating system, and I am using here Ubuntu 16.04 64-bit operating system so it is in disabled mode.

I am not using any SAS device also so not choosing “LSI Logic SAS” option also, so I choose here “LSI Logic” option and click on the “Next” button for further configuration.

VMware CentOS VM serial controller configuration screen
  • Facebook
  • Twitter
  • reddit
  • LinkedIn
VMware Virtual Disk Configuration

Next window is for virtual disk type configuration with options are:

  • IDE
  • SCSI
  • SATA

I suggest choosing the “SCSI” option which is most used by the virtual machine.

VMware centOS disk type configuration screen
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

In this window, we are configuring virtual disk with below options:

  • Create a new virtual disk
  • Use an existing virtual disk
  • Use a physical disk

Here we will choose “Create a new virtual disk” as we are going to install a new virtual machine.

VMware CentOS virtual disk creation screen
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

In this window, we are configuring the size of the virtual disk, for this operating system we configured 20 GB as you can see in below image.

If you select “Allocate all disk space now” option it will take all 20 GB storage from the beginning otherwise it will take only storage which is used by the virtual machine.

VMware CentOS installation disk type and size configuration
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

This window is used for naming and locating of the virtual disk file.

VMware centOS virtual disk name configuration
  • Facebook
  • Twitter
  • reddit
  • LinkedIn
VMware Hardware Configuration Review

Now, VMware configuration for the new virtual machine is done. this window is summary for all configuration and there is “Customize Hardware…” button which you can use for reconfiguration of any hardware configuration like CPU, RAM etc.

Now Click on “Next” button to finish the virtual machine configuration.

VMware centOS configured resources summary
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

Now, VMware workstation main window will appear with a new tab of new virtual machine “CentOS 7”.

Here, click on the “Power on this virtual machine” link to start the virtual machine.

Vmware CentOS VM configuration complete
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

Boot Virtual Machine with CentOS ISO

After starting virtual machine you will get below window which is virtual machine booting and VMware logo displaying at booting time.

VMware CentOS VM booting
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

This new window showing now our new virtual machine booting with CentOS installation media and it is ready to install.

VMware CentOS VM booting with installation media
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

New screen will appear with CentOS installation progress bar.

VMware CentOS installation start screen
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

This is the same screen when installation process about to complete.

VMware CentOS 7 installation screen
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

After 15 min when CentOS installation process completed, virtual machine booted and after complete boot the new screen for login is coming like below image.

VMware CentOS login screen
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

After login we will on the CentOS desktop, which is similar like below screen.

VMware CentOS 7 loged in screen
  • Facebook
  • Twitter
  • reddit
  • LinkedIn

Related Posts

How to Install MongoDB on CentOS 8 Linux

How to Install MongoDB on CentOS 8 Linux

MongoDB is an open-source and free NoSQL document based database system. Nowadays, it is prevalent as most application developers are using MongoDB, which can handle big data. As a MongoDB is a NoSQL database, It stores data in JSON-like documents where fields can...

How to Install OpenCV on CentOS 8 Linux

How to Install OpenCV on CentOS 8 Linux

OpenCV (Open Source Computer Vision Library) is an open-source computer vision and machine learning software library. OpenCV was built to provide a common infrastructure for computer vision applications and to accelerate the use of machine perception in commercial...

How to install and use FFmpeg on CentOS 8 Linux Operating System

How to install and use FFmpeg on CentOS 8 Linux Operating System

The FFmpeg is the most potent and useful command-line tool on Linux system for multimedia files transcoding. You can use FFmpeg to convert multimedia files between various video and audio formats and resize videos. It has multiple audio and video libraries such as...

How to Install VirtualBox on CentOS 8 Linux

How to Install VirtualBox on CentOS 8 Linux

VirtualBox is an Open Source tool, known as a cross-platform virtualization application or software. It used to run multiple operating systems or virtual machines simultaneously on a single hardware. In this VirtualBox installation tutorial, we will explain the...

Follow Us

Our Communities

More on CentOS

The Ultimate Managed Hosting Platform
Load WordPress Sites in as fast as 37ms!

0 Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

14 − 13 =

Shares