Как установить centos на vmware
Перейти к содержимому

Как установить centos на vmware

  • автор:

Downloading CentOS 8 ISO Installation Image:

First, visit the official website of CentOS and click on CentOS Linux DVD ISO as marked in the screenshot below.

Now, click on a mirror link that is geographically closer to you.

Now, select Save File and click on OK.

Your browser should start downloading CentOS 8 ISO installation image. It may take a while to complete.

Uploading CentOS 8 Installation ISO Image to VMware ESXi Datastore:

Once the CentOS 8 ISO installation image is downloaded, you have to upload it to your VMware ESXi server.

First, login to the ESXi web client and click on Datastore browser from the Storage section.

Now, select a datastore where you want to upload the CentOS 8 ISO image and click on Create directory.

Now, type in iso in the Directory name field and click on Create directory.

A new directory iso/ should be created. This is where I will upload the CentOS 8 ISO image.

To upload the CentOS 8 ISO image, select the iso/ directory and click on Upload.

Now, select the CentOS 8 ISO image from your computer and click on Open.

The CentOS 8 ISO image is being uploaded. It may take a while to complete.

At this point, the CentOS 8 ISO image should be uploaded.

Creating a VMware ESXi Virtual Machine for CentOS 8 Installation:

Now, you have to create a new Virtual Machine (VM) where you can install CentOS 8.

First, go to the Virtual Machines section and click on Create / Register VM.

Now, select Create a new virtual machine and click on Next.

Now, type in a name for the VM, select Guest OS family to Linux and Guest OS version to CentOS 8 (64-bit). Then, click on Next.

Now, select a datastore where you want to put the VM data and click on Next.

Now, select the number of CPU you want to assign to the VM. For more tasks, 1 CPU should be okay.

If you want to run CentOS 8 headless server on the VM, then 1-2 GB of memory should be okay. For CentOS 8 server with graphical user interface, you should assign at least 4 GB of memory.

Also, set the virtual hard disk size to at least 20 GB. It should be okay for both CentOS 8 headless server and CentOS 8 server with graphical user interface.

Once you’re done, click on Next.

Now, click on Finish.

A new VM should be created. Click on the VM.

Now, click on Edit.

Now, select Datastore ISO file from CD/DVD Drive 1.

Now, select the CentOS 8 ISO image and click on Select.

Now, check Connect from the CD/DVD Drive 1 section and click on Save.

Now, click on Power on to turn on the VM.

Now, click on the VM display as marked in the screenshot below.

Now, select Install CentOS 8.0.1905 from the GRUB menu and press <Enter>.

The CentOS 8 graphical installer should start. Now, you can install CentOS 8 as usual.

Installing CentOS 8 on VMware ESXi VM:

First, select the language and click on Continue.

Now, click on Installation Destination.

Now, select the virtual hard drive, select Automatic from Storage Configuration section and click on Done.

By default, CentOS 8 server with graphical user interface will be installed. But, if you want to install CentOS 8 headless server, then click on Software Selection.

NOTE: I will install CentOS 8 headless server in this article.

Now, select Server and click on Done.

Now, click on Network & Host Name.

Type in a host name and click on Apply.

Now, click on the toggle button on the top right corner to activate the network adapter. Once the network is activated, click on Done.

If you want to set up your time zone, click on Time & Date.

Now, select your Region and City and click on Done.

Once you’ve configured the installer the way you want, click on Begin Installation.

The installation should start.

Now, you have to create a new login user. To do that, click on User Creation.

Type in your personal information, check Make this user administrator and click on Done.

The installation should continue.

Once the installation is complete, click on Reboot.

Now, the VM should boot CentOS 8 from the virtual hard drive.

Shortly, you will see the login window. Now, you can login using the username and password that you’ve set during the installation.

As you can see, I am using CentOS 8 and the Linux kernel version is 4.18.0.

So, that’s how you install CentOS 8 on VMware ESXi server. Thanks for reading this article.

Как установить centos на vmware

Создание виртуальной машины в VMware ESXi

Создание виртуальной машины в VMware ESXi. Выбор конфигурации

