# Rundeck installation on Windows

## Goal

Rundeck is excellent Open Source Software to execute some scripts instead of cron. The purpose here is establishing Rundeck server on windows.

OS : windows10
JDK : Openjdk8
Rundeck : 3.1.0

## Step1 : Installation of JDK

Move to OpenJDK and install openjdk8. If you use other versions of jdk, it may not work properly , please note it.

https://openjdk.java.net/

You can find java.exe in the decompressed folder and you have to add path to your user environmental variable.

## Step2 : Installation of Rundeck

Next, let’s install runeck. You can download rundeck war file from the following rundeck website.

https://www.rundeck.com/open-source

This example shows to use rundeck-3.1.0. Create folder in any directory like C:\Rundeck and set rundeck war file in the folder. Then execute a following command at the command prompt.

cd C:\Rundeck
java -jar rundeck-3.1.0-20190731.war

#result
---------------------
Configuring Spring Security Core ...
... finished configuring Spring Security Core

...

Grails application running at http://<hostname>:4440 in environment: production


If you can find ‘Grails application…’, it works well. The URL is automatically created and <hostname> is probably your computer name.

Open web browser(chrome or MS Edge) in the server and put ‘http://<hostname>:4440’ into the address bar and you can reach Rundeck login page like the following picture.

If you want to access Rundeck server from the client PC via network, you can do use the URL like ‘http://<hostname or IP address> :4440’. But please note that you have to open firewall about port 4440.

## Summary

Installation of rundeck on the Windows environment is as easy as Linux.

Rundeck installation on CentOS7

Contents1 Overview2 Environment3 Step1 : Installation of JDK4 Step2 : Installation of Rundeck5 Step3 : Parameter Setting6 Step4 : Firewall and Apache Setting7 Step5 : Changing password Overview Rundeck is functional Open Source Software for job management. It is more useful than cron because it can realize workflow, scheduling and so on. Following shows how to install Rundeck on CenOS and access it from a web browser. Rundeck https://www.rundeck.com/open-source Environment OS : CentOS7JDK : Openjdk8Rundeck : 3.0.13 Step1 : Installation of JDK At first you have to install JRE because Rundeck requires java runtime environment. This is a example to …

Cleaning up Rundeck database

Contents1 Overivew2 Environments3 Step1 : Backup of jobs4 Step2 : Drop and Create database5 Step3 : Reboot Rundeck6 Step4 : Import jobs7 Summary Overivew As a result of mistake of crontab setting for a job, Over 200 thousands of activity log was created. Somehow it’s not possible to delete project. Maybe it has too much activity and it takes too much time more than accepted. In the following , There are procedure to delete whole MySQL database for rundeck and clean all jobs and activities so on. Environments OS : CentOS7MySQL：Ver. 15.1Rundeck：Ver. 3.0.13 Step1 : Backup of jobs If you …