How to Install Gibbon on Fedora CoreOS Latest

This tutorial will guide you on how to install Gibbon, an open-source education management system, on your Fedora CoreOS Latest.

Prerequisites

Before you proceed with the installation, make sure you have the following:

Step 1: Install Required Packages

  1. First, log in to your Fedora CoreOS server with your sudo user account.

  2. Before installing any package, it's always a good practice to update your system. Run the following command to update your system and upgrade the available packages:

    sudo dnf update -y
    
  3. After updating your system, we need to install some required packages to proceed with Gibbon installation. Use the below command to install the required packages.

    sudo dnf install -y httpd httpd-mod_ssl mariadb-server mariadb php php-common php-mysqli php-gd php-intl php-mbstring php-xmlrpc php-xml php-zip php-imap php-ldap php-curl wget unzip
    

Step 2: Download and Extract Gibbon

  1. Open your web browser and go to the Gibbon download page: https://gibbonedu.org/download/

  2. Scroll down until you find the latest release version and click on the "Download" button to download Gibbon's latest version.

  3. After the download is complete, navigate to the directory where you downloaded the file and extract it to the /var/www/html/ directory:

    cd ~/Downloads/
    sudo unzip Gibbon-x.x.x.zip -d /var/www/html/
    

    Replace "x.x.x" with the version number you have downloaded.

  4. Change the ownership of the Gibbon files and directories to the Apache web user:

    sudo chown -R apache:apache /var/www/html/Gibbon/
    
  5. Change the directory to the Gibbon installation directory:

    cd /var/www/html/Gibbon/
    
  6. Generate the Gibbon configuration file:

    sudo cp config.dist.php config.php
    
  7. To enable the write mode, we need to give write permission to the cache/ directory:

    sudo chmod -R 777 cache/
    

Step 3: Configure MariaDB

  1. Start the MariaDB service and enable it to start automatically at the boot time:

    sudo systemctl start mariadb
    sudo systemctl enable mariadb
    
  2. Run the security script to secure your MariaDB installation:

    sudo mysql_secure_installation
    

    The script will prompt you to set your root password, remove anonymous users, disallow root login remotely, and remove the test database.

  3. Create a new database for Gibbon:

    sudo mysql -u root -p
    

    You will be prompted to enter your MariaDB root password.

  4. Once you are in the MariaDB shell, run the following command to create a new database:

    MariaDB [(none)]> CREATE DATABASE gibbondb;
    

    You can replace "gibbondb" with any other name you like.

  5. Create a new user and grant all privileges to the newly created database:

    MariaDB [(none)]> GRANT ALL PRIVILEGES ON gibbondb.* TO 'gibbonuser'@'localhost' IDENTIFIED BY 'yourpassword';
    

    Replace "gibbonuser" and "yourpassword" with your preferred username and password.

  6. Flush the privileges and exit the MariaDB shell:

    MariaDB [(none)]> FLUSH PRIVILEGES;
    MariaDB [(none)]> exit;
    

Step 4: Configure Apache for Gibbon

  1. Open the Apache configuration file in your favorite editor:

    sudo nano /etc/httpd/conf/httpd.conf
    
  2. Find the below section and change the value to "AllowOverride All":

    <Directory "/var/www/html">
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
    </Directory>
    

    It should look like below:

    <Directory "/var/www/html">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
    
  3. Save and close the file.

  4. Restart the Apache service:

    sudo systemctl restart httpd
    

Step 5: Access Gibbon

  1. Open your web browser and enter the following URL in the address bar:

    https://your-server-ip/Gibbon/
    

    Replace "your-server-ip" with your server IP address or domain name.

  2. You should see the Gibbon setup wizard page. Follow the on-screen instructions to complete the installation.

Congratulations! You have successfully installed Gibbon on your Fedora CoreOS Latest server.

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!