Gibbon is a web-based educational management system that allows administrators, teachers, and students to manage their academic activities from a single platform. In this tutorial, we will show you how to install Gibbon on Arch Linux.
In order to install Gibbon on Arch Linux, you need to have the following prerequisites:
The first step is to install the necessary dependencies for Gibbon to function. To do this, open the terminal and run the following command:
sudo pacman -S git php php-apache mariadb
Next, we need to configure Apache and PHP for Gibbon. Open the Apache configuration file at /etc/httpd/conf/httpd.conf
using your favorite text editor and add the following lines to the end of the file:
LoadModule php7_module modules/libphp7.so
AddHandler php7-script php
Include conf/extra/php7_module.conf
Save the file and exit the editor.
Then, open the PHP configuration file at /etc/php/php.ini
and make the following changes:
display_errors = Off
error_reporting = E_ALL & ~E_NOTICE
date.timezone = Asia/Kolkata
Save the file and exit the editor.
Now, we need to download and configure Gibbon. To do this, follow the below steps:
Clone the Gibbon repository to your server by running the following command:
sudo git clone https://github.com/GibbonEdu/core.git /var/www/html/gibbon
Change the ownership of the Gibbon directory to the Apache user:
sudo chown -R http:http /var/www/html/gibbon
Create a new MySQL/MariaDB database for Gibbon:
sudo mysql -u root -p -e "CREATE DATABASE gibbon;"
sudo mysql -u root -p -e "GRANT ALL ON gibbon.* TO 'gibbon'@'localhost' IDENTIFIED BY 'gibbon_password';"
Replace gibbon
and gibbon_password
with your preferred database and user credentials.
Import the Gibbon database schema:
sudo mysql -u gibbon -p gibbon < /var/www/html/gibbon/schema/gibbon.sql
Rename the config-dist.php
file to config.php
:
cd /var/www/html/gibbon
sudo mv config-dist.php config.php
Edit the config.php
file and make the following changes:
define('IS_DEV', false);
define('DB_HOST', 'localhost');
define('DB_NAME', 'gibbon');
define('DB_USER', 'gibbon');
define('DB_PASSWORD', 'gibbon_password');
define('URL', 'http://localhost/gibbon');
Replace gibbon
, gibbon_password
, and http://localhost/gibbon
with your own database and URL details.
Restart the Apache service:
sudo systemctl restart httpd
Finally, open your favorite web browser and visit the URL http://localhost/gibbon
to access the Gibbon web interface. Follow the on-screen instructions to set up your organization and start using Gibbon.
Congratulations! You have successfully installed and configured Gibbon on Arch Linux.
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!