How to install Linux dash on Ubuntu 21.04

To Install Linux Dash On Ubuntu 21.04

Introduction:

Linux-dash is an open-source monitoring tool for Linux machines that consumes less than 1MB of source code and presents data only when it is requested. Linux Dash does not collect historical data, in contrast with server-side agent processes.

Step 1: Check the OS version by using the below command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 21.04
Release:	21.04
Codename:	hirsute

Step 2: Check the dependency package Apache by using the below command

root@linuxhelp:~# apt list --installed | grep apache2

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

apache2-bin/hirsute-updates,now 2.4.46-4ubuntu1.4 amd64 [installed,automatic]
apache2-data/hirsute-updates,hirsute-updates,now 2.4.46-4ubuntu1.4 all [installed,automatic]
apache2-utils/hirsute-updates,now 2.4.46-4ubuntu1.4 amd64 [installed,automatic]
apache2/hirsute-updates,now 2.4.46-4ubuntu1.4 amd64 [installed]
libapache2-mod-php7.0/hirsute,now 7.0.33-57+ubuntu21.04.1+deb.sury.org+1 amd64 [installed]
libapache2-mod-php7.1/hirsute,now 7.1.33-44+ubuntu21.04.1+deb.sury.org+1 amd64 [installed,automatic]


libapache2-mod-php7.2/hirsute,now 7.2.34-28+ubuntu21.04.1+deb.sury.org+1 amd64 [installed]
libapache2-mod-php8.0/hirsute,now 8.0.13-1+ubuntu21.04.1+deb.sury.org+2 amd64 [installed,automatic]
libapache2-mod-php/hirsute,hirsute,now 2:8.0+85+ubuntu21.04.1+deb.sury.org+1 all [installed]

Step 3: Check the dependency package PHP by using the below command

root@linuxhelp:~# apt list --installed | grep php

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libapache2-mod-php7.0/hirsute,now 7.0.33-57+ubuntu21.04.1+deb.sury.org+1 amd64 [installed]
libapache2-mod-php7.1/hirsute,now 7.1.33-44+ubuntu21.04.1+deb.sury.org+1 amd64 [installed,automatic]
libapache2-mod-php7.2/hirsute,now 7.2.34-28+ubuntu21.04.1+deb.sury.org+1 amd64 [installed]
libapache2-mod-php8.0/hirsute,now 8.0.13-1+ubuntu21.04.1+deb.sury.org+2 amd64 [installed,automatic]
libapache2-mod-php/hirsute,hirsute,now 2:8.0+85+ubuntu21.04.1+deb.sury.org+1 all [installed]
php-all-dev/hirsute,hirsute,now 2:85+ubuntu21.04.1+deb.sury.org+1 all [installed,automatic]
php-bcmath/hirsute,hirsute,now 2:8.0+85+ubuntu21.04.1+deb.sury.org+1 all [installed]
php-cache-lite/hirsute,hirsute,now 1.8.2-1build3 all [installed,automatic]
php-codecoverage/hirsute,hirsute,now 9.2.5+dfsg-3 all [installed,automatic]
php-common/hirsute,hirsute,now 2:85+ubuntu21.04.1+deb.sury.org+1 all [installed,automatic]
php-composer-ca-bundle/hirsute,hirsute,now 1.2.9-1 all [installed,automatic]
php-composer-semver/hirsute,hirsute,now 3.2.4-2 all [installed,automatic]
php-composer-spdx-licenses/hirsute,hirsute,now 1.5.5-2 all [installed,automatic]
php-composer-xdebug-handler/hirsute,hirsute,now 1.4.5-1 all [installed,automatic]
php-curl/hirsute,hirsute,now 2:8.0+85+ubuntu21.04.1+deb.sury.org+1 all [installed]
php-deepcopy/hirsute,hirsute,now 1.10.2-3 all [installed,automatic]

php-doctrine-instantiator/hirsute,hirsute,now 1.4.0-1 all [installed,automatic]
php-file-iterator/hirsute,hirsute,now 3.0.5-2 all [installed,automatic]
php-gd/hirsute,hirsute,now 2:8.0+85+ubuntu21.04.1+deb.sury.org+1 all [installed]
php-http-request2/hirsute,hirsute,now 2.3.0-1ubuntu4 all [installed,automatic]
php-invoker/hirsute,hirsute,now 3.1.1-2 all [installed,automatic]
php-json-schema/hirsute,hirsute,now 5.2.10-2 all [installed,automatic]

Step 4: Check the dependency package Git by using the below command

root@linuxhelp:~# apt list --installed | grep git

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

crda/hirsute,now 4.14+git20191112.9856751-1 amd64 [installed,automatic]
dash/hirsute,now 0.5.11+git20200708+dd9ef66+really0.5.11+git20200708+dd9ef66-5ubuntu1 amd64 [installed]
git-man/hirsute,hirsute,now 1:2.30.2-1ubuntu1 all [installed,automatic]
git/hirsute,now 1:2.30.2-1ubuntu1 amd64 [installed]
gnome-getting-started-docs/hirsute,hirsute,now 3.36.2+git20201004.1-0ubuntu1 all [installed,automatic]
gnome-user-docs/hirsute,hirsute,now 3.38.2+git20210212-0ubuntu1 all [installed,automatic]
kerneloops/hirsute,now 0.12+git20140509-6ubuntu3 amd64 [installed,automatic]
libfprint-2-2/hirsute,now 1:1.90.7+git20210222+tod1-0ubuntu2 amd64 [installed,automatic]
librtmp1/hirsute,now 2.4+20151223.gitfa8646d.1-2build2 amd64 [installed,automatic]
net-tools/hirsute,now 1.60+git20181103.0eebece-1ubuntu2 amd64 [installed,auto-removable]
xserver-xorg-video-intel/hirsute,now 2:2.99.917+git20200714-1ubuntu1 amd64 [installed,automatic]
xserver-xorg-video-qxl/hirsute,now 0.1.5+git20200331-1 amd64 [installed,automatic]

Step 5: Change to the Apache Home directory by using the below command

root@linuxhelp:~# cd /var/www/html/

Step 6: Clone the Linux Dash Repository by using the below command

root@linuxhelp:/var/www/html# git clone https://github.com/afaqurk/linux-dash.git
Cloning into 'linux-dash'...
remote: Enumerating objects: 4520, done.
remote: Total 4520 (delta 0), reused 0 (delta 0), pack-reused 4520
Receiving objects: 100% (4520/4520), 4.58 MiB | 4.51 MiB/s, done.
Resolving deltas: 100% (2671/2671), done.

Step 7: Ping http://ServerIP/linux-dash as shown in the below image

Step 8: This is the Dashboard page of Linux Dash.

By this to install Linux dash on Ubuntu 21.04 has been completed.

FAQ
Q
What are the available stacks of Linux Dash?
A
The available stacks of Linux Dash are Node.js, Go, Python, and PHP.
Q
How to clone the Linux Dash repository?
A
To Clone the Linux Dash repository by using the following command "git clone https://github.com/afaqurk/linux-dash.git"
Q
What is the repository for the Linux Dash?
A
The Repository for the Linux Dash is "https://github.com/afaqurk/linux-dash"
Q
How to access Linux Dash after installation?
A
To access Linux Dash after installation use the following link "http://ServerIP/linux-dash"
Q
What are the dependencies for Linux Dash?
A
The dependencies for Linux Dash are Apache Web server, PHP, and Git.