How to install Gibbon on a CentOS VPS ?


Cheap reseller Hosting


gibbon

 

Gibbon is an open source, free and highly flexible education management system. It helps teachers and students to address and solve daily problems. This tool alone caters the needs for all four pillars of educational system (administration, teachers, parents, and students). It provides refreshing and intuitive web interface to teachers, and students where they can engage in their activities and tasks, Parents use this tool to track the progress, upcoming deadlines and activities of their children. The administration department of the educational institutes can use this tool to complete their administrative responsibilities.Gibbon is a flexible application with many features, such as planner, external assessment, online application forms, messenger etc.

 

Gibbon Installation requires following thing install on your VPS server :

 

  1. Apache 2
  2. PHP 5 (with PDO, gettext, CURL. Turn dispaly_errors off!)
  3. MySQL 5 (collation set to utf8_general_ci)

 

 

Download the latest stable version of Gibbon at https://gibbonedu.org/download to the ‘/opt’ directory on the server. Then, extract it and move the Gibbon core files and directories to the ‘/var/www/html/gibbon’ directory on your server. If you would like to run the very latest version of Gibbon, you can get it from the GitHub repo at https://github.com/GibbonEdu/core

 

cd /opt/
wget https://github.com/GibbonEdu/core/archive/v9.1.00.zip
unzip v9.1.00.zip
mv core-9.1.00 /var/www/html/gibbon

 

You will need to change the ownership of the ‘/var/www/html/gibbon’ directory to Apache.

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

 

Create a new MySQL database for Gibbon on your server:

 

mysql -u root -p
mysql> CREATE DATABASE gibbondb;
mysql> GRANT ALL PRIVILEGES ON gibbondb.* TO 'gibbon'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
mysql> exit

 

Find php configuration file (php.ini)  using below command :

#php -i | grep php.ini
Configuration File (php.ini) Path => /etc
Loaded Configuration File => /etc/php.ini

 

Now edit the php.ini file using any editor and add the following lines in it:

file_uploads = On
allow_url_fopen = On
register_globals = off
magic_quotes_gpc = Off
set max_input_vars = 5000
dispaly_errors = Off
error_reporting = E_ALL & ~E_NOTICE

Now create an new virtual host directive in Apache :

vi /etc/httpd/conf/httpd.conf

 

Add following lines :

<VirtualHost *:80>
   ServerAdmin admin@ashishkale.in
   DocumentRoot /var/www/html/gibbon/
   ServerName ashishkale.in
   ServerAlias www.ashishkale.in
   <Directory /var/www/html/gibbon/>
      Options FollowSymLinks
      AllowOverride All
   </Directory>
   ErrorLog /var/log/apache2/ashishkale.in-error_log
   CustomLog /var/log/apache2/ashishkale.in-access_log common
</VirtualHost>

 

Do not forget to change ‘ashishkale.in’ with your domain name .

 

Restart the Apache web server

service apache2 restart

Open http://your-domain.com in your favorite web browser and 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.

 

 

 

 


Cheap web Hosting