Создание виртуальной машины в VMware ESXi. Указание имени

Создание виртуальной машины в VMware ESXi. Выбор ресурс-пула

Создание виртуальной машины в VMware ESXi. Выбор хранилища

Создание виртуальной машины в VMware ESXi. Выбор версии

Создание виртуальной машины в VMware ESXi. Выбор ОС

Создание виртуальной машины в VMware ESXi. Указание количества CPU

Создание виртуальной машины в VMware ESXi. Указание объема ОЗУ

Создание виртуальной машины в VMware ESXi. Выбор сетевого интерфейса

Создание виртуальной машины в VMware ESXi. Выбор контроллера HDD

Создание виртуальной машины в VMware ESXi. Создание HDD

Создание виртуальной машины в VMware ESXi. Указание объема HDD

Создание виртуальной машины в VMware ESXi. Выбор устройства для HDD

Создание виртуальной машины в VMware ESXi. Предпросмотр завершения мастера

Создание виртуальной машины в VMware ESXi. Подключение дистрибутива

Создание виртуальной машины в VMware ESXi. Завершение работы мастера

Создание виртуальной машины в VMware ESXi. Включение машины

Downloading CentOS 8 ISO Installation Image:

First, visit the official website of CentOS and click on CentOS Linux DVD ISO as marked in the screenshot below.

Now, click on a mirror link that is geographically closer to you.

Now, select Save File and click on OK.

Your browser should start downloading CentOS 8 ISO installation image. It may take a while to complete.

Uploading CentOS 8 Installation ISO Image to VMware ESXi Datastore:

Once the CentOS 8 ISO installation image is downloaded, you have to upload it to your VMware ESXi server.

First, login to the ESXi web client and click on Datastore browser from the Storage section.

Now, select a datastore where you want to upload the CentOS 8 ISO image and click on Create directory.

Now, type in iso in the Directory name field and click on Create directory.

A new directory iso/ should be created. This is where I will upload the CentOS 8 ISO image.

To upload the CentOS 8 ISO image, select the iso/ directory and click on Upload.

Now, select the CentOS 8 ISO image from your computer and click on Open.

The CentOS 8 ISO image is being uploaded. It may take a while to complete.

At this point, the CentOS 8 ISO image should be uploaded.

Creating a VMware ESXi Virtual Machine for CentOS 8 Installation:

Now, you have to create a new Virtual Machine (VM) where you can install CentOS 8.

First, go to the Virtual Machines section and click on Create / Register VM.

Now, select Create a new virtual machine and click on Next.

Now, type in a name for the VM, select Guest OS family to Linux and Guest OS version to CentOS 8 (64-bit). Then, click on Next.

Now, select a datastore where you want to put the VM data and click on Next.

Now, select the number of CPU you want to assign to the VM. For more tasks, 1 CPU should be okay.

If you want to run CentOS 8 headless server on the VM, then 1-2 GB of memory should be okay. For CentOS 8 server with graphical user interface, you should assign at least 4 GB of memory.

Also, set the virtual hard disk size to at least 20 GB. It should be okay for both CentOS 8 headless server and CentOS 8 server with graphical user interface.

Once you’re done, click on Next.

Now, click on Finish.

A new VM should be created. Click on the VM.

Now, click on Edit.

Now, select Datastore ISO file from CD/DVD Drive 1.

Now, select the CentOS 8 ISO image and click on Select.

Now, check Connect from the CD/DVD Drive 1 section and click on Save.

Now, click on Power on to turn on the VM.

Now, click on the VM display as marked in the screenshot below.

Now, select Install CentOS 8.0.1905 from the GRUB menu and press <Enter>.

The CentOS 8 graphical installer should start. Now, you can install CentOS 8 as usual.

Installing CentOS 8 on VMware ESXi VM:

First, select the language and click on Continue.

Now, click on Installation Destination.

Now, select the virtual hard drive, select Automatic from Storage Configuration section and click on Done.

By default, CentOS 8 server with graphical user interface will be installed. But, if you want to install CentOS 8 headless server, then click on Software Selection.

NOTE: I will install CentOS 8 headless server in this article.

