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.
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)... 184.108.40.206 Connecting to codeload.github.com (codeload.github.com)|220.127.116.11|: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  [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
Click on Install Chamilo Button to install Chamilo
Now check the requirements and then click on Next
Now Accept the License agreement
Then Enter the Database settings to connect Chamilo Database
Then set the configuration settings as follows
check overview and the click on Installation. Once the installation completes login page appears as follows
Once logged in we get the dashboard as follows
Enjoy the Installation of Chamilo in your machine. In Next article, We will be known about the management of Chamilo E-learning portal.