Install ClearOS on VMware ESXi

If you are looking for a versatile and easy to configure Linux based router with additional functionalities then ClearOS is probably one of the best candidates. In this article series we’ll explore the installation and configuration of the latest version ClearOS 7.3 in a VMware ESXi Host along with open VM tools

I’m currently using ClearOS with multiple functionalities also thanks to the apps that can be downloaded for free and automatically installed. Of course there are plenty of apps (some available for purchase as well) covering different areas. In our case for this article I will focus on the apps to a Firewall, Port Forwarding and Web Content Filtering. This is my main gateway for my home lab and also acts as a router between the different networks including the ones I’m using for VM Network, vMotion and Provisiong traffic.

This post is divided in 3 parts where we’ll cover the following:

So let’s get started with the first part about creating a VM to install ClearOS.

ClearOS ships with 3 editions: Business, Home and Community. For the purpose of this article we are going to use the Community edition. As soon as we have downloaded the ClearOS ISO we are then ready to create the virtual machine using the Create New Machine Wizard in vCenter or vSphere Web Client.

ClearOS uses a Linux OS based on CentOS so a selection like the one below would be a good fit

Install ClearOS 01

Next would be to select the Datastore as to where this virtual machine will be located. The actual installation does not require a lot of space but future deployments of apps storing content (eg. Web content filter includes the option to create a cache for downloaded files). It really depends on different needs. For those who want to know more accurate sizing can consult the information about the minimum system requirements. Of course extra virtual disks can be added later on

Install ClearOS 02

As I’m looking primarily at a network router with some extra functionalities a 20GB disk would be enough to accommodate my requirements. Let’s make sure we connect to the downloaded ISO and proceed with the next steps

Install ClearOS 03

As soon as we are booting the VM the installation menu appears including the ability to test the media along with additional troubleshooting

Install ClearOS 04

the installer starts.. and for advanced troubleshooting, logging or mere curiosity it is possible to switch to other sessions as well in pure Linux style!

Install ClearOS 05

We are ready to begin the wizard by selecting the appropriate settings

Install ClearOS 06

From this menu we can select different options. Since the Network has not been setup as of yet we’ll start from this one also to make sure the network card is working with the correct driver

Install ClearOS 07

A network card has been recognised and installed (ens160). We can also add devices for NIC teaming and bonding rather than other configuration including VLANs. Not needed for now and good to know ClearOS supports such configurations

Install ClearOS 08

By clicking on configure we are presented with the following

Install ClearOS 09

Let’s jump toIPv4 Settings to setup a manual IP Address. I prefer to avoid DHCP configurations for Servers and have an easier life with manual IP allocations for them. Also I also recommend to create DNS entries for forward and revers name resolution

Install ClearOS 10

Once done let’s move the slider to “power on” the device

Install ClearOS 11

At this point we are ready to decide about the ClearOS disk partitioning. Again this could be a fully automatic or manual process.

Install ClearOS 12

Once we are happy with the general settings we are now ready to begin the installation

Install ClearOS 13

During the installation phase the wizard proposes the root password setup

Install ClearOS 14

As per screenshot below

Install ClearOS 15

A few moment later we can simply login to a Web page to carry on with the rest of the configuration. By default this would be

https://ClearOS-IPAddress:81

Install ClearOS 16

All we have to to is to provide the credential we have chose earlier and progress with the next article of ClearOS configuration

Michele Domanico

Passionate about Virtualization, Storage, Data Availability and Software Defined Data Center technologies. The aim of Domalab.com is sharing with the Community the knowledge and experience gained with customers, industry leaders and like minded peers. Always open to constructive feedback and new challenges.

Leave a Reply