unixcop Admin

How To Install Rudder on Ubuntu 20.04 | 22.04 LTS

Rudder is an open source audit and configuration management utility to help automate system configuration across large IT infrastructures. Rudder relies on a lightweight local agent installed on each managed machine.

In this guide, you will show you how to install Rudder on Ubuntu systems.

Install Rudder on Ubuntu-APT method

Follow the steps below to get started with Rudder :

  • Update your Ubuntu system packages with running the below command:
sudo apt update -y && sudo apt upgrade -y
  • Then install Java by running the following command:
sudo apt install default-jre -y
  • By default, Rudder package is not available on Ubuntu base repository. So You can install it via adding the Rudder repository as follows:
sh -c 'echo "deb bionic main" > /etc/apt/sources.list.d/rudder.list'
  • Also import the GPG key as follows:
wget --quiet -O- "" | apt-key add -
  • Run the command below to reflect on the Rudder repo:
sudo apt update -y
  • Then install Rudder as shown below:
sudo apt install rudder-server-root -y
  • You have to choose to configure database rsyslog-pgsql with dbconfig-common package as shown below so press yes
  • Then, choose the localhost for it or just click Enter

Access Rudder Web Interface

  • Finally, open your web browser and access the Rudder web interface using the URL http://your_server_IP/rudder
  • Click Advanced to skip the potential security risk
  • Accept the risk then continue
  • Rudder webpage will be loaded for a while as shown below
  • And then you will be directed to the login wizard as follows, so login with the credentials:

Username: admin
Password: admin

Here we go, you will see the Rudder Dashboard as follows in the screenshot below

How to Remove (Uninstall) Rudder

  • Remove Rudder APT Method
sudo apt autoremove rudder-server-root --purge -y

Install Rudder -Conclusion

That’s it



Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook