How to install Chamilo on CentOS Cloud Servers

2020-09-22 By Mark 1501 Views linux chamilo cms_application centos
0 reviews

The Chamilo content management system is free software (under GNU/GPL licensing) for e-learning and it is mainly used to improve access to education and knowledge globally. Chamilo is written in PHP and supports databases MySQL and MariaDB.


This guide outlines the steps that can be used to install Chamilo application in servers installed with different OS distributions. In this context, it is considered that the servers already have a web server, PHP, and database server installed.


The first step in installing Chamilo is to create a database and an associated database user that will be used for storing the data of the application.


  1. Log in to the MySQL command prompt by executing the below command.

    # mysql
    

    chamilo1

  2. Create the Chamilo database. In this context, the database name used is lschamilo.

    > create database lschamilo;
    

    chamilo2

  3. Create the database user and grant required permissions for the user on the Chamilo database.

    > GRANT ALL PRIVILEGES ON lschamilo.* TO lschamilouser @localhost IDENTIFIED BY 'PASSWORD';
    

    chamilo3

    NOTE: The database username being used is lschamilouser. Replace PASSWORD with an actual, strong password.

  4. Reload the grants table in MySQL and exist the MySQL prompt.

    > FLUSH PRIVILEGES;
    

    chamilo4


Once the MYSQL database and user are created, the next step is to download the Chamilo installation package.


  1. Download the latest stable release of the Chamilo application.

    # wget https://github.com/chamilo/chamilo-lms/releases/download/v1.11.8/chamilo-1.11.8-php7.zip
    

    chamilo5

  2. Extract the contents of the downloaded ZIP archive to the document root folder of the server or to the document root folder of the domain under which the Dotclear application is to be installed.


    In this guide, the application is being installed under the document root folder of the server.

    # unzip chamilo-1.11.8-php7.zip -d /var/www/html/
    

    chamilo6


    All the files/folders of the ZIP archive will be extracted to a folder named Chamilo-1.11.8-php7. Now rename the directory to Chamilo.

    # mv chamilo-1.11.8-php7/ chamilo
    

    chamilo7

  3. Change the ownership of the document root with the below command.

    chamilo8

  4. Now open the web browser and navigate to http://IPaddress or http://yourdomain.com to enter the configuration details as in the below image and click on Install Chamilo.

    chamilo9

  5. Choose the language and click on Next.

    chamilo10

  6. Click on New installation.

    chamilo11

  7. Now review the GNU General Public License (GPL) and select the checkbox to accept.

    chamilo12


    Then fill in all of the contact info fields and click the Next as mentioned in the below image.

    chamilo13

  8. Fill in the database credentials created before, then click on check database connection. Once the database is checked successfully, then click on Next to move on.

    chamilo14

  9. Modify the administrator login name, password and other details, then click on Next.

    chamilo15

  10. Click on Install chamilo to proceed with the installation and click Go to your newly created portal button to finish the web installation wizard.

chamilo16

  1. Once the installation is completed, open the web browser and navigate to the below URL to access the admin page.

    http://IPaddress/index.php
    OR  
    http://domainname/index.php
    

    NOTE: Replace the IP address or domain name with the original.

    chamilo17


    Below the images of admin page and Chamilo website:

    chamilo18

    chamilo19

What do you think about this article?

Rate this article
Need assistance?

Try this guide to receive free bundled services at signup on a new free account.

Sign Up

Your Feedback Is Important

We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.