How to install the Rudder system audit platform on Ubuntu 20.04

  • Technology
  • How to install the Rudder system audit platform on Ubuntu 20.04

Looking for a system audit and compliance tool? Look no further than the open source Rudder platform. Jack Wallen shows you how to get this up and running on Ubuntu Server 20.04.

Image: NicoElNino, Getty Images/iStockphoto

Rudder is one of those tools that, once you start using it, you’ll wonder how you got along without it. With Rudder you can audit systems and automate low-level system configuration across your entire IT landscape. Rudder offers an outstanding web-based GUI that can help ease the burden on your IT staff a bit.

SEE: How to install Ubuntu Server 20.04 with the new Live Installer

With Rudder you can deal with things like:

  • Continuous growth, availability, and threat.
  • Managing base systems.
  • Installing, configuring, and updating middleware and applications.
  • Guaranteeing compliance and security of systems.
  • Correctly applying configurations to operating systems from a single, web-based, point of entry.
  • Viewing the state of systems with easy-to-read graphs.

It is important to note, however, that Rudder is not a tool for deployment and integration, network management, or monitoring.

I want to walk you through the process of installing Rudder on Ubuntu Server 20.04.

What you’ll need

The only things you’ll need to make this work are:

  • A running, updated instance of Ubuntu 20.04.
  • A user with sudo privileges.

That’s it. Let’s make some magic.

How to install the dependencies

The first thing we must do is install a few dependencies. To do that, log in to your Ubuntu Server instance and issue the command:

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

With the dependencies installed, it’s time to install Rudder.

How to install Rudder

Before we can add the necessary repository, we must download and install the GPG key. To do that, issue the command:

wget –quiet -O- “https://repository.rudder.io/apt/rudder_apt_key.pub” | sudo apt-key add –

When that command completes, add the repository with the command:

sudo sh -c ‘echo “deb http://repository.rudder.io/apt/6.0/ bionic main” > /etc/apt/sources.list.d/rudder.list’

Finally, update apt and install Rudder with the following commands:

sudo apt-get update
sudo apt-get install rudder-server-root -y

During the installation you’ll be asked to configure rsyslog-pgsql. When prompted (Figure A), make sure Yes is selected and hit Enter on your keyboard.

Figure A

rudder-installa.jpg

The first step in configuring the database for rsyslog.

In the next window (Figure B), make sure localhost is selected, tab down to OK, and hit Enter on your keyboard.

Figure B

rudder-installb.jpg

Our database host will live on the local system.

Next you’ll need to type and verify a new password for the rsyslog-pgsql admin user (Figure C).

Figure C

rudder-installc.jpg

Creating a password for the rsyslog-pgsql user.

How to access Rudder

When the installation completes, point a web browser to https://SERVER_IP/rudder (Where SERVER_IP is the IP address of your hosting server). You will be greeted by a login window (Figure D).

Figure D

rudder-login.jpg

Enter admin as the user and admin as the password (change this ASAP). Click SIGN IN and you’ll find yourself on the Rudder main window (Figure E), where you can start configuring and using the Rudder platform.

Figure E

rudder-main.jpg

The Rudder main page is ready for use.

How to install Rudder agent

With the Rudder server up and running, let’s install the Rudder agent on another Ubuntu server. To do that, log in to the other machine and add the GPG key for the repository with the command:

wget –quiet -O- “https://repository.rudder.io/apt/rudder_apt_key.pub” | sudo apt-key add –

Next, change to the root user with the command:

sudo -s

Add the repository with the command:

echo “deb http://repository.rudder.io/apt/6.1/ $(lsb_release -cs) main” > /etc/apt/sources.list.d/rudder.list

Exit out of the root user with the command:

exit

Update apt and install the agent with the commands:

sudo apt-get update
sudo apt-get install rudder-agent -y

When the Rudder agent is installed, make it aware of the Rudder server with the command:

sudo rudder agent policy-server RUDDER_SERVER

Where RUDDER_SERVER is the IP address of the machine hosting the Rudder server.

Give the Rudder server a few minutes and then look at Node Management | Accept new nodes. You should see the new node listed (Figure F).

Figure F

rudder-accept.jpg

Our new node appears and is ready to be accepted to the server.

Select the node to be added, click Accept, and then confirm the addition of the node to the server.

That’s all there is to it. You now have Rudder installed and a new node added. Enjoy the power of this open source system audit and compliance tool.

How to install the Rudder system audit platform on Ubuntu 20.04

Open Source Weekly Newsletter

You don’t want to miss our tips, tutorials, and commentary on the Linux OS and open source applications.
Delivered Tuesdays

Sign up today

Also see

Did you like this article? You can read it and many others @ Tech Republic!

From The S3 News Community

Check out posts from our own content writers

FRESHEST

Here's the latest news

Ladies and gentlemen, we are back.  The Masked Singer has returned with a brand new season and thus we're here to drive ourselves crazy trying to figure out which celebrities are under all those masks. The first mystery was already solved...

The Masked Singer Season 4 Premiere Unmasks the Dragon

WASHINGTON — For the birthdays of her Supreme Court clerks, Justice Ruth Bader Ginsburg would often bring a cake baked by her husband, Marty, a tax lawyer and deft chef, serving it at a celebration in her chambers.When the clerks...

Ginsburg Clerks Remember Her as a Mentor Who Treated Them Like Family

The Tampa Bay Lightning's captain has yet to suit up in bubble hockey. Now his team is one of the last two vying for the Stanley Cup. Stamkos posted 66 points (29 goals, 37 assists) in 57 games during the...

Steven Stamkos: Is the Lightning captain playing in Game 3?

Photography courtesy of Instagram/@asiafiasco via @inclusivestylisttoronto"It’s a way for people emerging in the industry to know that they’re not alone." By Odessa Paloma Parker Date September 23, 2020 icon-facebook icon-twitter While there’s been a bigger push in recent years for...

How Inclusive Stylist is Changing Representation Behind the Scenes

The new layer is color-coded, includes a count of new cases per 100,000 people, and indicates whether the count is going up or down. A new layer in Google maps shows coronavirus case levels at the county and state levels.Google...

Google adds a COVID-19 layer to Maps app to show health status at county and state levels
Load More
Share via
Copy link
Powered by Social Snap