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.

In this quick tutorial, we are going to show you how to install and configure Rundeck server on centOS 8 using mySQL as database. Rundeck requires java 8 to run, so follow this guide before proceeding How to Install Java on CentOS 8.

Install Rundeck on Centos 8

01- First, let’s import the Rundeck GPG key using the following rpm command:

$ sudo rpm --import http://rundeck.org/keys/BUILD-GPG-KEY-Rundeck.org.key

02- Install the latest Rundeck Repository by running the below command:

$ sudo dnf install -y http://repo.rundeck.org/latest.rpm

03- Install the latest version of Rundeck by typing:

$ sudo dnf install rundeck -y

04- By default, Rundeck uses an H2 database as its repository. But the use of H2 database is not recommended for production environments. Therefore, we will use MySQL as a database backend for Rundeck.

If you do not have a running MySQL database server, then you need to follow this guide install MySQL Server on CentOS 8.

– Run the below commands to create the Rundeck database:

$ mysql -u root -p
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 16
Server version: 10.3.17-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> create database rundeck;
Query OK, 1 row affected (0.001 sec)

MariaDB [(none)]> grant all on rundeck.* to 'rundeckuser'@'localhost' identified by 'Password';
Query OK, 0 rows affected (0.001 sec)

MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.000 sec)

MariaDB [(none)]> exit
Bye

#centos/redhat #devops #linux #rundeck

How to install Rundeck on centos 8 - YallaLabs
2.45 GEEK