Chamilo is a free software for e-learning. Chamilo runs on a LAMP server and easy to install. There are several LMS (learning management system) and similar software but Chamilo is easier and popular. Here is How to Install Chamilo on Ubuntu Server. Any learning management system (LMS) provides way for administration, documentation, tracking, reporting and delivery of educational courses or training programs. We discussed about VPSDime as cheap but stable OpenVZ server instance. At $7/month, 6GB RAM is affordable for charity and free works. Chamilo has many useful features like courses management; user management, authentication and enrollment; pedagogical tools; social learning network; training sessions management; availability timeframe for tests/exams etc.
1 2 3 4 | # demo https://campus.chamilo.org/main/auth/courses.php # official site https://chamilo.org/en/ |
Steps to to Install Chamilo on Ubuntu Server
We need Apache web server, MySQL/MariaDB database server and PHP. All of these components installation has been shown as single individual guides for Ubuntu 18.04. So, you will :
Now your LAMP server is ready. Login to the MySQL server as user root, using the password we entered in the previous guides :
---
1 2 3 4 5 6 7 | mysql -u root -p # create a new MySQL user and database CREATE DATABASE chamilo; # use real strong PASSWORD GRANT ALL PRIVILEGES on chamilo.* to 'chamilouser'@'localhost' identified by 'PASSWORD'; FLUSH PRIVILEGES; exit |
Make sure that your PHP installation has php-mcrypt
, php-intl
, php-gd
. In previous guides we shown to install everything, they are expected to be installed following those guides.
We will later create a directory named chamilo
for the FTP files :
1 | /var/www/html/chamilo |
Create Apache virtual host directive for that directory and domain :
1 | nano /etc/apache2/sites-available/chamilo.conf |
With the below content :
1 2 3 4 5 | ServerAdmin admin@example.com DocumentRoot /var/www/html/chamilo ServerName example.com ErrorLog /var/log/apache2/chamilo-error_log CustomLog /var/log/apache2/chamilo-access_log common |
Replace all occurrences of example.com with your domain name. Enable the virtual host directive using the following command:
1 | a2ensite chamilo |
and restart the web server for the changes to take effect :
1 | systemctl restart apache2 |
You’ll find the latest version of Chamilo on Github :
1 | https://github.com/chamilo/chamilo-lms/releases/ |
chamilo-1.11.8-php7.tar.gz
is current at the time of writing this guide.
1 2 3 4 5 6 7 | cd /var/www/html wget https://github.com/chamilo/chamilo-lms/releases/download/v1.11.8/chamilo-1.11.8-php7.tar.gz tar -xzvf chamilo-1.11.8-php7.tar.gz rm chamilo-1.11.8-php7.tar.gz # check the file name ls -al mv chamilo-1.11.8 chamilo |
Now we have content at /var/www/html/chamilo
. Change the ownership of the Chamilo files :
1 | chown -R www-data:www-data chamilo |
Now navigate your web browser to domain name or IP of server and follow the installation wizard to complete the Chamilo installation.
Tagged With how to install chamello on ubuntu , install chamilo , install chamilo ubuntu