In this tutorial, we will show you how to install Gibbon on Ubuntu 14.04. 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 a 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 the step-by-step installation of Gibbon on Ubuntu 14.04.
Prerequisites
- A server running one of the following operating systems: Ubuntu 14.04, and any other Debian-based distribution.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
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 the LAMP (Linux, Apache, MySQL, PHP) server and include some PHP extensions.
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 step carefully which will set a 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, and database information, create a new administrator account, enter server settings, and organization 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.
Congratulations! 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 website.