How to Install Rundeck on CentOS 8

Install Rundeck on CentOS 8

In this article, we will have explained the necessary steps to install and configure Rundeck on CentOS 8. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Rundeck is an open-source software Job scheduler and Run Book Automation system for automating routine processes across development and production environments. It combines task scheduling, multi-node command execution, workflow orchestration and logs everything that happens. Rundeck is available in Enterprise (Commercial) and Community (Free) editions. Rundeck Enterprise offers more features than Rundeck Community edition but with the license cost.

Install Rundeck on CentOS 8

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

Step 2. Install Rundeck on CentOS.

Now, let’s import the Rundeck GPG key using the following rpm command:

Run the following command to install rundeck:

After that, enable and start rundeckd service:

Step 3. Configure Firewall.

Allow the Rundeck service port: 4440 in CentOS firewall:

Step 4. Configure MySQL Database Backend for Rundeck

Run the below commands to create the Rundeck database:

Step 5. Accessing Rundeck.

Open your web browser and go to the following address: http://your-server_ip:4440 or http://localhost:4440 Log in with the username admin and password admin

Congratulation, you have learned how to install and configure Rundeck on CentOS 8. If you have any question, please leave a comment below.