Difficulty: beginner
Estimated Time: <10 minutes

Learn to install a CFEngine Hub

You've completed your first Katacoda scenario!

Don’t stop now! The next scenario will only take about 10 minutes to complete.

CFEngine Hub Install

Step 1 of 5

Step 1 - Configure the host

First lets ensure that the hostname we request when accessing Mission Portal resolves correctly.

sudo bash -c "echo 127.0.0.1 [[HOST_SUBDOMAIN]]-443-[[KATACODA_HOST]].environments.katacoda.com >> /etc/hosts"

Next we ensure this is the hosts fqdn so that ssl certificates generated during install will match.

sudo hostnamectl set-hostname [[HOST_SUBDOMAIN]]-443-[[KATACODA_HOST]].environments.katacoda.com