Devops Rundeck
Devops - Rundeck practices:
Installation
Installation steps (RedHat)
Asociate repository:
[root@formshost ~]# rpm -Uvh http://repo.rundeck.org/latest.rpm
Retrieving http://repo.rundeck.org/latest.rpm
warning: /var/tmp/rpm-tmp.wwyyJP: Header V4 RSA/SHA1 Signature, key ID e2d1065b: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:rundeck-repo-4-0 ################################# [100%]
[root@formshost ~]#
Install packages:
[root@formshost ~]# yum install rundeck
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
rundeck-release-bintray | 1.3 kB 00:00:00
rundeck-release-bintray/primary | 14 kB 00:00:00
rundeck-release-bintray 135/135
Resolving Dependencies
--> Running transaction check
---> Package rundeck.noarch 0:2.10.1-1.40.GA will be installed
--> Processing Dependency: rundeck-config for package: rundeck-2.10.1-1.40.GA.noarch
--> Running transaction check
---> Package rundeck-config.noarch 0:2.10.1-1.40.GA will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================
Installing:
rundeck noarch 2.10.1-1.40.GA rundeck-release-bintray 106 M
Installing for dependencies:
rundeck-config noarch 2.10.1-1.40.GA rundeck-release-bintray 10 k
Transaction Summary
===============================================================================================================================================
Install 1 Package (+1 Dependent package)
Total download size: 106 M
Installed size: 150 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/rundeck-release-bintray/packages/rundeck-config-2.10.1-1.40.GA.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID e2d1065b: NOKEY
Public key for rundeck-config-2.10.1-1.40.GA.noarch.rpm is not installed
(1/2): rundeck-config-2.10.1-1.40.GA.noarch.rpm | 10 kB 00:00:00
(2/2): rundeck-2.10.1-1.40.GA.noarch.rpm | 106 MB 00:00:14
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 7.1 MB/s | 106 MB 00:00:14
Retrieving key from http://rundeck.org/keys/BUILD-GPG-KEY-Rundeck.org.key
Importing GPG key 0xE2D1065B:
Userid : "Rundeck Build (automated builds) <build@rundeck.org>"
Fingerprint: 85e9 dbc7 4fcb 329e deda dd2e 9077 0e1b e2d1 065b
From : http://rundeck.org/keys/BUILD-GPG-KEY-Rundeck.org.key
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : rundeck-config-2.10.1-1.40.GA.noarch 1/2
Installing : rundeck-2.10.1-1.40.GA.noarch 2/2
Verifying : rundeck-2.10.1-1.40.GA.noarch 1/2
Verifying : rundeck-config-2.10.1-1.40.GA.noarch 2/2
Installed:
rundeck.noarch 0:2.10.1-1.40.GA
Dependency Installed:
rundeck-config.noarch 0:2.10.1-1.40.GA
Complete!
[root@formshost ~]#
Start as a (root) service:
[rundeck@formshost ~]$ service rundeckd start
Starting rundeckd (via systemctl): ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to manage system services or units.
Authenticating as: root
Password:
==== AUTHENTICATION COMPLETE ===
[ OK ]
[rundeck@formshost ~]$ service rundeckd status
● rundeckd.service - SYSV: rundeckd, providing rundeckd
Loaded: loaded (/etc/rc.d/init.d/rundeckd; bad; vendor preset: disabled)
Active: active (running) since Mon 2017-12-18 06:26:14 EST; 3s ago
Docs: man:systemd-sysv-generator(8)
Process: 9702 ExecStart=/etc/rc.d/init.d/rundeckd start (code=exited, status=0/SUCCESS)
Main PID: 9710 (runuser)
CGroup: /system.slice/rundeckd.service
‣ 9710 runuser -s /bin/bash -l rundeck -c java -Djava.security.auth.login.config=/etc/rundeck/jaas-loginmodule.conf -Dloginmodule.nam...
[rundeck@formshost ~]$
Check default listening port:
[rundeck@formshost ~]$ netstat -tnlp | grep 444
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp6 0 0 :::4440 :::* LISTEN 9717/java
[rundeck@formshost ~]$
Next step: access and config steps:
devops-rundeck-access-andconfig
http://rundeck.org/docs/manual/getting-started.html
Bibliography
page revision: 8, last edited: 18 Dec 2017 11:37