Now, select Server and click on Done.

Now, click on Network & Host Name.

Type in a host name and click on Apply.

Now, click on the toggle button on the top right corner to activate the network adapter. Once the network is activated, click on Done.

If you want to set up your time zone, click on Time & Date.

Now, select your Region and City and click on Done.

Once you’ve configured the installer the way you want, click on Begin Installation.

The installation should start.

Now, you have to create a new login user. To do that, click on User Creation.

Type in your personal information, check Make this user administrator and click on Done.

The installation should continue.

Once the installation is complete, click on Reboot.

Now, the VM should boot CentOS 8 from the virtual hard drive.

Shortly, you will see the login window. Now, you can login using the username and password that you’ve set during the installation.

As you can see, I am using CentOS 8 and the Linux kernel version is 4.18.0.

So, that’s how you install CentOS 8 on VMware ESXi server. Thanks for reading this article.

How to install CentOS 8.2 in VMware Workstation 15 Pro

CentOS which stands for Community Enterprise Operating System is one of the most widely used Linux distribution available for free. It powers many web servers across the globe. It is based on Red Hat Enterprise Linux (RHEL). But please note that even though it is based on RedHat Linux, it is not RedHat Linux. It is an OS with its own identity and one of the most widely used OS in the world today. If you wish to run any of your applications on cloud such as Amazon AWS or Microsoft Azure etc., CentOS will be one of the OS you can choose from.

Since these days most of the personal computers are powerful enough to run virtual machines, I recommend people to use a virtual machine to experiment with various operating systems available in the market today. This avoids the need to clean install the new OS which is quite tedious and locks one down with one preference of the OS.

In this post, I wish to show you how to install CentOS on VMware workstation. To install VMware Workstation on windows please follow this post.

This is the link to the official CentOS website. You can download the installation media from here. There are official documentations here you can refer to.

CentOS Installation media download options:

On the official website home page, to get the installation media, you have to click Get CentOS Now. Here you will see 2 download options which are listed below:

  1. CentOS Linux– Download size around 7.7 GB. This is the desktop version with GUI and contains the standard linux packages which comes pre configured with any desktop version of the linux OS such as C, pyhon, ruby, php etc. Install this if you wish to work on CentOS for software development in desktop mode or for learning purposes. For additional packages not available by default, you will have to install them yourself using the package manager. I use this release for installation and personal work
  2. CentOS Stream– Download size around 7 GB. CentOS Stream is a rolling-release Linux distribution that exists as a midstream between the upstream development in Fedora Linux and the downstream development for Red Hat Enterprise Linux (RHEL). In practice, CentOS Stream will contain the code being developed for the next minor RHEL release. If you want to work with experimental features for future RHEL releases, you can use this release. I hardly use this release

CentOS Download webpage Screenshot

CentOS Download webpage Screenshot

In this Blog, I will show you how to install CentOS 8.2 in VMware Workstation 15.5

Step 1- Open VMWare Workstation

Open VMware Workstation from Windows Start menu or from you desktop if you have VMware Workstation icon there.

VMware Workstation 15.5 Pro Home Screen

VMware Workstation 15.5 Pro Home Screen

Step 2- Click on Create a New Virtual Machine

To launch the wizard to create a new virtual machine, Click on Create a New Virtual Machine or File -> New Virtual Machine. Welcome to the new Virtual Machine Wizard dialog box will open. Select typical and click on next.

VMware workstation - create a new virtual machine screenshot

VMware workstation – create a new virtual machine screenshot

Step 3- Welcome to the new Virtual Machine Wizard dialog box appears

This is where you get a chance to select the way virtual machine will be created. Typical is predefined or mostly the defaults. Custom is where you get to set advanced options such as compatibility with older Virtual Machines, SCSI controller type, etc. We will go with the default options. Select Typical and click Next.

VMware workstation home – create a new virtual machine wizard – welcome screen screenshot

VMware workstation – create a new virtual machine screenshot

Step 4- Browse to the ISO Image

