Gibbon is a free, open-source, web-based school management system that helps schools manage the day-to-day academic and administrative processes. This tutorial will guide you through the process of installing Gibbon on Clear Linux Latest.
Before installing Gibbon, it's recommended that you update and upgrade your Clear Linux installation to ensure you have the latest packages and security updates. To do this, run the following command in your terminal:
$ sudo swupd update
Then, run the following command to upgrade your system:
$ sudo swupd upgrade
Next, you'll need to install some required dependencies for Gibbon to work properly. Run the following command to install PHP and its dependencies:
$ sudo swupd bundle-add php-basic
After installing PHP, install Apache and MariaDB by running the following commands:
$ sudo swupd bundle-add apache-httpd
$ sudo swupd bundle-add mariadb
Now, download the Gibbon files from the official website by running the following command:
$ wget https://gibbonedu.org/media/uploads/releases/22/Gibbon-v22-full.zip
Once the download is complete, extract the files using the following command:
$ unzip Gibbon-v22-full.zip
The files will be extracted to a folder named gibbon-v22-full
.
Next, move the Gibbon files to the web directory so that Apache can serve them. Run the following command to move the files:
$ sudo mv gibbon-v22-full /var/www/html/gibbon
After moving the files, set the correct permissions by running the following command:
$ sudo chown -R apache:apache /var/www/html/gibbon
This command sets the ownership of the Gibbon files to the apache
user and group, which is necessary for the web server to access them.
In this step, you'll need to configure Apache to serve the Gibbon files. Run the following command to open the Apache config file:
$ sudo vim /etc/httpd/conf/httpd.conf
Find the following lines in the file:
# DocumentRoot "/var/www/html"
# ...
# <Directory "/var/www/html">
# ...
Remove the #
character from the beginning of these lines to uncomment them, and make sure they match the following:
DocumentRoot "/var/www/html/gibbon"
...
<Directory "/var/www/html/gibbon">
...
Save and close the file by pressing Esc
, typing :wq
, and pressing Enter
.
Finally, restart Apache by running the following command:
$ sudo systemctl restart httpd
In order for Gibbon to work, you'll need to create a database and user for it to use. Run the following command to log in to the MariaDB shell:
$ sudo mysql -u root
In the MariaDB shell, run the following commands to create a new database and user:
CREATE DATABASE gibbon;
CREATE USER 'gibbonuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON gibbon.* TO 'gibbonuser'@'localhost';
FLUSH PRIVILEGES;
exit;
Make sure to replace password
with a strong password of your choice.
Now that the database is set up, you can complete the Gibbon installation via your web browser. Open your browser and navigate to http://localhost/gibbon/install/index.php
.
Follow the on-screen instructions to complete the installation process.
Congratulations! You've successfully installed Gibbon on Clear Linux Latest.
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!