Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Ubuntu 20.04 LTS:

Ubuntu 20.04.4 LTS Minimal Install; Include Updates

sudo apt install -y openssh-server


sudo apt install -y mc

Check for updates:

sudo apt update -y

Initial System Configuration:
hard-code IP address, disable IPv6; Set Update Preferences


sudo shutdown -r now


This is a good place to take a snapshot in a virtualized environment


LAMP Stack:



Digital Ocean



sudo apt install -y apache2


DataBase: MariaDB or MySQL:

    1. Install MySQL OR the Open-Source MariaDB:

sudo apt install -y mysql-server

       OR MariaDB:
        Using MariaDB instead of MySQL:

sudo apt install -y apt install mariadb-server

        Do Not run mysql_secure_installation as it is broken
    2. Create dbadmin Administrative user with a password


sudo mysql
CREATE USER 'dbadmin'@'localhost' IDENTIFIED WITH mysql_native_password BY '<dBadmin_pwd>';
GRANT ALL ON *.* TO 'dbadmin'@'localhost' WITH GRANT OPTION;

    (Back to LAMP Installation)



apt install -y php libapache2-mod-php php-mysql

Did NOT create a vHost

Test PHP:

sudo nano /var/www/html/info.php

    Open: http://<host_ip>/info.php to verify PHP is working with Apache
    Delete the test file:

rm /var/www/html/info.php


This is a good place to take a snapshot in a virtualized environment





Digital Ocean

sudo apt update -y
sudo apt upgrade -y
sudo apt install -y phpmyadmin php-mbstring php-zip php-gd php-json php-curl

Configure phpmyadmin:

    Selected apache2
    Selected to Configure database for phpmyadmin
    MySQL App Password: <db_admin_pwd>

Enable mbstring:

sudo phpenmod mbstring

NOTE: DO NOT Configure Password Access for the MySQL Root Account

Test Connection to: http://<host_ip>/phpmyadmin/

    uid:    dbadmin
    pwd:    <db_admin_pwd>


This is a good place to take a snapshot in a virtualized environment


Zabbix Installation and Base Configuration

We need Zabbix v5 to be able to use the NVidia GPU Templates but the Zabbix Packages supplied with Ubuntu 20.04 are Zabbix version 4 and though v5 is provided with Ubuntu 22.04 there are issues getting it running possibly due to the use of PHPv8



Digital Ocean
Zabbix: Debian Install from Packages
Zabbix: Ubuntu 20.04 Install


Install Zabbix repository:

sudo wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb
sudo dpkg -i zabbix-release_5.0-1+focal_all.deb
sudo apt update

Install Zabbix server, frontend, agent:


Import initial schema and data:

sudo zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p <zabbix_admin_pwd>


Configure the database for Zabbix server:

sudo nano /etc/zabbix/zabbix_server.conf
DBPassword=<db_admin_pwd>  (DO NOT enclose Password in Quotes)


Configure PHP for Zabbix frontend:

sudo nano /etc/zabbix/apache.conf
php_value date.timezone America/Toronto (adjust to your locale)


Start Zabbix Server and Agent Processes:

sudo systemctl restart zabbix-server zabbix-agent apache2
sudo systemctl enable zabbix-server zabbix-agent apache2


Front-End Configuration:



Zabbix Front-End

Open: http://<host_ip>/zabbix/

Config DB connection:

Type:    MySQL
Host:    localhost
Port:    0
Name:    zabbix
user:    zabbix
pwd:    <zabbix_admin_pwd>

Hit next until you get to the summary. If all goes well everything should be OK and you should be prompted to save the php Config file and you'll end up at the Login Screen

    uid:    Admin (note Capital "A")
    pwd:    zabbix


Add Local Agent to Monitored Hosts:


Install the agent:
    sudo apt install zabbix-agent

Configure the agent:

Computing for Geeks


Start the agent:

sudo systemctl start zabbix-agent

Set it to start it on boot:

sudo systemctl enable zabbix-agent

