It’s an opensource school management tool.

Step1. Install packages.

yum install httpd openssl mod_ssl unzip  -y

Step2. Restart/enable/status command

systemctl restart httpd
systemctl status httpd
systemctl enable httpd

Step3. Install MariaDB

yum install mariadb mariadb-server  -y

Step4. Restart/status/enable command

systemctl restart mariadb
systemctl status mariadb
systemctl enable mariadb

Step5. Setup database

mysql_secure_installation

Step6. Create a database

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

Step7. Install PHP

yum install php php-mysql php-mysql php-gd php-ldap php-xml php-xmlrpc php-mbstring php-mcrypt curl zlib libtool-ltdl php-pdo

Step8. Add below lines in php.ini file

# vi  /etc/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

Step9. Download software

wget https://github.com/GibbonEdu/core/archive/v9.1.00.zip

Step10. Unzip file

unzip v9.1.00.zip

Step11. Move the file in HTML folder

mv core-9.1.00 /var/www/html/gibbon

Step12. Change permission and ownership

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

Step13. Create file ‘/etc/httpd/conf.d/vhosts.conf’

vi   /etc/httpd/conf.d/vhosts.conf
IncludeOptional vhosts.d/*.conf

Step14. Create directory

mkdir /etc/httpd/vhosts.d/

Step15. Create a virtual host file

vi  /etc/httpd/vhosts.d/yourdomain.com.conf

<VirtualHost YOUR_SERVER_IP:80>
 ServerAdmin webmaster@yourdomain.com
 DocumentRoot "/var/www/html/gibbon/"
 ServerName yourdomain.com
 ServerAlias www.yourdomain.com
 ErrorLog "/var/log/httpd/yourdomain.com-error_log"
 CustomLog "/var/log/httpd/yourdomain.com-access_log" combined
 <Directory "/var/www/html/gibbon/">
 DirectoryIndex index.html index.php
 Options FollowSymLinks
 AllowOverride All
 Require all granted
 </Directory>
</VirtualHost>

Step16. Restart service

systemctl restart httpd

Note: Disable SELinux, if you face any issue

Step17. Access via browser

http://yourdomain.com/gibbon

LEAVE A REPLY

Please enter your comment!
Please enter your name here