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
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
Firewall setup:
We can enable the ufw and allow port 4440.
Let us download the rundeck package(.deb) from: http://rundeck.org/downloads.html
we can start the rundeck installation:
# dpkg -i rundeck-2.8.2-1-GA.deb
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
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.
try to reach the rundeck by accessing: http://your-server-ip:4440 http://192.168.225.231:4440
Username: admin
Password: admin
Server node details:
Thanks.
Comments
Post a Comment