In this dialog box you will have to browse to the downloaded ISO file and click next. Generally, VMware Workstation detects the OS automatically and initiates what they call as the Easy Install. In the latest version of VMware Workstation 15, Red Hat Enterprise Linux 8 ISO will be detected and available for easy install.

Kali Linux Installation - New Virtual machine Wizard - Browse Guest Operating System

Kali Linux Installation – New Virtual machine Wizard – Browse Guest Operating System

Step 4- Enter virtual machine name

In this dialog box, enter the name of the virtual machine or accept the default. I normally accept the default. Location tells you where the Virtual machine files will be created. Click on Browse to select an new location. Normally, I leave it as it is.

VMware workstation home create a new virtual machine wizard virtual machine name screenshot

VMware workstation home create a new virtual machine wizard virtual machine name screenshot

Step 5 – Specify Disk Space

In this dialog box specify the disk space. Normally I go with the default. You can allocate more if you plan to install applications later on. Make sure that split virtual disk into multiple files check box is checked.

VMware workstation home create a new virtual machine wizard specify disk space screenshot

VMware workstation home create a new virtual machine wizard specify disk space screenshot

Step 6- Ready to create virtual machine

Now you will see ready to create virtual machine dialog box. With this the installation process will begin.
Click on Finish to start the process. At this stage, I normally provide the virtual machine more RAM and CPU. Default is 1 GB RAM and 1 CPU Core. Increase the RAM only if you have sufficient memory on your system.

VMware workstation home create a new virtual machine wizard ready to create virtual machine dialogbox screenshot

VMware workstation home create a new virtual machine wizard ready to create virtual machine dialog box screenshot

To increase the RAM, before clicking Finish, click on customize hardware. Increase the memory using the slider.

VMware workstation home create a new virtual machine wizard hardware memory setup screenshot

VMware workstation home create a new virtual machine wizard hardware memory setup screenshot

To increase the CPU, Enter the values number of processors and number of cores. Click on Finish to start the installation process.

VMware workstation home create a new virtual machine wizard hardware processor setup screenshot

VMware workstation home create a new virtual machine wizard hardware processor setup screenshot

Click on Close and Finish to start the installation process

Step 7- Installation process should begin

You will see the below screen. Press “i” in your keyboard and press enter.

VMware workstation home create a new virtual machine centos installation start screenshot

VMware workstation home create a new virtual machine centos installation start screenshot

Step 8- Welcome to CentOS setup wizard – select language

Once the installation starts, you should see a dialog box asking you to select your language. Select the language of your choice and click on continue.

CentOS setup choose language

CentOS setup choose language

Step 9 – CentOS Setup – Installation summary

Now you should see the installation summary. If you see some grayed out area, please wait for a while until you see the below screen.

CentOS setup installation summary screenshot

CentOS setup installation summary screenshot

Click On Software Selection and select Gnome Desktop as shown below and click on Done and then click on begin installation.

CentOS setup - software selection - base environment

CentOS setup – software selection – base environment

Step 10- CentOS setup – setup root password and setup user

The installation process will begin and you will be presented with a screen to configure root password and create user as shown below.

CentOS Setup - setup root password and create user

CentOS Setup – setup root password and create user

Click on Root Password, you should see a dialog box to enter your root password. Enter your root password and click on done. If you get weak password warning, click on Done Twice.

CentOS setup set root password dialog box screenshot

CentOS setup set root password dialog box screenshot

Once root password is setup, click on User Creation. In the dialog box will enter the name of the user, password, check the box if you want to make the user administrator. If you get weak password warning, click on Done Twice.

Centos setup - User creation

Centos setup – User creation

CentOS Setup - Create user dialog box screenshot

CentOS Setup – Create user dialog box screenshot

One the user and root password is created, you will see both the options grayed out. Let the installation complete at you will be asked to restart once done. Please go ahead and click on Reboot.

CentOS Setup - Installation complete - reboot

CentOS Setup – Installation complete – reboot

Step 11- CentOS setup – Initial Setup

Once the system restarts, you will be see the below initial setup screen.

CentOS Installation - Initail setup

CentOS Installation – Initail setup

Click on Licence Agreement. In the dialog box that you see check the licence agreement at the bottom of the screen and click on done button at the top of the screen.

CentOS Installation - Licence Agreement

CentOS Installation – Licence Agreement

Step 12- CentOS – Login

Now you will see the login screen. You will see the user name you created earlier. Click on the user name and enter your password which was setup earlier.

CentOS Installation - Login screen

CentOS Installation – Login screen

Enter your password in the resulting screen. Now you will see the CentOS desktop. There are some more settings required. You will see a welcome screen

CentOS Installation - User password

CentOS Installation – User password

Step 13- CentOS – Welcome Screen – language preference

Once you have logged in for the first time, you will asked to select your default language in the welcome screen. Select the language of your choice and click on next.

CentoOS Installation - Welcome screen - language preference

CentoOS Installation – Welcome screen – language preference

Step 14- CentOS – Welcome Screen – Keyboard preference

Now you will be asked to set your keyboard. Select based on the keyboard preference you have.

CentOS installation - Welcome Screen - Keyboard preference

CentOS installation – Welcome Screen – Keyboard preference

Click next to continue.

Step 15- CentOS – Welcome screen – privacy

Now you will be asked to set your privacy which is basically, if you want the application to use the location service. Select yes or no using the slider. Click on next to continue.

CentOS Setup - Welcome screen - privacy preference

CentOS Setup – Welcome screen – privacy preference

Now you will be asked if you want to give color access to your location. You can accept or deny. I usually accept.

CentOS Setup - Welcome screen - location color access

CentOS Setup – Welcome screen – location color access

Step 16- CentOS – Welcome screen – setup online accound

Now you will be asked if you want to setup online account such as gmail etc.. for setting up mail and other services. I generally dont set it up here. If you want to set it, click on the service and you will be redirected to the the service provider authentication system where you will have to enter your user ID and password.

CemtOS installation - welcome screen - connect your online account

CemtOS installation – welcome screen – connect your online account

Step 17- CentOS – Welcome screen – All done

That it. Click on start using CentOS.

CentOS setup complete

CentOS setup complete

Step 18- CentOS – Network setup

If CentOS is not able to access the internet – Goto Application->Settings->Network

How to Install CentOS Stream 8 x86_64 on VMware

After ditching CentOS 8 Linux support now we left two option Stream and Vagrant.

In this guide we will explain how to install CentOS Stream 8 on your system.

Table of Contents

Prerequisites

  • Internet connection .
  • USB drive 16GB
  • A minimum of 8GB hard disk space

Step 1: Download CentOS Stream 8 DVD/ISO

First you need to Download Centos Stream 8 DVD ISO Image from official site and select x86_64 ISO file.

Select x86_64 Architecture

Select x86_64 Architecture

Select any mirror list and most prefer to choose from the first 3 mirror link,After that download file which end dvd1.iso

Select any mirror link

Select any mirror link

Step 2: Boot CentOS 8 Stream from bootable USB

After Downloading ISO file you need to make usb bootable for that you can use Etcher for Linux, and for Windows Rufus.

Next Step is to boot your system from boot menu select the bootable device and wait for CentOS Stream 8-stream boot screen.

In this screen select the “Install CentOS Stream 8-stream” using enter click,for up and down use arrow key.

CentOS Stream 8-stream Boot Options

CentOS Stream 8-stream Boot Options

Wait for some time to initialize boot process.

Step 3: Install CentOS 8 Stream

The first option you will ask you to set your Default language. I have choose default options. You can search or scroll up and down for different language then click on Continue.

centos stream 8 install and Select Language

Select Language

In this Installation screen you will see the current summary of installation process.

On the bottom you will see the highlighted message “Please complete items marked with this icon before continuing to the next step.

So,we need to inspect and resolve the issue which is highlight on screen.In my case Installer found two issue

  • Automatic partitioning select
  • Root account is disabled

We will inspect this following Options later,First we go though step by step first option is Keyboard.

Installation Summary

Installation Summary

Keyboard

I have selected the default “English (US)“,If you want to change the keyboard layout then change it according to your preference then click on Done.

Time and Date

Now move to the time and date Option to set the time and date for your CentOS 8 Stream.

