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.
Before proceeding towards the installation, ensure you have the following prerequisites available:
Follow this tutorial to set up a LAMP stack on your system.
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
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.
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
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
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.
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
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.
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!