{"id":17094,"date":"2015-04-27T10:56:59","date_gmt":"2015-04-27T15:56:59","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=17094"},"modified":"2022-06-03T03:44:23","modified_gmt":"2022-06-03T08:44:23","slug":"how-to-install-gibbon-on-a-centos-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gibbon-on-a-centos-vps\/","title":{"rendered":"How to install Gibbon on a CentOS VPS"},"content":{"rendered":"
Gibbon is an open source education management system created to help 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. <\/p>\n This install guide assumes that Apache, MySQL and PHP are already installed and configured on your server. Gibbon requires:<\/p>\n 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. At the time of writing this tutorial, the latest stable version of Gibbon Core is 9.1. 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<\/p>\n The webserver user (Apache) needs to be able to write to ‘\/var\/www\/html\/gibbon’ directory. This can easily be accomplished by running\u00a0the following command:<\/p>\n Create a new MySQL database for Gibbon on your server:<\/p>\n Do not forget to change \u2018your-password\u2019 with a strong password for the \u2018gibbon\u2019 MySQL user.<\/p>\n Locate the php configuration file using the following command:<\/p>\n Edit the \u2018php.ini\u2019 configuration file and add\/modify the following lines in it:<\/p>\n Create a new virtual host directive in Apache:<\/p>\n Add the following lines:<\/p>\n Restart the Apache web server for the changes to take effect using the following command:<\/p>\n Open http:\/\/your-domain.com in your favorite web browser and follow the easy instructions:\u00a0enter the system language, database information, create a new administrator account, enter server settings, organisation settings and click ‘submit’\u00a0once you have filled out all of the fields. PS.<\/strong><\/span> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" Gibbon is an open source education management system created to help teachers and students to address and solve daily problems. … <\/p>\n
\nIn this tutorial we will show you how to install Gibbon on a CentOS VPS<\/a><\/strong>.<\/p>\n\n
cd \/opt\/\r\nwget https:\/\/github.com\/GibbonEdu\/core\/archive\/v9.1.00.zip\r\nunzip v9.1.00.zip\r\nmv core-9.1.00 \/var\/www\/html\/gibbon<\/pre>\n
chown apache:apache -R \/var\/www\/html\/gibbon<\/pre>\n
mysql -u root -p\r\nmysql> CREATE DATABASE gibbondb;\r\nmysql> GRANT ALL PRIVILEGES ON gibbondb.* TO 'gibbon'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;\r\nmysql> FLUSH PRIVILEGES;\r\nmysql> exit<\/pre>\n
#php -i | grep php.ini\r\nConfiguration File (php.ini) Path => \/etc\r\nLoaded Configuration File => \/etc\/php.ini<\/pre>\n
file_uploads = On\r\nallow_url_fopen = On\r\nregister_globals = off\r\nmagic_quotes_gpc = Off\r\nset max_input_vars = 5000\r\ndispaly_errors = Off\r\nerror_reporting = E_ALL & ~E_NOTICE<\/pre>\n
vi \/etc\/httpd\/conf\/httpd.conf<\/pre>\n
<VirtualHost *:80>\r\n ServerAdmin admin@your-domain.com\r\n DocumentRoot \/var\/www\/html\/gibbon\/\r\n ServerName your-domain.com\r\n ServerAlias www.your-domain.com\r\n <Directory \/var\/www\/html\/gibbon\/>\r\n Options FollowSymLinks\r\n AllowOverride All\r\n <\/Directory>\r\n ErrorLog \/var\/log\/apache2\/your-domain.com-error_log\r\n CustomLog \/var\/log\/apache2\/your-domain.com-access_log common\r\n<\/VirtualHost><\/pre>\n
service apache2 restart<\/pre>\n
\nThat is it. The Gibbon installation is now complete. Of course you don\u2019t have to do any of this if you use one of our CentOS VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Gibbon<\/strong> for you. They are available 24×7 and will take care of your request immediately.<\/p>\n