Steps to Install Rudder System Configuration & Auditing Tool on Ubuntu 20.04 LTS

Rudder is a free & open source IT Infrastructure Automation & Compliance (multi-platform) tool. It helps to automate system configuration across large IT infrastructures. It allows to manage and maintain production infrastructure & support different Linux operating systems including, Ubuntu, Debian, Fedora, RHEL, CentOS and SUSE. It offers a set of rules that can be used to make low-level configuration patterns and monitor infrastructure compliance.

There are some steps to install rudder server on ubuntu:

Step 1: Update the System.

apt-get update

Step 2: Install required dependencies.

apt-get install apt-transport-https ca-certificates wget dirmngr gnupg software-properties-common

  • Here is the command output.

root@ip-172-31-35-10:/home/ubuntu# apt-get install apt-transport-https ca-certificates wget dirmngr gnupg software-properties-common -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates is already the newest version (20210119~20.04.2).
ca-certificates set to manually installed.
dirmngr is already the newest version (2.2.19-3ubuntu2.1).
dirmngr set to manually installed.
gnupg is already the newest version (2.2.19-3ubuntu2.1).
gnupg set to manually installed.
The following additional packages will be installed:
python3-software-properties
The following NEW packages will be installed:
apt-transport-https
The following packages will be upgraded:
python3-software-properties software-properties-common wget

Step 3: Download and add the GPG key.

wget --quiet -O- "https://repository.rudder.io/apt/rudder_apt_key.pub" | apt-key add -

  • Add the Rudder repository.

sh -c 'echo "deb http://repository.rudder.io/apt/6.0/ bionic main" > /etc/apt/sources.list.d/rudder.list'

  • Update the packages.

apt-get update

Step 4: Install Rudder Server on System.

apt-get install rudder-server-root

  • Here is the command output.

root@ip-172-31-35-10:/home/ubuntu# apt-get install rudder-server-root
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
acl apache2 apache2-bin apache2-data apache2-utils binutils binutils-common binutils-x86-64-linux-gnu ca-certificates-java dbconfig-common fontconfig-config
fonts-dejavu-core java-common ldap-utils libapache2-mod-wsgi-py3 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libavahi-client3 libavahi-common-data
libavahi-common3 libbinutils libctf-nobfd0 libctf0 libcups2 libfontconfig1 libgraphite2-3 libharfbuzz0b libjansson4 libjpeg-turbo8 libjpeg8 liblcms2-2 libllvm10 liblua5.2-0
libpcsclite1 libpq5 libsensors-config libsensors5 libxml-treepp-perl net-tools openjdk-11-jre-headless postgresql postgresql-12 postgresql-client postgresql-client-12
postgresql-client-common postgresql-common python3-bs4 python3-html5lib python3-lxml python3-soupsieve python3-webencodings rsyslog-pgsql rudder-agent rudder-reports
rudder-server-relay rudder-webapp ssl-cert sysstat
Suggested packages:
apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser binutils-doc dbconfig-mysql | dbconfig-pgsql | dbconfig-sqlite | dbconfig-sqlite3
| dbconfig-no-thanks default-jre libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal cups-common liblcms2-utils pcscd lm-sensors libnss-mdns fonts-dejavu-extra
fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic postgresql-doc postgresql-doc-12 libjson-perl python3-genshi python3-lxml-dbg
python-lxml-doc openssl-blacklist isag
The following NEW packages will be installed:
acl apache2 apache2-bin apache2-data apache2-utils binutils binutils-common binutils-x86-64-linux-gnu ca-certificates-java dbconfig-common fontconfig-config
fonts-dejavu-core java-common ldap-utils libapache2-mod-wsgi-py3 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libavahi-client3 libavahi-common-data
libavahi-common3 libbinutils libctf-nobfd0 libctf0 libcups2 libfontconfig1 libgraphite2-3 libharfbuzz0b libjansson4 libjpeg-turbo8 libjpeg8 liblcms2-2 libllvm10 liblua5.2-0
libpcsclite1 libpq5 libsensors-config libsensors5 libxml-treepp-perl net-tools openjdk-11-jre-headless postgresql postgresql-12 postgresql-client postgresql-client-12
postgresql-client-common postgresql-common python3-bs4 python3-html5lib python3-lxml python3-soupsieve python3-webencodings rsyslog-pgsql rudder-agent rudder-reports
rudder-server-relay rudder-server-root rudder-webapp ssl-cert sysstat
0 upgraded, 61 newly installed, 0 to remove and 37 not upgraded.
Need to get 212 MB of archives.
After this operation, 556 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

  • To configure database for rsyslog-pgsql with dbconfig-common.
  • Click on Yes.

  • Select remote hostname to use or select new host to enter a new host name.
  • Click on Ok.

  • Provide the PostgreSQL application password for rsyslog-pgsql.
  • Click on Ok.

  • Confirm the password & click Ok.

Step 5: Open Rudder web interface.

https://server-ip/rudder

  • Here is the output.

  • By default username & password is :admin
  • Click on Sign In.
  • Now,Rudder Server is Ready.

Leave a Reply