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

Saifudheen SidheeqLinux, VirtualizationLeave a Comment

centos 8 installation on vmware workstation

I have covered few blog posts in the past about installing VM’s such as Centos, Ubuntu, Windows on different hypervisors. However, installation of CentOS 8 on 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 lets get started.

Prerequisite

  • Though this article is for the CentOS version 8, it works on other versions as well. You may download the centos 7 or 8 clicking here.
  • You can get VMware workstation pro here.

How to install Centos on Vmware workstation pro ?

  1. Creation of the CentOS VM.
  2. Choose to install the operating system later.
  3. Select the version of the operating system.
  4. Name the Centos Guest OS.
  5. Specify the Storage for the CentOS.
  6. Configure the Memory for the Guest OS.
  7. Attach the CentOS iso file.
  8. Begin CentOS installation on Vmware workstation 15.5.
  9. Reboot the CentOS VM.
  10. Accept the CentOS license agreement.

Step 1. Creation of the CentOS VM.

  • 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. In case if you have further questions, let me know in the comments section below.


Learn About This Author

Saifudheen Sidheeq

Saifudheen is in the Computer networking and technology field for about a decade now. He loves technology and new ideas, and in his spare time, he loves to write about them.