Install & Configure Chamilo (Learning Management System) on CentOS 6x
Q. What is Chamilo?
-- Chamilo is a software which is used for virtual/online trainings or Learning Management System. Chamilo is absolutely free and comes under GPL License, with Chamilo you can store and organize all of study materials which can be utilized by tutors and students.
-- Some of the important features of Chamilo are:
1. Course and user management based on various user’s profiles like students, Teachers, Session
Managers, Administrators.
2. You can Download, upload or hide some course contents as and when required.
3. Create, add , delete questions in the form of multiple choice, fill in the blank, matching type questions or
open questions.
4. Various types of survey can be conducted with the help of Chamilo.
5. You can enable deadline based assignments.
6. Users can be generated in bulk.
7. CSV/Excel data can bde downloaded or uploaded and Instant results reports can be generated.
Step: 1. Bind Hosts File :
# vi /etc/hosts
192.168.72.220 ser1.domain.com ser1
-- Save & Quit (:wq)
Step: 2. Disable Selinux & Firewall :
# vi /etc/sysconfig/selinux
SELINUX=disabled
-- Save & Quit (:wq)
# service iptables stop
# chkconfig iptables off
Step: 3. Install NTP :
# yum -y install ntp
# service ntpd restart
# chkconfig ntpd on
# ntpdate pool.ntp.org
Step: 4. Install Apache Server :
# yum -y install httpd httpd-devel
Step: 5. Install MySQL Database Server :
# yum -y install mysql mysql-server mysql-devel
Step: 6. Install Epel Repo :
# rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Step: 7. Install PHP :
# rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
# yum -y install php56w php56w-mysql php56w-common php56w-gd php56w-mbstring \
php56w-mcrypt php56w-devel php56w-xml php56w-imap php56w-ldap php56w-pdo \
php56w-odbc php56w-pear php56w-xmlrpc php56w-soap php56w-cli mod_ssl \
libtool-ltdl mhash mcrypt unzip
Step: 8. Start Apache Service :
# service httpd restart
# chkconfig httpd on
Step: 9. Set MySQL Root Password :
# service mysqld restart
# chkconfig mysqld on
# mysql_secure_installation
Step: 10. Create Database and User for Chamilo :
# mysql -u root -predhat
mysql> create database chamilodb;
mysql> grant all privileges on chamilodb.* TO chamilo@localhost identified by 'password';
mysql> grant all privileges on chamilodb.* TO chamilo@'%' identified by 'password';
mysql> flush privileges;
mysql> exit
Step: 11. Install Some Prerequired Packages :
# yum -y install gcc-c++ libuuid-devel
Step: 12. Modify php.ini :
# vi /etc/php.ini
date.timezone = "Asia/Kolkata"
max_execution_time = 300
max_input_time = 600
memory_limit = 256M
post_max_size = 128M
upload_max_filesize = 128M
session.cookie_httponly = On
extension = xapian.so
-- Save & Quit (:wq)
Step: 13. Enable Internationalization Support in PHP :
# yum -y install libicu libicu-devel.x86_64
# /usr/bin/pecl install intl
# echo 'extension=intl.so' >> /etc/php.ini
Step: 13. Download latest Version of Chamilo :
# cd /var/www/html/
# wget https://github.com/chamilo/chamilo-lms/archive/v1.10.0.zip
# unzip v1.10.0.zip
# rm -rf v1.10.0.zip
# mv chamilo-lms-1.10.0 chamilo
# chmod -Rf 755 /var/www/html/chamilo
# chown -R apache:apache /var/www/html/chamilo
Step: 14. Restart the Apache Service :
# service httpd restart
Step: 15. Install Chamilo Through Web Browser :
http://192.168.72.220/chamilo
-- Click on "Install Chamilo".
-- Select Language & Click Next.
-- Scroll Down & Click "New Installation".
-- Check "I Accept" & Click Next.
-- MySQL database settings:
Database Host: localhost
Port: 3306
Database Login: chamilo
Database Password: password
Main Chamilo database (DB): chamilodb
-- Click on "Check Database Connection".
-- Click Next.
-- Config settings:
Administrator login: admin
Administrator Password: Passw0rd
Administrator first name: Koushik
Administrator last name: Chatterjee
Administrator email: kchatterjee@domain.com
-- Click Next.
-- Click "Install Chamilo".
-- Click "Go to Your Newly Created Portal".
User: admin
Pass: Passw0rd
Thanks For Visiting on My Blog, For More Tutorials Keep Visiting My Blog