13.6 C
Texas
Melhttp://www.osradar.com
Guru Unix /Linux and GNU supporter

Chamilo e-learning site in Centos7

Chamilo is a Free software which is used for virtual/online trainings or Learning Management System. Chamilo comes under GPL License, with Chamilo you can store and organize all of study materials which can be utilized by teachers , trainers  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.

My chamilo Server

Hotname = chamilo.osradar.local

- Advertisement -

IP=  192.168.2.98

RAM = 4GB

CPU = 2 VCPU

How to Chamilo e-learning site in Centos7

First update your CentOS machine

# yum update

Install required packages

Installing PHP 5.6 on CentOS 7

To install PHP 5.6, you have to install and enable EPEL and Remi repository to your CentOS 7 system using the commands below.

# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 
# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

Enable Remi repo

#yum install yum-utils
# yum-config-manager --enable remi-php56

 

# yum install mariadb mariadb-server httpd php  php-gd  php-redis php-intl  gcc-c++ libuuid-devel

Enable   and start Web services.

# systemctl start httpd 
# systemctl enable httpd

Start and Configure Database services

# systemctl start mariadb
# systemctl enable mariadb

Create database  Database root password and create user and chamilo  database.

Set Root  password

 mysqladmin -u root password "password"

Check  if iets working

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

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

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

MariaDB [(none)]>

Create Chamilo database en user Chamilo

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

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

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

MariaDB [(none)]> \q
Bye

Download  last Release  Chamilo to  /var/www/html

 wget https://github.com/chamilo/chamilo-lms/releases/download/v1.11.6/chamilo-1.11.6-php5.zip
--2018-07-23 18:14:22-- https://github.com/chamilo/chamilo-lms/releases/download/v1.11.6/chamilo-1.11.6-php5.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.

2018-07-23 17:16:14 (4.11 MB/s) - ‘master.zip’ saved [95143699/95143699]

Unzip  the file and  move the folder to  chamilo

unzip chamilo-1*.zip
mv chamilo-1*  chamilo

Configure  apache

[root@osradar html]# chmod -R 744 /var/www/html/chamilo
[root@osradar html]# chown -R apache: /var/www/html/chamilo

Configure the firewall

[root@osradar html]# firewall-cmd --permanent --add-service=http
[root@osradar html]# firewall-cmd --reload

Start   the Installation from  http://IP/chamilo

Cheers!!

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article