Configure ClearOS on VMware ESXi

Now that the basics of the installation have been covered next is to run the wizard which will help us configuring ClearOS. This includes setup for additional Network cards, OS install registration which is preparatory for registering on the Marketplace and also to download available updates for the latest packages. Everything is accomplished through a Web page. Let’s take a look at these simple steps.

Install ClearOS 17

Since the OS installation has been completed let’s login to the shell terminal to reboot the VM. Before doing so let’s disconnect the installation ISO

Install ClearOS 18

In this occasion if we need to add new Network cards we can take advantage of this phase when powering down the VM rather than rebooting

Install ClearOS 19

A few moments later and we are back to the wizard. One of the first options to configure is about the Network so that ClearOS can automatically configure the basic IPtables rules for the built-in firewall. From here it is possible to choose between Public Server, Gateway and Standalone mode. More info can be found on the documentation page. For our setup we’ll be using the Gateway Mode benefiting from a Firewall as well protecting our internal VM Network

Install ClearOS 20

At this point we can also see the additional Network cards being the “ens160” the first one we used during ClearOS installation. From this wizard we can now configure the additional ones setting the IP addresses along with Roles: External, LAN, Hot LAN and DMZ

Install ClearOS 21

In my case I will have 1 external (connected to the external router) and 3 LANs to accommodate the internal VM Network traffic plus vMotion and Provisioning

Install ClearOS 22

Let’s provide an IP Address for external DNS queries (Note: it is also possible to configure ClearOS as a DNS/DHCP/SSH server with built-in Network package)

Install ClearOS 23

At this point we need to specify the subscription type: Let’s use Community Edition

Install ClearOS 24

If not done already now it is time to create a login to ClearCenter and fill the required information

Install ClearOS 25

The system registration provides a summary of the basic information. Once the account is created it is also possible to manage the installation of ClearOS from the Portal

Install ClearOS 26

At this point we are ready to check and install updates

Install ClearOS 27

the process is very quick and fully automated

Install ClearOS 28

Let’s specify the domain we’ll be using. If any or leave it blank

Install ClearOS 29

ClearOS offers the ability to have a separate hostname for internal and external access. I prefer to use a single one in this case

Install ClearOS 30

Let’s specify the time zone

Install ClearOS 31

At this point we can setup how the packages from the Marketplace will be available. Personally I find interesting to use the “Category” view

Install ClearOS 32

From here let’s take a look at the various packages can be installed and organised by categories

Install ClearOS 33

The initial packages I intend to install are a Content Filter Engine which will cache all files that will be downloaded from VMs on the internal Network. Very useful when downloading same files multiple times or why not even with files downloaded during Windows Updates. When it comes down to firewall rules it is possible to use “IPtables” from the command line or as alternative the Web GUI to manage the Firewall rules in an easier way. For this reason I would suggest to install other 3 apps: Custom Firewall, Egress Firewall and Port Forwarding. Custom Firewall makes interaction with IPtables a lot easier and avoids connecting directly to the shell terminal on the VM

Install ClearOS 34

Next is to configure a custom Dashboard or use a default one. Literally we can choose from a big variety of installed apps and commands operated directly from the Dashboard

Install ClearOS 35

Since we have added the Content Filter Engine app it is now time to configure the cache will be used to store downloaded files including the max file size. According to different needs larger drives might be needed and attached as additional storage

Install ClearOS 36

This pretty much concludes the ClearOS configuration part. As announced at the beginning it’s a very quick and easy process. The virtual machine is very responsive and considering ClearOS is based on Linux CentOS distribution why not install Open-VM-Tools to improve performances even more? That’s what we’ll cover in the next article

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

%d bloggers like this: