How to Install Chamilo LMS 1.11.8v on CentOS 7.6
- 01:22 mysql -u root -p
- 02:16 cd /var/www
- 02:29 du -h -s chamilo-1.11.8-php7.zip
- 02:29 du -h -s chamilo-1.11.8-php7.zip
- 02:46 unzip chamilo-1.11.8-php7.zip -d chamilo
- 02:46 unzip chamilo-1.11.8-php7.zip -d chamilo
- 03:05 mv chamilo-1.11.8-php7/ final
- 03:05 mv chamilo-1.11.8-php7/ final
- 03:13 chown -R apache. ./
- 03:20 chmod -R 775 ./
- 03:32 vim /etc/php.ini
- 04:40 vim /etc/httpd/conf.d/chamilo.conf
- 04:58 systemctl restart httpd
Installation Of Chamilo LMS 1.11.8 On CentOS 7.6
Features:
**It has course management, user and authentication, and enrollment, allowing students to easily post to site, use hashtags, view and edit posts from any device. It also supports WYSIWYG with strong privacy settings to create space for individuals to share personal thoughts with groups or other users.**
Pre-requisites:
LAMP Stack
PHP Modules :
php-session,php-mysql,php-mbstring,php-zlib,php-pcre,php-xml php-json php-mcrypt php-iconv php-gd php-intl php-ctype,php-ldap php-xapian php-curl php-xsl
Download Link :
https://github.com/chamilo/chamilo-lms/releases/download/v1.11.8/chamilo-1.11.8-php7.zip
Installation
Before you begin, configure MariaDB for Chamilo LMS using root password.
[root@linuxhelp ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 168
Server version: 5.5.60-MariaDB MariaDB Server
Copyright (c) 2000, 2018, 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 character set utf8mb4;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> use chamilo;
Database changed
MariaDB [chamilo]> create user chamilouser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.02 sec)
MariaDB [chamilo]> grant all on chamilo.* to chamilouser@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [chamilo]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [chamilo]> exit
Bye
And then, change the directory to Apache’s Document root directory.
**[root@linuxhelp ~]# cd /var/www**
List the contents with the following command.
[root@linuxhelp www]# ll
total 351060
drwxr-xr-x 2 root root 6 Nov 5 07:17 cgi-bin
-rw-r--r-- 1 root root 359484067 Aug 15 2018 chamilo-1.11.8-php7.zip
drwxr-xr-x 2 root root 22 Apr 15 11:10 html
After that, check the disk usage of Chamilo LMS.
[root@linuxhelp www]# du -h -s chamilo-1.11.8-php7.zip
343M chamilo-1.11.8-php7.zip
Create a directory for Chamilo LMS.
[root@linuxhelp www]# mkdir chamilo
Extract the zip file of Chamilo LMS.
[root@linuxhelp www]# unzip chamilo-1.11.8-php7.zip -d chamilo
Archive: chamilo-1.11.8-php7.zip
creating: chamilo/chamilo-1.11.8-php7/
inflating: chamilo/chamilo-1.11.8-php7/news_list.php
inflating: chamilo/chamilo-1.11.8-php7/composer.lock
inflating: chamilo/chamilo-1.11.8-php7/.travis.yml
inflating: chamilo/chamilo-1.11.8-php7/whoisonlinesession.php
inflating: chamilo/chamilo-1.11.8-php7/whoisonline.php
inflating: chamilo/chamilo-1.11.8-php7/favicon.ico
inflating: chamilo/chamilo-1.11.8-php7/user.php
.
.
.
.
inflating: chamilo/chamilo-1.11.8-php7/license.txt
extracting: chamilo/chamilo-1.11.8-php7/main/img/icons/22/statistics_na.png
inflating: chamilo/chamilo-1.11.8-php7/main/img/icons/48/statistics_na.png
inflating: chamilo/chamilo-1.11.8-php7/main/img/icons/32/statistics_na.png
inflating: chamilo/chamilo-1.11.8-php7/main/img/icons/64/statistics_na.png
inflating: chamilo/chamilo-1.11.8-php7/main/img/icons/128/statistics_na.png
Change the directory to Chamilo Directory.
[root@linuxhelp www]# cd chamilo
List the Contents.
[root@linuxhelp chamilo]# ll
total 4
drwxr-xr-x 12 root root 4096 Aug 15 2018 chamilo-1.11.8-php7
Rename the directory to final.
[root@linuxhelp chamilo]# mv chamilo-1.11.8-php7/ final
Change the directory to final.
[root@linuxhelp chamilo]# cd final/
Set ownership permissions to final directory.
[root@linuxhelp final]# chown -R apache. ./
Set Writable permissions to the final directory.
[root@linuxhelp final]# chmod -R 775 ./
List the contents in the final directory to check the permissions assigned.
[root@linuxhelp final]# ll
total 520
drwxrwxr-x 11 apache apache 295 Aug 15 2018 app
-rwxrwxr-x 1 apache apache 5799 Aug 15 2018 apple-touch-icon.png
drwxrwxr-x 2 apache apache 26 Aug 15 2018 bin
-rwxrwxr-x 1 apache apache 1062 Aug 15 2018 bower.json
drwxrwxr-x 2 apache apache 23 Aug 15 2018 certificates
-rwxrwxr-x 1 apache apache 1146 Aug 15 2018 cli-config.php
-rwxrwxr-x 1 apache apache 1715 Aug 15 2018 codesize.xml
-rwxrwxr-x 1 apache apache 4931 Aug 15 2018 composer.json
-rwxrwxr-x 1 apache apache 375041 Aug 15 2018 composer.lock
-rwxrwxr-x 1 apache apache 5487 Aug 15 2018 CONTRIBUTING.md
drwxrwxr-x 4 apache apache 309 Aug 15 2018 custompages
drwxrwxr-x 2 apache apache 4096 Aug 15 2018 documentation
-rwxrwxr-x 1 apache apache 2462 Aug 15 2018 favicon.ico
-rwxrwxr-x 1 apache apache 7210 Aug 15 2018 index.php
-rwxrwxr-x 1 apache apache 35147 Aug 15 2018 LICENSE
-rwxrwxr-x 1 apache apache 1614 Aug 15 2018 license.txt
drwxrwxr-x 56 apache apache 4096 Aug 15 2018 main
-rwxrwxr-x 1 apache apache 893 Aug 15 2018 news_list.php
drwxrwxr-x 49 apache apache 4096 Aug 15 2018 plugin
-rwxrwxr-x 1 apache apache 7643 Aug 15 2018 README.md
-rwxrwxr-x 1 apache apache 748 Aug 15 2018 robots.txt
drwxrwxr-x 3 apache apache 21 Aug 15 2018 src
-rwxrwxr-x 1 apache apache 1151 Aug 15 2018 user.php
-rwxrwxr-x 1 apache apache 11499 Aug 15 2018 user_portal.php
drwxrwxr-x 66 apache apache 4096 Aug 15 2018 vendor
drwxrwxr-x 4 apache apache 31 Aug 15 2018 web
-rwxrwxr-x 1 apache apache 4745 Aug 15 2018 web.config
-rwxrwxr-x 1 apache apache 2004 Aug 15 2018 whoisonline.php
-rwxrwxr-x 1 apache apache 4037 Aug 15 2018 whoisonlinesession.php
Configure the following settings inside the php.ini file.
[root@linuxhelp final]# vim /etc/php.ini
max_execution_time=300
max_input_time=600
memory_limit=256M
post_max_size=100M
upload_max_filesize=100
short_open_tag=off
safe_mode=off
magic_quotes_gpc=Off
magic_quotes_runtime=off
data.timezone=”Your-timezone”
Configure virtual hosting for Chamilo LMS as follows:
[root@linuxhelp final]# vim /etc/httpd/conf.d/chamilo.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/chamilo/final/
<directory /var/www/chamilo/final/>
allowoverride all
allow from all
</directory>
</virtualhost>
Once all the above procedure is completed, restart the service of Apache.
[root@linuxhelp final]# systemctl restart httpd
Open the Browser and enter the servername to access the Chamilo LMS.
In the welcome page of Chamilo 1.11.8, Click on Install Chamilo. Choose the language and click Next. After Checking the requirements, click New Installation. Accept the license terms of Chamilo LMS. Enroll the Company information and Click Next to proceed further. Enter the database details that had Configured inside the MariaDB. Enroll the admin credentials and information. Enroll the portal information and click Next Click Install Chamilo after finishing the last check. Installation Of Chamilo LMS was successful. Enter the login credentials of Chamilo LMS and click login to view the dashboard of Admin's account. Go to HomePage, click Edit Profile to Change the password and save settings. Therefore, the installation of Chamilo LMS on CentOS 7.6 Comes to end.
Comments ( 0 )
No comments available