To update time and date you can choose either map pin or drop down option like Region and City, for accurate positioning use drop down options and for Network Time you need to configure ntp server.

After confirming Region and City then click on Done.

Set Time and Date

Set Time and Date

Network & Host Name

In this setup wizard you get the option to select the network device options and you can also change the hostname.

In my case I have single Ethernet option,To enable click on no.1 switch it will get connect automatically if you use proxy or any advance configuration then click on “Configure“.

If you want to change hostname then replace the “localhost.localdomain” with your choice of hostname.

After completing this step click on Done Button.

Select Network and change hostname

Select Network and change hostname

Installation Destination

In this step you need to tell installer to select specific location to install Centos 8 Stream in your Hardisk.

In my case there is Single Hardisk,When you have multiple hard disk then make sure to choose right device.

For this guide purpose I have selected automatic Storage configuration,if you want custom configuration then click on custom.

If you want to add network device then click on “Add a disk”.

After acknowledging what you have select then click on Done.

Select Automatic and Click on Done

Select Automatic and Click on Done

Set Root Password

A setup wizard give you the options to set root password.You need to provide strong password for root user because you know “with the great power comes great responsibility”.

For demo purpose I have kept simple password and Installer will alert you when you set the weak password.

If you set the weak password then you need to Click Done button twice.

Enter root Password

Enter root Password

Ready to Install

After inspecting and modification you are now ready to Click on Begin Installation.

This is the last options after that installation will start if you need any modification to do know then click on Begin Installation.

When you are ready click on Begin Installation.

Click on Begin Installation

Click on Begin Installation

CentOS 8 Stream Installation is in progress,Wait for the Centos to get install on your Hard Disk.

Installation Started

Installation Started

Installation of CentOS Stream 8 is successfully completed and it’s ready to use,Click on Reboot system to restart Centos Stream 8 from disk.

Before that remove USB drive from your system.

Click on Reboot System

Click on Reboot System

Now select the first option to boot in CentOS Stream.

Select the first option

Select the first option

After getting boot we need to agree License agreement and Create User account.

First click on License Information

First Accept license then click on user Creation

First Accept license then click on user Creation

Read the License agreement or Directly click on “I accept the license agreement” after that click on Done.

Accept License and agreement

Accept License and agreement

The next step is to create user account,Enter all the basic details of user and check the “Make this user administrator and required password”

This is the last done button to experience Centos Stream 8.

All the check! Now click on Finish Configuration.

Select License agreement and User Creation

Select License agreement and User Creation

Now enter password and get ready to experience Centos Stream 8 on your System.

Enter Password and Sign in

Enter Password and Sign in

This is the pretty and simple way to install CentOS on your machine.I hope so you able to install If you stuck somewhere while following guide,feel free to comment us.

profile

A man with a tech effusive who has explored some of the amazing technology stuff and is exploring more. While moving towards, I had a chance to work on Android development, Linux, AWS, and DevOps with several open-source tools.

10 Easy steps to install CentOS 7/8 on VMware workstation

I have covered few blog posts about installing VM’s such as Centos, Ubuntu, Windows on different hypervisors. However, the installation of CentOS 8 on the VMware workstation was totally different story.

When the CentOS 8 came out I thought let me spin up the CentOS 8 on my VMware workstation.

Guess what ?, The installation didn’t succeed.

during the installation process, I got an error message that said section %packages does not end with %end.

section packages does not end with end

That’s not good, and after some trial and error I found a way out to install CentOS 8 on Vmware workstation Pro 15.5 successfully. So let’s get started.

This article is again updated with the VMware workstation Pro 16.

Table of Contents

What version of Centos good for me?

We all know the recent announcement from Redhat that they no longer support centos 8 after Dec 31st, 2021. The decision made many users frustrated. Some of them even decided to switch to Ubuntu which is another Debian distro.

Those who wanted to spin up the Centos 8 VM in a VMware workstation can still go ahead and start using that; however, I would recommend using Centos 7 based on RHEL 7 because it has a long-term maintenance update till June 30th, 2024.

