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.
|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. Ports 5308 and 443 need to be open. Hostname must be set.|
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 https://s3.amazonaws.com/cfengine.packages/quick-install-cfengine-enterprise.sh && sudo bash ./quick-install-cfengine-enterprise.sh 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:
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.
PS! Click on the secure connection link above if you experience login error, or add https as prefix to the URL.
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:
Do you have ideas / feedback to share with us? Send feedback