How To Install Rundeck On Centos 7

How To Install Rundeck On Centos 7

To install rundeck on centos 7 you need java in your system so install java in your server

install java

yum install java-1.8.0 -y

Download Rundeck rpm File to Install Rundeck on Centos7

rpm -Uvh https://repo.rundeck.org/latest.rpm

Install rundeck on centos 7

now run the following command to install rundeck on centos 7

yum install rundeck -y

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

Edit Rundeck configuration files 

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

verify the rundeck status

service rundeckd status

verify the status of rundeck by using above command. you can see rundeck is not started.

[root@ip-10-0-0-25 ~]# service rundeckd status
? rundeckd.service - SYSV: rundeckd, providing rundeckd
   Loaded: loaded (/etc/rc.d/init.d/rundeckd; bad; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:systemd-sysv-generator(8)
[root@ip-10-0-0-25 ~]#

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.

firewall-cmd --zone=public --add-port=4440/tcp --permanent
firewall-cmd --reload

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.

 

  • How To Install Rundeck on centos 7
  • install rundeck on centos 7
  • rundeck installation on centos
  • install rundeck centos 7
  • download rundeck centos
  • configure rundeck on centos
  • installation of rundeck on centos 7

Leave a Reply

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