How to Install Gibbon on Linux Mint Latest?

Gibbon is a free, open-source, and web-based school management system that helps schools in managing their daily academic and administrative tasks. In this tutorial, we will guide you on how to install Gibbon on the Linux Mint latest operating system.

Prerequisites

Before proceeding with the installation, you should have the following prerequisites:

Step 1: Update the System

The first step is to update your system to the latest packages. You can do this by running the following command:

sudo apt-get update
sudo apt-get upgrade

Step 2: Install Required Packages

Now, install all the required packages for Gibbon by running the following command:

sudo apt-get install libapache2-mod-php7.4 php7.4 curl php7.4-mysql php7.4-gd php7.4-zip php7.4-json php7.4-curl php7.4-mbstring php-xml php7.4-common php7.4-soap mysql-server

Step 3: Download Gibbon Package

After installing all the required packages, download the latest version of Gibbon from the official website using the wget command:

wget https://github.com/GibbonEdu/core/archive/21.0.00.tar.gz

Step 4: Install Gibbon Package

Next, extract the downloaded package and move it to the Apache webroot directory using the following commands:

tar -zxvf 21.0.00.tar.gz
sudo mv core-21.0.00 /var/www/html/gibbon

Once the files are moved, you need to set the proper permissions to the Gibbon installation directory by running the following command:

sudo chown -R www-data:www-data /var/www/html/gibbon/

Step 5: Create a Database

In this step, you need to create a new database for Gibbon. You can create a new database named "gibbondb" and user "gibbonuser" with the following commands:

sudo mysql -u root -p
CREATE DATABASE gibbondb;
CREATE USER 'gibbonuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON gibbondb.* TO 'gibbonuser'@'localhost';
FLUSH PRIVILEGES;
exit

Step 6: Configure Gibbon

Now, it's time to configure the Gibbon system by creating the configuration file. Copy the sample configuration file and edit it using the following commands:

cd /var/www/html/gibbon
cp config.php.example config.php
sudo nano config.php

Change the following values with your own values:

define('SYS_URL', 'http://your-ip-address/gibbon');
define('SYS_HOST', 'localhost');
define('SYS_DB', 'gibbondb');
define('SYS_USER', 'gibbonuser');
define('SYS_PWD', 'password');

Save and close the file by pressing Ctrl+X then Y.

Step 7: Restart the Apache and MySQL Service

After configuring the Gibbon system, restart the Apache and MySQL service to apply the changes by running the following command:

sudo systemctl restart apache2
sudo systemctl restart mysql

Step 8: Access Gibbon

Now, open your web browser and navigate to the following URL:

http://your-ip-address/gibbon

You will be redirected to the Gibbon installation page. Follow the instructions to complete the installation process.

That's it, you have successfully installed Gibbon on Linux Mint Latest. Enjoy!

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!