Chamilo installation on CentOS

0
1200

Chamilo

Chamilo is a free software (under GNU/GPL licensing) e-learning and content management system. It aimed at improving access to education and knowledge globally. It is backed up by the Chamilo Association. Which have goals including the promotion of the software, the maintenance of a clear communication channel. In this article, We will be known for the Chamilo installation and management on Centos.

The Installation of Chamilo requires the Lamp installation. we can get the detailed instructions for installation of lamp server is Here.

simply we can install lamp server as follows

yum install httpd mariadb mariadb-server php
yum install gcc-c++ libuuid-devel

Now enable and start the apache web server and Maria database as follows

systemctl enable httpd mariadb
Systemctl start httpd mariadb

Now we have to create a database for Chamilo.

By using the mysql_secure_installation command we can create a password for root account in MariaDB.

[root@localhost ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 7
Server version: 5.5.50-MariaDB MariaDB Server

Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> create database chamilo;
Query OK, 1 row affected (0.01 sec)

MariaDB [(none)]> create user 'chamilo'@'localhost' identified by "chamilo";
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> grant all on chamilo.* to 'chamilo'@'localhost';
Query OK, 0 rows affected (0.11 sec)

MariaDB [(none)]> \q
Bye

Open /etc/php.ini file adds the following lines at the end of the file

date.timezone = 'Asia/Kolkata'
max_execution_time = 300
max_input_time = 600
memory_limit = 256M
post_max_size = 100M
upload_max_filesize = 100M
short_open_tag = Off
safe_mode = Off
magic_quotes_gpc = Off
magic_quotes_runtime = Off
session.cookie_httponly = On
extension = xapian.so

Now we can Download the latest version of Chamilo from their official site

 [root@localhost ~]# wget https://github.com/chamilo/chamilo-lms/archive/v1.10.8.zip

Location: https://codeload.github.com/chamilo/chamilo-lms/zip/v1.10.8 [following]
--2016-09-11 03:26:27--  https://codeload.github.com/chamilo/chamilo-lms/zip/v1.10.8
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘v1.10.8.zip’

    [         <=>                                  ] 271,245,576  177KB/s   in 15m 27s

2016-09-11 03:41:56 (286 KB/s) - ‘v1.10.8.zip’ saved [271245576]

[root@localhost ~]#

Now unzip the Downloaded archive file by using unzip command as follows

[root@localhost ~]# unzip v1.10.8.zip

Now copy the chamilo-lms-1.10.8 to web directory(/var/www/html/)

[root@localhost ~]#  mv chamilo-lms-1.10.8/ /var/www/html/chamilo

Change the permissions of the Chamilo directory.

[root@localhost ~]#  chown apache:apache -R /var/www/html/chamilo

Now restart the web service

[root@localhost ~]#  systemctl restart httpd

Now we can access Chamilo web interface at http://ipaddress/chamilo

chamilo-installation-1

Click on Install Chamilo Button to install Chamilo

chamilo-installation-2

Now check the requirements and then click on Next

chamilo-installation-5

Now Accept the License agreement

chamilo-installation-3

Then Enter the Database settings to  connect Chamilo Database

chamilo-database2

Then set the configuration settings as follows

chamilo-config-settings

check overview and the click on Installation. Once the installation completes login page appears as follows

chamilo-loginpage

Once  logged in we get the dashboard as follows

chamilo-homepage

Enjoy the Installation of Chamilo in your machine. In Next article, We will be known about the management of Chamilo E-learning portal.

SHARE
Previous articleHow to install LEMP Stack in Linux
Next articleVim 8.0 is Released
This is Naga Ramesh Reddy from Vijayawada (India).I have 4+ years of experience in System and Network Administration field. I like to read and write about Linux, Cisco, Microsoft technologies and the latest software releases. Particularly I am very interested about Linux flavors like Centos, RHEL, Ubuntu and Linux Mint.