How to Install Thruk on Kali Linux Latest
Thruk is a web-based Nagios and Icinga monitoring system that provides a clean and modern interface for managing your monitoring environment. In this tutorial, we will guide you through the steps to install Thruk on Kali Linux latest.
Step 1: Update Kali Linux
Before installing Thruk, it is important to make sure that your Kali Linux system is up to date. Open a terminal and execute the following commands:
sudo apt update
sudo apt upgrade
Step 2: Install Required Dependencies
Thruk requires several packages to be installed on the system before it can be installed. Execute the following command in the terminal:
sudo apt-get install apache2 libcgi-pm-perl libapache2-mod-perl2 libjson-xs-perl \
libgd-gd2-perl libdbi-perl libdbd-mysql-perl libdbd-pg-perl librrds-perl
Step 3: Install Thruk
Once the dependencies are installed, we can proceed to install Thruk. Follow these steps:
- Open a terminal and execute the following command to add the Thruk repository to your system:
wget -O - http://mirror.thruk.org/pkg/mirror.thruk.org.gpg.key | sudo apt-key add -
echo "deb http://mirror.thruk.org/pkg/deb/stable/ /" | sudo tee -a /etc/apt/sources.list.d/thruk.list
sudo apt-get update
- Install Thruk by executing the following command:
sudo apt-get install thruk
- During the installation process, you will be prompted to choose the web server.

Select apache2 and press enter.
- Next, provide a password for the Thruk admin user.

- Finally, you will be asked if you want to configure Nagios/Icinga integration. If you are not using Nagios or Icinga, you can select
no.

Step 4: Open Thruk in the web browser
To access Thruk, open a web browser and navigate to http://localhost/thruk/.
You will be prompted to enter the admin credentials you created during the installation process. Once you have entered the credentials, click the Login button.

Congratulations! You have successfully installed Thruk on Kali Linux. Now you can use it to manage your monitoring environment with ease.