Add it to the Server:

NVidia Monitoring Template:

Add the git package:

sudo apt install -y git make

Create a Projects area:

sudo mkdir /root/projects
sudo cd /root/projects

Clone the template from github

sudo git clone https://github.com/plambe/zabbix-nvidia-smi-multi-gpu

Install the Template:

sudo cd /root/projects/zabbix-nvidia-smi-multi-gpu
sudo make install

Open Templates in the Configuration Pane and select "Import"

Select the zbx_nvidia-smi-multi-gpu.xml file


Bifrost - 6 GPU Folding Rig  Linux Folding HOWTO Folding Remote Access Folding GPU Profiling


desktop: Lian-Li O11 Air Mini; Gigabyte Aorus ax570 Master; Ryzen 9 5900x;Noctua NH-D15; 4 x 16GB DDR4-3200; 500GB PCIe3 NVMe; 4 x 3TB NAS; AMD RadeonPro W4100; EVGA RTX 2070A; Corsair TX650M

nas1: Fractal Define R4; SuperMicro X10sl7-f; Xeon e3-1231v3; 4 x 8GB DDR3-1666 ECC; 6 x 3TB NAS; 6 x 4TB NAS

nas2: Synology DS-123j; 2 x 6TB NAS

dcn01: Fractal Meshify C; Gigabyte Aorus ax570 Master; Ryzen 9 5950x; EVGA 240 CLC; 2 x 32GB DDR4-3200; 512GB NVMe; EVGA RTX 2070 Super XC Hybrid; Corsair TX650M

dcn02: Fractal Define S; Gigabyte ax570 Pro WiFi; Ryzen 9 3950x; Noctua NH-D15; 2 x 16GB DDR4-3200; 128GB NVMe; EVGA RTX 2070 Super XC Hybrid; EVGA RTX 2060 XC Ultra Gaming; Corsair RM750x

dcn03: Fractal Meshify S2; Gigabyte Aorus ax570 Pro WiFi; Ryzen 9 5900x; Noctua NH-U12S; 2 x 16GB DDR4-3200; 128GB NVMe; EVGA RTX 2070 Super XC Hybrid; EVGA RTX 2060 Super XC Gaming; Corsair RM750

dcn04: Fractal Meshify S2; Gigabyte x370 Gaming K7; Ryzen 9 3900x; Noctua NH-U12S; 4 x 16GB DDR4-3200; 128GB NVMe; EVGA RTX 2070 Super XC Hybrid; Asus TUF RTX3070 ti; Corsair TX750M

dcn05: Fractal Define R4; Gigabyte ax370 Gaming K7; i9-9900K; EVGA 280 CLC; 2 x 8GB DDR4-3200; 128GB NVMe; EVGA RTX 2070 Super XC Hybrid; EVGA GTX 1660ti XC Ultra Gaming; Corsair TX650M

dcn10: Fractal Define C; Gigabyte b450 Aorus M; Ryzen 9 5900x; Ryzen 7 2700x; Hyper 212Evo e/w Noctua NF-A12; 2 x 8GB DDR4-3200; Samsung 250GB SSD; EVGA XC GTX 1070 ti 8GB; Corsair TX550M

dcn11: Fractal Focus G mini; Gigabyte b450 Aorus M; Aorus M; Ryzen 7 2700; Wraith Spire; 2 x 8GB DDR4-3200; Samsung 840 Pro 128GB SSD; ATI Radeon HD2400 Pro; Corsair CX450M Bronze

dcn12: Fractal Core 1100; Gigabyte b450 Aorus M; Ryzen 7 2700; Wraith Spire; 2 x 8GB DDR4-3200; Samsung EVO 850 128GB SSD; ATI FirePro 2270; Corsair CX500M Bronze

dcn19: SuperMicro SC731; SuperMicro X9scl; Xeon e3-1240v2; 4 x 4GB DDR3-1333 ECC; 120GB SSD; SuperMicro 300W Bronze

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now