Skip to content

Instantly share code, notes, and snippets.

@jniltinho
Last active January 12, 2024 19:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jniltinho/f27487246dfece3b0e15a3e146331d03 to your computer and use it in GitHub Desktop.
Save jniltinho/f27487246dfece3b0e15a3e146331d03 to your computer and use it in GitHub Desktop.
Install Rundeck on Ubuntu
#!/bin/bash
## Install Rundeck + Mysql on Debian 12|Ubuntu 22.04
## https://linuxways.net/ubuntu/how-to-install-rundeck-on-ubuntu-20-04/
## https://docs.rundeck.com/docs/administration/install/linux-deb.html#installing-rundeck
## https://kifarunix.com/install-rundeck-on-ubuntu/?expand_article=1
## Run as root (sudo su)
apt update
apt install -y vim wget gpg mariadb-server mariadb-client
systemctl enable mariadb
## mysql_secure_installation
## systemctl restart mariadb
wget -qO- https://packages.rundeck.com/pagerduty/rundeck/gpgkey | gpg --dearmor > /etc/apt/trusted.gpg.d/rundeck.gpg
cat <<'EOF' >/etc/apt/sources.list.d/rundeck.list
deb https://packages.rundeck.com/pagerduty/rundeck/any/ any main
deb-src https://packages.rundeck.com/pagerduty/rundeck/any/ any main
EOF
apt update
apt install rundeck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment