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.
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.
Gibbon requires an Apache web server to run. Run the following command to install Apache:
sudo pacman -S apache
Gibbon also requires a MySQL database server. Run the following command to install MySQL:
sudo pacman -S mariadb
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
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.
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
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
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
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!