How To Install Rundeck on Ubuntu 18.04 16.04

How To Install Rundeck on Ubuntu 18.04 16.04

Before going to install rundeck on ubuntu 18.04/16.04 we need to install some dependencies. Make sure that your ubuntu 18.04/16.04 is up to date. To update your ubuntu rundeck server use below command.

apt-get update -y

rundeck requires java, so install java to install rundeck on ubuntu 18.04/16.04.

apt-get install openjdk-8-jdk-headless -y

Download Rundeck debian package to Install Rundeck on Ubuntu:

wget https://dl.bintray.com/rundeck/rundeck-deb/rundeck_3.0.19.20190327-1.201903272311_all.deb

above command will download rundeck 3.0.19 version Debian package. if you want to download different version of rundeck you can download by using below steps.

Download specific version of rundeck by using below commands.

  • go to this webpage https://dl.bintray.com/rundeck/rundeck-deb/
  • select rundeck version
  • wget  https://dl.bintray.com/rundeck/rundeck-deb/rundeck-version

install rundeck on ubuntu 18.04/16.04

install debian package by using below command

dpkg  -i   Debian_Package

dpkg -i rundeck_3.0.19.20190327-1.201903272311_all.deb

before going to start rundeck we have edit some configuration files. lets do that

Rundeck Configuration:

vi /etc/rundeck/framework.properties

in framework properties change localhost to your server ip.

############## Before ##################
framework.server.name = localhost
framework.server.hostname = localhost
framework.server.port = 4440
framework.server.url = http://localhost:4440
 
############## After ##################
framework.server.name = Server_IP_Address
framework.server.hostname = Server_IP_Address
framework.server.port = 4440
framework.server.url = http://Server_IP_Address:4440

 

vi /etc/rundeck/rundeck-config.properties

change the grails server url from localhost to your server ip

############## Before ##################
grails.serverURL=http://localhost:4440
############## After ##################
grails.serverURL=http://Server_IP_Address:4440

start the rundeck service

service rundeckd start

start the rundeck service by using above command.

rundeck application will run on port no 4440 so open the port 4440. If you are using firewalls allow the firewalls port 4440. if you are using aws ec2 instance for rundeck server, open port no 4440 in security groups.

Login To Rundeck:

rundeck will run on port 4440 so in browser enter http://your-server-ip:4440

default username and password for rundeck is admin/admin

Change default Admin Password:

if you want to change the admin user password you can do it by editing realm.properties

vi /etc/rundeck/realm.properties

############## Before ##################
admin:admin,user,admin,architect,deploy,build
############## After ##################
admin:new_password,user,admin,architect,deploy,build

after changing the password restart the rundeck service

service rundeckd restart

now in browser enter http://your-server-ip:4440 and login with username and password is admin/new_password.

now we have successfully installed rundeck on ubuntu 18.04/16.04 and configured to use rundeck.

 

  • How To Install Rundeck on Ubuntu 18.04 16.04.
  • install rundeck on ubuntu
  • rundeck installation on Ubuntu
  • install rundeck ubuntu 18.04
  • download rundeck ubuntu
  • configure rundeck on ubuntu
  • installation of rundeck on ubuntu

Leave a Reply

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