How to Install Gibbon on MXLinux Latest

In this tutorial, we will guide you through the installation process of Gibbon on MXLinux Latest.

Prerequisites

Before installing Gibbon on MXLinux, you need to ensure that you have the following prerequisites:

Step 1: Update the System

Before installing any package, it is always advisable to update the system packages to their latest versions. To update the system, run the following command in your terminal:

sudo apt update && sudo apt upgrade

Step 2: Install LAMP Stack

Gibbon requires a web server, a database server, and PHP to run efficiently. Hence, before you install Gibbon, you need to install the LAMP Stack on MXLinux Latest.

To install LAMP Stack, run the following command:

sudo apt install apache2 mariadb-server libapache2-mod-php7.3 php7.3 php7.3-mysql php7.3-dom php7.3-curl php7.3-gd php7.3-zip composer

After running the command above, you will be prompted to enter your user password. Enter the password, and the installation process will start.

During the installation process, you will be prompted to set a root password for MySQL. Enter the password and confirm it.

After completing the LAMP Stack installation, start both Apache and MySQL services by running the following command:

sudo systemctl start apache2
sudo systemctl start mariadb

To ensure that both services start automatically upon system boot, run the following command:

sudo systemctl enable apache2
sudo systemctl enable mariadb

Step 3: Download and Install Gibbon

Once you have set up the LAMP Stack, you can proceed to download and install Gibbon.

Begin by downloading the Gibbon package from the official website. To do so, run the following command:

wget https://gibbonedu.org/assets/distros/gibbon-22.0.zip -P ~/

This command will download the Gibbon package and save it in the home directory (~/) of the current user.

Next, unzip the downloaded zip file by running the following command:

sudo unzip ~/gibbon-22.0.zip -d /var/www/html/

This command will extract the Gibbon package to the /var/www/html/ directory.

To set file permissions, run the following commands:

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

Step 4: Create the Gibbon Database

The next step is to create a database for Gibbon. To do this, run the following command:

sudo mysql -u root -p

You will be prompted to enter your MySQL root password. Enter the password and press Enter.

Next, create a new database by running the following command:

CREATE DATABASE gibbon;

Create a new MySQL user and grant them permissions to access the gibbon database by running the following commands:

CREATE USER 'gibbon_user'@'localhost' IDENTIFIED BY 'your_password_here';
GRANT ALL PRIVILEGES ON gibbon.* to 'gibbon_user'@'localhost';
FLUSH PRIVILEGES;

Replace your_password_here with a secure password.

Exit the MySQL console by running the following command:

exit;

Step 5: Complete the Gibbon Installation

Finally, complete the Gibbon installation process by following these steps:

  1. Open a web browser and type in the URL of your server or localhost. For example, http://localhost/gibbon or http://192.168.0.10/gibbon.

  2. Follow the installation wizard to set up the Gibbon software. If you followed the above instructions correctly, you should see a screen asking for the database credentials.

    • Enter gibbon as the database name.

    • Enter gibbon_user as the MySQL username.

    • Enter the password you set earlier for the gibbon_user.

  3. Once you have entered the correct database credentials, click on Install Gibbon.

  4. On the next screen, set up the administrator account and other settings as desired.

  5. Complete the installation process, and you should be redirected to the Gibbon dashboard.

Conclusion

In this tutorial, we have shown you how to install Gibbon on MXLinux Latest. We started by installing the LAMP Stack, downloading and installing Gibbon, creating a Gibbon database, and finally, completing the Gibbon installation process.

With Gibbon installed on your system, you can now manage your school, students, and classes, among other activities.

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!