How to Install Gibbon on Void Linux

Gibbon is an open-source web-based software designed for schools to manage and run their institutions effectively. It helps schools to automate their daily tasks and manage student records, staff records, timetables, and so on. In this tutorial, we will discuss how to install Gibbon on Void Linux.

Prerequisites

Before installing Gibbon, make sure you have the following prerequisites:

Step 1: Install Required Dependencies

The first step is to install the necessary dependencies required to run Gibbon on your Void Linux system. To achieve this, open up your terminal and type:

sudo xbps-install -S apache php php-pdo php-mysql php-xml php-mbstring php-openssl php-zip

This command installs Apache web server, PHP engine, and its required modules.

Step 2: Download Gibbon

Next, download the latest version of Gibbon from their official website. To do that, go to the following link:

https://gibbonedu.org/downloads/

Once the download is complete, extract the downloaded zip file to your desired location. For this tutorial, we assume that the downloaded file is in your home directory.

Step 3: Configure Apache

Before configuring Apache, make sure that Apache is running on your Void Linux system. To enable and start Apache, type the following command:

sudo xbps-install -S apache
sudo ln -s /etc/sv/apache /var/service/

This command enables and starts the Apache service.

Next, you need to configure Apache to serve the Gibbon application. To do that, open the Apache configuration file by typing the following command:

sudo nano /etc/httpd/conf/httpd.conf

Add the following lines to the end of the file:

Alias /gibbon /home/user/gibbon
<Directory /home/user/gibbon>
    AllowOverride All
    Require all granted
</Directory>

Make sure to replace user with your system username and /home/user/gibbon/ with the path to the extracted Gibbon directory.

Save the file and exit.

Step 4: Configure PHP

Gibbon requires specific PHP settings to function correctly. To set up PHP, open the php.ini configuration file by typing the command:

sudo nano /etc/php/php.ini

Make the following changes to the file:

max_execution_time = 360
error_reporting = E_ALL
post_max_size = 100M
upload_max_filesize = 100M

Save the file and exit.

Step 5: Install Database

Gibbon requires MySQL or MariaDB for storing its data. If you have not already installed any of these databases, install MariaDB by typing the command:

sudo xbps-install -S mariadb
sudo ln -s /etc/sv/mariadb /var/service/

After installing MariaDB, create a new database and user for Gibbon by typing the following commands:

sudo mysql_secure_installation
sudo mysql -uroot -p

CREATE DATABASE gibbon;
CREATE USER 'gibbon'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON gibbon.* TO 'gibbon'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;

Make sure to replace password with a secure password.

Step 6: Install Gibbon

To install Gibbon, open the web browser and navigate to the following URL:

http://localhost/gibbon/

This will launch the Gibbon installation wizard. Follow the on-screen instructions to complete the installation process. During the installation process, you will be asked to enter the details of your database. Use the information you created in Step 5.

After completing the installation process, you will be redirected to the login screen of Gibbon. Log in using the default credentials:

Username: admin
Password: admin

You can change the password after logging in.

Conclusion

In this tutorial, we learned how to install Gibbon on Void Linux. Gibbon is a powerful web-based software that can help schools to manage and run their institution efficiently. If you have any issues during the installation process, please check the Gibbon documentation or contact their support team.

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!