How to Install Gibbon on Manjaro

Gibbon is a flexible and user-friendly web-based school management system that offers a comprehensive suite of modules that aid in the management of school operations, student and teacher management, curriculum planning, and more. In this tutorial, we'll go through the process of installing Gibbon on Manjaro.

Prerequisites

Step 1: Update System

Before installing Gibbon, ensure that your system is updated. Open the terminal and run the following command:

sudo pacman -Syu

Enter your password when prompted, and wait for the updates to complete.

Step 2: Install Apache web server

Gibbon requires an Apache web server to run. Run the following command to install Apache:

sudo pacman -S apache

Step 3: Install MySQL Database Server

Gibbon also requires a MySQL database server. Run the following command to install MySQL:

sudo pacman -S mariadb

Step 4: Install PHP and required modules

Gibbon also requires PHP and a number of PHP modules. Run the following command to install PHP and the required modules:

sudo pacman -S php php-apache php-gd php-intl php-ldap php-mcrypt php-mysqli php-pgsql php-xmlrpc

Step 5: Configure the MySQL server

The MySQL server needs to be configured before Gibbon can be installed. Run the following command to start the MySQL server:

sudo systemctl start mariadb

Then run the following command to secure your MySQL installation:

sudo mysql_secure_installation

Follow the prompts to set up a root password and remove anonymous users.

Step 6: Create a database for Gibbon

Run the following command to log in to the MySQL server:

sudo mysql -u root -p

Enter your root password at the prompt, then run the following command to create a new database:

CREATE DATABASE gibbon;

Next, create a new user and grant them access to the database. Replace 'newuser' and 'password' with the username and password you want to use:

CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON gibbon.* TO 'newuser'@'localhost';
FLUSH PRIVILEGES;

Finally, exit the MySQL server:

exit

Step 7: Download and Install Gibbon

Run the following command to download Gibbon:

wget https://github.com/GibbonEdu/core/archive/21.0.00.tar.gz

Extract the downloaded file to Apache's document root by running the following command:

sudo tar -xvzf 21.0.00.tar.gz -C /srv/http/

Rename the directory to 'gibbon' for easy access:

sudo mv /srv/http/core-21.0.00/ /srv/http/gibbon

Step 8: Configure Apache

Create a new Apache configuration file for Gibbon by running the following command:

sudo nano /etc/httpd/conf/extra/gibbon.conf

Copy and paste the following configuration into the file:

Alias /gibbon /srv/http/gibbon
<Directory /srv/http/gibbon>
    AllowOverride All
    Require all granted
</Directory>

Save and close the file.

Next, enable the required Apache modules by running the following commands:

sudo systemctl enable httpd
sudo systemctl enable php-fpm
sudo systemctl start httpd

Step 9: Install Gibbon

Open your browser and navigate to the following URL:

http://localhost/gibbon

Follow the instructions to complete the installation process. When prompted for database information, use the username, password, and database name you created in Step 6.

Once the installation is complete, log in to Gibbon using the administrator account you created during the installation process.

Congratulations! You have successfully installed Gibbon on Manjaro.

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!