Again, the question is based on your requirement. If you are a developer who wanted to build software for centos 8 and move them to Red hat 8 in the production, then you may think about alternate options for the long run.

But for me, I am a network engineer, and I wanted to build some labs and stuff that doesn’t necessarily affect the decision made by the RedHat.

Once you have made up your mind, you can go ahead and download the respective ISO image by following the link below.

Centos 7/8 – Click here to download.

How to download Centos 8?

After clicking the above link, Click on the 8 tab, and choose x86_64, that would take you to the download page.

Based on your location, you may choose the download link.

After you clicked on the download mirror link, you will get the directory to download the Centos 8 Image, click on the dvd1.iso file.

As you can, this file is about 8GB in size, and depends on your internet speed, it does take some time for you to download the image. So choosing the download mirror near your location is very important. I have got 3 links in my region and I have chosen the best one from the link after checking the speed test. So you may test them out before you begin the download.

How to download Centos 7?

On the same mentioned above, you have to click on 7(2009) tab, and below that you should be able to see the ISO, click on x86_64. That would take you to the download mirror link.

After you chosen the download mirror link near to your region, click on download on the ISO file, unlike Centos 8 the Centos7 size is smaller, but still 4.4 GB, however you can also choose the everything file that is a bit bigger in size.

What is the minimum requirement to run Centos in VMware workstation.?

On an average, to get a decent performance, it is recommended to have at least 2Gigs of RAM and 1 CPU core, and 10GB of HDD. Yes, you can still use the minimum requirements, such as 1GB of ram and less storage, but you won’t get better performance if you wanted to multitask. If you can add more, even better.

I always prefer to build the VM with the best configuration possible, so I don’t have to bother to reconfigure the system resources again while working in the middle of a project. So based on your requirement, assign the required memory, CPU, and hard disk.

You can always make changes later though.

For me, I need to test some SNMP configurations and network bridge adapter configuration, so I have chosen 2GB of RAM and 2 CPU Core, and 30GB of HDD.

Just in case if you are wondering, I have a machine with an i7 CPU and 32Gigs of RAM that runs windows machine alongside Ubuntu, so whenever I wanted to test something out with KVM, I can use Ubuntu, and when it comes to using VMware workstation and some windows software’s I can use windows operating system. I have covered how you can install windows 10 alongside Ubuntu in this article.

Setup the network for the Centos VM

Before you begin the installation, you must decide what kind of network adapter you wanted to use.

For most users, the default NAT adapter would work just fine. Meaning, they might want the guest machine to access the internet, so by default, the VMware workstation would choose the NAT as the adapter, which basically translates the guest OS address to the host address and can go out to the internet. But if you try to access the Guest OS from the host machine, it would not work. So you need to have another option.

If you wanted the host machine to communicate with the guest os, you could use the host-only adapter. The one disadvantage of having the host-only adapter is that, though you can communicate with the host machine locally, you will not be able to access the internet simultaneously.

The solution is either to switch between these adapters or use both the adapters. That way, you can access the internet via the NAT adapter and access the host-only adapter if you wanted to share some files locally to the Guest machine or vice versa.

And the final one is bridged adapter.

With a bridged adapter, you can connect the VM directly to the physical network, like how you get the IP address from your home router. The virtual machine also would get the IP address from your home router. And other hosts on the local network would see the VM as another host on the local network.

And the good part about the bridged network is that your host machine should be able to connect to the guest machine, and both the guest and the host machine will be able to access the internet just fine.

Prerequisite

  • I have already shown above, How you can download the centos image.
  • You can get VMware workstation pro here.

How to install Centos on Vmware workstation pro ?

Step 1. Creation of the CentOS VM.

The first step of the process is the creation of the VM instance.

  • In VMware workstation click on File–> New Virtual Machine. A New virtual Machine Wizard windows now pop up.
  • Check the option which says Typical and click on Next.

how to create centos 8 vm on vmware workstation

Step 2. Choose to install the operating system later.

  • On the next screen, instead of choosing the installer disk, select ‘I will install the operating system later’ and click Next.

how to install centos on vmware

Step 3. Select the version of the operating system.

Since I did not select the ISO image during the installation, I would have to manually select the version of VM that I am going to install.

