home tools books contact

How to Install CentOS 8 on a Mac with VMware Fusion

This post will show you how to install CentOS 8 on a Mac using VMware's Desktop virtualization software.

Advertisement

Introduction

VMware Fusion* is a desktop virtualization program that lets you run multiple different operating systems on your Mac at the same time. This is great for developers because it allows you to test software on a machine similar to what is used in production. And with VMware Fusion Pro* you can create snapshots that let you rollback changes, or you can clone existing virtual machines to speed up the deployment of test environments.

In this post, we’ll create a CentOS 8 VM so that you can run Linux on your Mac without needing extra hardware.

Prerequisites

Before we begin, you should have VMware Fusion* installed on your Mac and have downloaded the minimal CentOS 8 ISO.

Let’s begin.

Advertisement

Step 1: Create Virtual Machine

Open VMware Fusion, click + then New…

Create CentOS 8 VM on VMware Fusion - Step 1

The Easy Install feature would not work for me with version 11.5.6 of VMware Fusion. I’m guessing there’s a problem with the kickstart script because the installation would fail with an error message at the end.

To get around this problem, I used the Create a custom virtual machine option.

Create CentOS 8 VM on VMware Fusion - Step 2

Select CentOS 8 64-bit then click Continue.

Create CentOS 8 VM on VMware Fusion - Step 3

Select Legacy BIOS then click Continue.

Create CentOS 8 VM on VMware Fusion - Step 4

Select Create a virtual disk then click Continue.

Create CentOS 8 VM on VMware Fusion - Step 5

Click Customize Settings.

Create CentOS 8 VM on VMware Fusion - Step 6

Enter a name and location to save the VM, then click Save.

Create CentOS 8 VM on VMware Fusion - Step 7

Click CD/DVD (IDE).

Create CentOS 8 VM on VMware Fusion - Step 8

Select Choose a disc or image from the picker.

Create CentOS 8 VM on VMware Fusion - Step 9

Browse to the CentOS minimal ISO image then click Open.

Create CentOS 8 VM on VMware Fusion - Step 10

Connect the ISO by checking the Connect CD/DVD Drive option.

Create CentOS 8 VM on VMware Fusion - Step 11

Close the Settings window then power on the VM.

Create CentOS 8 VM on VMware Fusion - Step 12

Advertisement

Step 2: Install CentOS

Select Install CentOS Linux 8 then press Enter.

Create CentOS 8 VM on VMware Fusion - Step 13

Wait for the graphical user interface installer to load.

Create CentOS 8 VM on VMware Fusion - Step 14

Select your language then click Continue.

Create CentOS 8 VM on VMware Fusion - Step 15

Select Installation Destination.

Create CentOS 8 VM on VMware Fusion - Step 16

Select the VMware drive then click Done.

Create CentOS 8 VM on VMware Fusion - Step 17

Click Begin Installation.

Create CentOS 8 VM on VMware Fusion - Step 18

While the files are being copied assign a root password and create a user.

Create CentOS 8 VM on VMware Fusion - Step 19

Once the installation is finished, click Reboot.

Create CentOS 8 VM on VMware Fusion - Step 22

You are now ready to login with the user, you just created.

Create CentOS 8 VM on VMware Fusion - Step 23

Advertisement

Step 3: Configure Network

Once you login to the system for the first time, you will notice the internet does not work. This is because the network needs to be configured. You can enable the network adapter by running the following command:

ifup ens33

You should now be able to ping Google:

ping google.com

Step 4: Install VMware Tools

Now that you have internet access, you can install VMware Tools with the following command:

yum install open-vm-tools

VMware Tools makes the VM run faster and it let’s you copy and paste between the Mac and VM when using a desktop operating systems.

Advertisement

Conclusion

VMware Fusion* is a great tool for developers when creating software for multiple operating systems. In this tutorial, I showed you how to get CentOS running on a Mac as a virtual machine so that you can run Linux without extra hardware.

Written by: Tony Mackay

Virtualization Fusion CentOS

* GraspingTech participates in various affiliate marketing programs, which means we may earn a small commission at no additional cost to you, should you click on a link to a product and make a purchase.

Advertisement