How To Install Gibbon on CentOS 6

For those of you who didn’t know, Gibbon is an open source, free and highly flexible education management system. It helps teachers and students to address and solve daily problems. Gibbon is a flexible application with many features, such as planner, external assessment, online application forms, messenger etc. The administration department of the educational institutes can use this tool to complete their administrative responsibilities.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Gibbon on CentOS 6.

By default, MySQL is not hardened. You can secure MySQL using the mysql_secure_installation script. you should read and below each steps carefully which will set root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MySQL.

1

mysql_secure_installation

Next we will need to log in to the MySQL console and create a database for the Moodle. Run the following command:

1

mysql-uroot-p

This will prompt you for a password, so enter your MySQL root password and hit Enter. Once you are logged in to your database server you need to create a database for Gibbon installation:

Edit the ‘php.ini’ configuration file and add/modify the following lines in it:

1

2

3

4

5

6

7

8

### nano /etc/php.ini

file_uploads=On

allow_url_fopen=On

register_globals=off

magic_quotes_gpc=Off

setmax_input_vars=5000

dispaly_errors=Off

error_reporting=E_ALL&~E_NOTICE

Step 4. Configure Apache web server.

Create a new virtual host directive in Apache:

1

2

3

4

5

6

7

8

9

10

11

12

13

### nano /etc/httpd/conf/httpd.conf

<VirtualHost *:80>

ServerAdminadmin@your-domain.com

DocumentRoot/var/www/html/gibbon/

ServerNameyour-domain.com

ServerAliaswww.your-domain.com

<Directory/var/www/html/gibbon/>

OptionsFollowSymLinks

AllowOverrideAll

</Directory>

ErrorLog/var/log/apache2/your-domain.com-error_log

CustomLog/var/log/apache2/your-domain.com-access_logcommon

</VirtualHost>

Set permission:

1

chownapache:apache-R/var/www/html/gibbon

Restart the Apache web server for the changes to take effect:

1

servicehttpdrestart

Step 5. Install Gibbon.

Download the latest stable version of Gibbon:

1

2

3

4

cd/opt/

wgethttps://github.com/GibbonEdu/core/archive/v9.1.00.zip

unzipv9.1.00.zip

mvcore-9.1.00/var/www/html/gibbon

Step 6. Accessing Gibbon.

Gibbon will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/gibbon or http://server-ip/gibbon. Follow the easy instructions: enter the system language, database information, create a new administrator account, enter server settings, organisation settings and click ‘submit’ once you have filled out all of the fields.That is it. The Gibbon installation is now complete. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulation’s! You have successfully installed Gibbon. Thanks for using this tutorial for installing Gibbon college management on CentOS 6 system.

VPS Manage Service Offer

If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!