In these learning tutorials we are using the Free 25, which is the full version of CFEngine Enterprise, but the number of hosts (nodes) is limited to 25. The installation will normally take less than a couple of minutes.

System requirements

CFEngine Policyserver 64-bit machine with a recent version of Linux.
2 gb of memory, and 100mb of disk space per host you plan to connect to. Port 5308 needs to be open. Hostname must be set.

The installation script below has been tested on RHEL 5,6, SLES 11, CentOS 5,6 and Debian 6,7.

1. Download and Install CFEngine Policyserver

Run the following command to download and automatically install CFEngine on a fresh 64-bit Linux machine (the script will detect correct Linux flavor).

    # wget  && sudo bash ./ hub

2. Bootstrap the Policyserver

Once installed, the policyserver needs to bootstrap to itself. Find the IP address of your Policyserver using the (ifconfig) command, and run the bootstrap command:

    # sudo /var/cfengine/bin/cf-agent --bootstrap <IP address of policy server>

3. Congratulation you are done!

CFengine Policyserver is installed and ready. That was easy, wasn’t it?

If you would like to see what version of CFEngine you are running, type:

    # /var/cfengine/bin/cf-promises --version

CFEngine Mission Portal

CFEngine Enterprise comes with a graphical user-interface for easy access to reporting (Verify Actual State). To log into the CFEngine Mission Portal, simply go to the IP address of policy server:

Username: admin – Password: admin

Now that you have a stand-alone version of CFEngine running, you can move on with our:

or if you would like to install and connect hosts, you can read on here:

Please help us improve:

14 2

Do you have ideas / feedback to share with us? Send feedback