9 C
Texas
angeloma
Senior Writer and partner

How to install Linux Dash monitoring tool on Ubuntu 18.04?

A server administrator must be aware of the processes that take place on it, its performance as well as the behavior it has when performing the tasks for which it was installed; all this without sacrificing valuable computer resources, that is, maximum efficiency is required.

Linux-Dash is a great web-based monitoring tool that allows you to visualize the behavior of your server in real time, without sacrificing resources. The requirements for its execution are really few: PHP to be interpreted, Apache to be accessed from the web and git, if you want to clone your project from github.

Installing Linux-dash

1.- Upgrading the system and installing required packages

Before installing any application it is always convenient to update the entire operating system, thus ensuring that we have many security patches and making our system less vulnerable to attacks. Open a terminal and then type sudo -i, when entering the password, you will be root and can continue with apt.

:~# sudo -i
:~# apt update && apt upgrade
- Advertisement -

1.- Upgrading the system
1.- Upgrading the system

Now we must install the necessary packages to run linux-dash.

:~# apt install wget unzip git apache2 php7.2 php7.2-json libapache2-mod-php7.2

2.- Installing required packages
2.- Installing required packages

2.- Getting Linux Dash

To get Linux Dash on our server, we can do it in two ways: by cloning the Git repository or by downloading the source code directly. In this tutorial, we will use git cloning.

:~# git clone https://github.com/afaqurk/linux-dash.git

3.- Cloning the git repository
3.- Cloning the git repository

And now we move it to the path /var/www/html/:

:~# mv linux-dash/ /var/www/html/

Then we change the owner of the folder.

:~# chown -R www-data:www-data /var/www/html/linux-dash/

4.- changing owner of the folder linux dash
4.- changing owner of the folder linux dash

Next, verify that the shell_exec and exec functions are enabled.

Open the file /etc/php/7.2/apache2/php.ini. Now, we must locate  which functions are disabled. Find disable_functions section.

5.- checking php functions enabled
5.- checking php functions enabled

Finally we proceed to restart apache.

:~# systemct restart apache2

3.- Using Linux-Dash

This is enough to access from your favorite browser:

http://IP_SERVER/linux-dash/

and we’ll see something like this:

6.- Linux dash monitoring tool
6.- Linux dash monitoring tool

7.- Using linux-dash
7.- Using linux-dash

We can see that its use is very simple but the options presented are enough to have our server monitored.

Now we have to visualize the rest of the tabs looking for information.

It is also advisable to visit their github site for more information about this application.

Please share this article throughout your social networks.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article