Recommended for new users and Linux users. Follow these steps to install the latest LTS version of CFEngine Enterprise. For other operating systems and versions, visit the Enterprise download page and follow the documentation
Run the following command to download and automatically Install CFEngine Hub
wget https://s3.amazonaws.com/cfengine.packages/quick-install-cfengine-enterprise.sh && sudo bash ./quick-install-cfengine-enterprise.sh hub
Once installed, you must bootstrap the hub to itself. Find the IP address of your machine using the (ifconfig) command, and run the following command:
sudo /var/cfengine/bin/cf-agent --bootstrap <IP address of policy server>
Run the following command on any machine you'd like to connect to the Hub; it will download and automatically install the Agent.
wget https://s3.amazonaws.com/cfengine.packages/quick-install-cfengine-enterprise.sh && sudo bash ./quick-install-cfengine-enterprise.sh agent
Now bootstrap the Agent to the Hub. Using the IP address from step 2 above, run the following command:
sudo /var/cfengine/bin/cf-agent --bootstrap <IP address of policy server>
In any modern browser, visit the IP address of your Hub from step 2 above.
Log in with username: admin & password: admin