How to Install Gibbon on Debian Latest

Gibbon is an open-source and free-of-cost School Management System that allows users to manage educational institutions. It features a user-friendly interface and powerful tools to manage courses, student enrollment, attendance, and librarians.

In this tutorial, we'll go through the step-by-step guide to install Gibbon on Debian 10.

Prerequisites

Before proceeding towards the installation, ensure you have the following prerequisites available:

Follow this tutorial to set up a LAMP stack on your system.

Step 1: Install Required Packages

Before installing Gibbon, you need to install some required packages on your Debian system. Run the following command in the terminal to install them:

sudo apt update
sudo apt install curl zip unzip git

Step 2: Download Gibbon

Since the Gibbon project is open-source, you can download the package from their official website or GitHub page, from where the development takes place.

However, in this tutorial, we will download the latest Gibbon package using the following command:

sudo curl -sL https://download.gibbonedu.org/v.22.01.zip -o gibbon.zip

This will download the latest Gibbon zip package to your system.

Step 3: Unpack Package

After the package is downloaded, you need to extract it to your document root directory. In this tutorial, we will extract the package to /var/www/html/gibbon.

Run the following commands to extract the package:

sudo unzip gibbon.zip -d /var/www/html/
sudo mv /var/www/html/gibbon-22.01 /var/www/html/gibbon

Step 4: Set Permissions

Next, we need to set the proper permissions for Gibbon directories and files. Run the following commands to set the correct permissions:

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

Step 5: Set Up the Database

Now, we need to create a new database for Gibbon. Run the following commands to create a new gibbondb database with a user gibbonuser and set the password:

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

Make sure to replace password with your desired database password.

Step 6: Configure Apache

Finally, we need to configure the Apache web server to host Gibbon.

Create a new virtual host configuration file for Gibbon using the following command:

sudo nano /etc/apache2/sites-available/gibbon.conf

Add the following content to the file:

<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/html/gibbon

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

<Directory /var/www/html/gibbon>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

Save and close the file.

Enable the virtual host configuration by running the following command:

sudo a2ensite gibbon.conf

Restart the Apache service by running the command:

sudo systemctl restart apache2

Step 7: Access Gibbon

Open up your web browser and navigate to http://your-server-ip/gibbon. You should be redirected to the Gibbon installation page.

Follow the on-screen instructions to complete the installation process.

Once the installation is complete, you will be redirected to the Gibbon login page. Use the default admin credentials, which are admin as the username and gibbon as the password.

Conclusion

In this tutorial, we explained the step-by-step guide to install Gibbon on Debian 10. You can now use Gibbon to manage your educational institution with ease. Happy learning!

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!