In the Guest Operating system menu, select Linux as the operating system and from the version drop-down select CentOS version 7 64bit and click on Next.

how to install centos on vmware

Step 4. Name the Centos Guest OS.

You can name it whatever you like for the guest OS. I have named it as CentOS 8 and selected a different location where I wanted to install the operating system.

install centos on vmware workstation

Step 5. Specify the Storage for the CentOS.

On the Specify Disk Capacity window I am leaving everything as default including the storage size as 20 GB and click on next. You can change it depends on the storage capacity that you have.

how to install centos 7 on vmware workstation 15

Step 6. Configure the Memory for the Guest OS.

By default, the VMware workstation would pick the Memory as 1024 MB and the CPU as 1. I am not so happy with that hence I decided to change, so click on customize Hardware..

If you would like to keep the same default value, you may do so.

how to install centos 7 on vmware workstation 15

  • On the hardware windows I resized the memory as 2 GB

centos vmware install

  • And the CPU as 2.

centos cpu for vmware workstation

  • In the hardware customization there are many other settings that you could change than just memory and CPU, but I am not going to touch anything else.
    Once you are done with hardware customization you may click on Finish.

how to create centos 8 vm on vmware workstation

Step 7. Attach the CentOS iso file.

  • Remember, we have not selected CentOS 8 iso file yet in the vmware workstation pro. To add the ISO file, right click on guest VM and click on Settings.

install centos vmware

  • In the virtual machine settings windows click on CD/DVD, and check the option which says ‘Connect at power‘ on and attach the Centos 8 iso image under Use ISO image file.
    Then click Ok.

centos iso image for vmware workstation

Step 8. Begin CentOS installation on Vmware workstation 15.5.

  • You may power on the Centos VM now.

how to create centos8 vm on vmware

  • Unlike error message this time you would get centos installation setup wizard. Use the arrow key to select Install CentOS Linux 8 and hit enter.

install centos vmware

  • You would get a prompt to select the Language, choose your appropriate language and click continue.

centos vmware workstation installation wizard

  • You would be presented with installation Summary screen now. You would have to tell the installer that where it has to install the CentOS vm. Click on Installation Destination.

how to install centos on vmware

  • Select your desired drive and click on Done.

installation destination for centos in vmware workstation.

  • Next you would have to select the Software’s that you need to install along with the CentOS. By default Server with GUI selected. Which is what I wanted. Along with this I would like to also add SNMP service on this machine. So click on Software selection.

software selection for Centos vmware workstation.

  • By keeping the server with GUI I also selected Remote Management for Linux. This would help me setup SNMP on this machine in case if I wanted to monitor the VM. Click on Done and Begin installation.

software selection for Centos vmware workstation.

  • Installation now begin However, you would have to set the Root password also create user account for this machine.

installation progress in centos on vmware

  • Click on Root password, after you have set a strong password click on Done.

set the root password for centos 8

  • Next click on User creation and define user information with the credentials. Click on Done.

user creation of centos 8 guest vm

  • The installation process may take sometime.

installation progress in centos on vmware

Step 9. Reboot the CentOS VM.

Once the installation is completed you may go ahead and Reboot the machine by clicking on reboot.

reboot the centos vm to finish the installation successfully.

Step 10. Accept the CentOS license agreement.

This time you would get a full screen windows as compared to previous small windows during the installation steps. You would have to accept the license agreement by clicking on License Information.

Accept the License agreement for centos

  • Accept the license Agreement and click on Done.

Accept the License agreement for centos installation.

  • The installation is now completed and you would be presented with the login screen.

login to centos 8 vmware workstation 15.5

  • Once you logged in you have to select the Language for the machine.

select the language for centos 8

And once you are done with post installation steps, you would be presented with the screen that says You are ready to go.

Ready to use centos 8 in vmware workstation.

Click on start using CentOS Linux and you would be presented with the desktop like below.

centos 8 desktop in vmware workstation.

Congrats! You have now successfully installed Centos 8 on Vmware workstation pro 15.5 /16. In case if you have further questions, let me know in the comments section below.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *