How to Install RunDeck on RHEL

Rundeck is open source software that helps you automate routine operational procedures in data center or cloud environments. Rundeck provides a number of features that will alleviate time-consuming grunt work and make it easy for you to scale up your automation efforts and create self service for others. Teams can collaborate to share how processes are automated while others are given trust to view operational activity or execute tasks.

Rundeck allows you to run tasks on any number of nodes from a web-based or command-line interface. Rundeck also includes other features that make it easy to scale up your automation efforts including: access control, workflow building, scheduling, logging, and integration with external sources for node and option data.

Already itching to install it? Jump ahead to Installing Rundeck.

http://rundeck.org/docs/manual/introduction.html

1. Install Java
yum install java-1.8.0-openjdk java-1.8.0-openjdk-devel -y
java -version

2. Download and configure Rundeck
cd /tmp
wget http://dl.bintray.com/rundeck/rundeck-maven/rundeck-launcher-2.5.1.jar
export RDECK_BASE=/etc/rundeck/
mkdir $RDECK_BASE
mv rundeck-launcher-2.5.1.jar /etc/rundeck/
cd $RDECK_BASE
ln -s /etc/rundeck/server/sbin/rundeckd /etc/init.d/
/etc/init.d/rundeckd start
echo "export RDECK_BASE=/etc/rundeck/" >> /etc/profile

3. Change your password
vim /etc/rundeck/server/config/realm.properties
admin:Your_Pa$$w0rd,user,admin

4. If after your login you redirect to localhost edit this file
vim /etc/rundeck/etc/framework.properties
framework.server.url = http://yourservername:4440

5. Add Iptables Rules
vim /etc/sysconfig/iptables
-A INPUT -p tcp --dport 4440 -j ACCEPT
/etc/init.d/iptables restart

You may also like...

1 Response

  1. rajiv says:

    Please add a step to run jar file else /etc/rundeck will be empty.

Leave a Reply

Your email address will not be published. Required fields are marked *