How to Install Gibbon on Fedora Server Latest

Gibbon is a powerful open-source school management system designed to help institutions manage their educational processes. Here's how you can install Gibbon on your Fedora server.

Prerequisites

Step 1: Update the System

Update the system to the latest version using the following command:

sudo dnf update

Step 2: Install Required Packages

Before installing Gibbon, ensure that the web server is installed and running. Use the following command to install Nginx web server:

sudo dnf install nginx

After installing Nginx, install PHP and the required PHP extensions:

sudo dnf install php php-json php-mbstring php-xml php-gd php-mysqlnd php-fpm

Step 3: Download Gibbon

To download Gibbon, navigate to the var/www directory using the following command:

cd /var/www

Next, download Gibbon using wget:

sudo wget https://github.com/GibbonEdu/core/archive/18.0.zip

Once the download is complete, extract the contents of the zip file:

sudo unzip 18.0.zip

Step 4: Configure Nginx

Create a new Nginx site configuration file and add the following content:

sudo nano /etc/nginx/conf.d/gibbon.conf
server {
    listen 80 default_server;
    listen [::]:80 default_server;
    root /var/www/core-18.0/public;
    index index.php index.html;
    server_name your_domain.com;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/var/run/php-fpm/www.sock;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
}

Save the file, then restart Nginx:

sudo systemctl restart nginx

Step 5: Configure PHP

Open the php.ini file and make the following changes:

sudo nano /etc/php.ini

Set max_execution_time, max_input_time, and memory_limit to the following:

max_execution_time = 180
max_input_time = 600
memory_limit = 512M

Save the file and exit.

Step 6: Configure MySQL

Create a MySQL database and user for Gibbon using the following commands:

mysql -u root -p
CREATE DATABASE gibbondb;
CREATE USER 'gibbonuser'@'localhost' IDENTIFIED BY 'gibbonpassword';
GRANT ALL PRIVILEGES ON gibbondb.* TO 'gibbonuser'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Step 7: Install Gibbon

Open your web browser and go to the following address: http://your_server_ip/. Follow the on-screen instructions to install Gibbon.

During the installation, provide the MySQL database details, such as database name, database user, and password.

Once the installation is complete, you can access the Gibbon dashboard by navigating to http://your_server_ip/gibbon.

Congratulations, you have successfully installed Gibbon on your Fedora 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!