A Step by Step Guide to install rundeck on ubuntu 17.04(zesty):


Here is a Step by Step Guide to install rundeck on ubuntu 17.04(zesty):


As we know 'Rundeck is open source software that helps you automate routine operational procedures in data center or cloud environments, it allows you to run tasks on any number of nodes from a web-based or command-line interface.' from the previous post Rundeck installation on CentOS.

I'm installing rundeck on ubuntu 17.04(zesty)(my server ip is: 192.168.225.231)

pre-requirements:


Installing java:

# apt-get install openjdk-8-jdk

A Step by Step Guide to install rundeck on ubuntu 17.04(zesty)


Setting up java home:

Add the below contents in file: /etc/profile.d/java.sh
#!/bin/bash
JAVA_HOME=/usr/bin/java
PATH=$JAVA_HOME/bin:$PATH
export PATH JAVA_HOME
export CLASSPATH=.


# source /etc/profile.d/java.sh

A Step by Step Guide to install rundeck on ubuntu 17.04(zesty)

Firewall setup:

We can enable the ufw and allow port 4440.


A Step by Step Guide to install rundeck on ubuntu 17.04(zesty)

Let us download the rundeck package(.deb) from: http://rundeck.org/downloads.html


A Step by Step Guide to install rundeck on ubuntu 17.04(zesty)

we can start the rundeck installation:

# dpkg -i rundeck-2.8.2-1-GA.deb


A Step by Step Guide to install rundeck on ubuntu 17.04(zesty)

post-installation steps:

Comment out the following line in file: /etc/rundeck/rundeck-config.properties

# Comment this out from:
grails.serverURL=http://localhost:4440

# To:
# grails.serverURL=http://localhost:4440


Modify the below lines in file: /etc/rundeck/framework.properties

framework.server.name = localhost
framework.server.hostname = localhost
framework.server.port = 4440
framework.server.url = http://localhost:4440

to

framework.server.name = 192.168.225.231
framework.server.hostname = 192.168.225.231
framework.server.port = 4440
framework.server.url = http://192.168.225.231:4440


We can enable the rundeckd service, so that it will automatically start on boot

# systemctl enable rundeckd



A Step by Step Guide to install rundeck on ubuntu 17.04(zesty)

Also we can use below commands to,

stop rundeck:

# systemctl stop rundeckd

start rundeck:

# systemctl start rundeckd

restart rundeck:

# systemctl restart rundeckd

status rundeck:

# systemctl status rundeckd

Server has been restarted to update the changes, now the rundeck service also up and running.


A Step by Step Guide to install rundeck on ubuntu 17.04(zesty)

try to reach the rundeck by accessing: http://your-server-ip:4440 http://192.168.225.231:4440


A Step by Step Guide to install rundeck on ubuntu 17.04(zesty)

Username: admin
Password: admin


A Step by Step Guide to install rundeck on ubuntu 17.04(zesty)


created test project(ranjith-test) and you can see the rundeck server node listed on the page.

A Step by Step Guide to install rundeck on ubuntu 17.04(zesty)

Server node details:

A Step by Step Guide to install rundeck on ubuntu 17.04(zesty)


Thanks.

Comments

Popular posts from this blog

Resolved: DOCKER: Error response from daemon: Could not attach to network / rpc error: code = 7 desc = network not manually attachable.

yum failed 6 times. Cannot continue!

How to echo colored text in linux shell script: