How to Install Gibbon on Ubuntu Server Latest

Gibbon is a free and open-source school management system that helps in managing educational institutions. It is designed to help teachers, administrators and students by streamlining administrative processes and providing them with a useful platform for communication and collaboration.

In this tutorial, we will guide you through the installation process of Gibbon on Ubuntu Server Latest. The process is relatively simple, and we will show you how to complete the installation in just a few steps.

Prerequisites

Before proceeding with the installation, you will need:

Step 1: Download Gibbon

Firstly, you need to download the latest version of Gibbon from the official website at https://gibbonedu.org. You can download the package directly from their download section or use the following command:

wget https://github.com/GibbonEdu/core/archive/19.1.zip

Step 2: Extract and Move Gibbon Package

Once the download is complete, you need to extract the downloaded package using the following command:

unzip 19.1.zip

After extraction, move the Gibbon directory to the appropriate directory under your Apache webroot directory. You can use the following command:

sudo mv core-19.1 /var/www/html/gibbon

Step 3: Set Permissions

Next, you need to set the correct ownership and permissions on Gibbon's directory using the following commands:

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

Step 4: Create a Database

Create a new database for Gibbon using the following command. Replace gibbon_db with your preferred database name.

sudo mysql -u root -p
CREATE DATABASE gibbon_db;

Step 5: Create a Database User

Create a new database user and grant them appropriate permissions on the database using the following commands. Replace gibbon_user and password with your preferred database username and password, respectively.

CREATE USER 'gibbon_user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON gibbon_db.* TO 'gibbon_user'@'localhost';
FLUSH PRIVILEGES;
exit;

Step 6: Install Required PHP Extensions

Now, it's time to install the required PHP extensions. Use the following command to install all the necessary PHP extensions for Gibbon:

sudo apt-get install php-{bcmath,gd,intl,ldap,mysql,xml,zip}

Step 7: Configure Apache Virtual Host

Finally, you need to create a new Apache virtual host configuration file for Gibbon. Use the following command to create a new file:

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

Add the following lines to the file:

<VirtualHost *:80>
    ServerName your_domain.com # Replace with your server domain/IP 
    DocumentRoot /var/www/html/gibbon
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
    <Directory /var/www/html/gibbon>
        DirectoryIndex index.php
        Options FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

Save and exit the file. Then, enable the new virtual host using the following command:

sudo a2ensite gibbon.conf

Finally, restart Apache service to apply the changes:

sudo systemctl restart apache2

Step 8: Access Gibbon Web Interface

Now, you can access Gibbon on your web browser by navigating to your server's IP address or domain name using http://your_domain.com. You should see the Gibbon login screen.

Conclusion

In this tutorial, we have shown you how to install Gibbon on Ubuntu Server Latest. With Gibbon's installation, you can manage various administrative and educational tasks that simplify management of an institution. You can now customize and use Gibbon according to your specific educational needs.

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!