What is Dash?
Linux-dash is an open source web-based server monitoring tool for Linux machines. This tool will displays system properties such as CPU load, logged-in users, RAM usage, disk usage, Internet speed, network connections, RX/TX bandwidth, running processes etc.
Installation
Installing the packages needed
To begin lets install Git package using this following command:
sudo apt-get install git -y
Once installed run the following command:
sudo git clone https://github.com/afaqurk/linux-dash.git
Next, install apache by making use of the following command. I already made a tutorial on how to install Apache on Ubuntu! But I will still show you how to install Apache in this article.
Just run the following command in your terminal:
sudo apt-get install apache2 -y
Setting Up Dash onto Apache
And then move the file you git cloned
into the html location
mv linux-dash /var/www/
Switch the following directory
cd /var/www/
Change ownership and permission of the Linux dash directory
chown -R www-data.www-data linux-dash
chmod -R 775 linux-dash
Next, create a new virtual host configuration for access the Linux dash:
nano /etc/apache2/sites-available/linuxdash.conf
< VirtualHost *:80>
ServerName www.(your server public ip)
DocumentRoot /var/www/linux-dash/
< Directory /var/www/linux-dash/>
AllowOverride All
allow from all
< /Directory>
< /VirtualHost>
Then, Enable the site access for new creating virtual host configuration
a2ensite linuxdash.conf
Reload Apache
systemctl reload apache2
Next, enable rewrite module.
a2enmod rewrite
Restart Apache2
systemctl restart apache2
Now, open a browser and type the following URL of http://local IP (or) domain name. To connect your domain make sure your server is open to port 80
. Next make an A
record in your Domain Registar. The name should be www
and the value or host should be your server's ip. Wait a couple of minutes and type your domain name. If you use Cloudflare then you don't to wait alot.
If you found this usful then please share this and follow me! Also check out my website where I also post everything from here
Also check out my other posts like below!