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 Ubuntu 14.04.
Install Gibbon on Ubuntu 14.04
Step 1. First of all make sure that all packages are up to date.
apt get -y uupdate
Step 2. Install LAMP (Linux, Apache, MySQL, PHP) server and include some php extension.
sudo apt-get install apache2 sudo apt-get install mysql-server mysql-client sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
Start Apache and MySQL services:
/etc/init.d/apache2 start /etc/init.d/mysql start
Step 3. Configuring MySQL.
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.
mysql_secure_installation
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:
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
Edit the ‘php.ini’ configuration file and add/modify the following lines in it:
### nano /etc/php5/apache2/php.ini 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
Step 4. Installing Gibbon.
Download the latest stable version of Gibbon:
cd /var/www/html wget https://github.com/GibbonEdu/core/archive/v9.1.00.zip unzip v9.1.00.zip mv core-9.1.00 /var/www/html/
Make sure that this Gibbon directory is writeable:
chown apache:apache -R /var/www/html/
Step 5. Accessing Gibbon college management system.
Gibbon will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/ or http://server-ip/. 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 in Ubuntu 14.04 system. For additional help or useful information, we recommend you to check the official Gibbon web site.