How to install Forma V1.4.3 LMS on Linuxmint -18.03

To install Forma V1.4.3 LMS on Linuxmint -18.03

Forma is a free and open-source Learning Management System for web-based e-learning platform. it’ s written in php and uses MySQL database. It is used to manage and deliver online training courses. In this tutorial, we will cover the installation of former LMS on Linux Mint 18.3


Pre-requirements


Install LAMP (Apache, php5.6, Mariadb-server)
In MariaDB (create database, user and give privileges to the user)


FOR PHP INSTALLATION:

linuxhelp # add-apt-repository ppa:ondrej/php
linuxhelp # apt-get update
linuxhelp # apt-get install php5.6 php5.6-mysql php5.6-common php5.6-gd php5.6-mbstring php5.6-mcrypt  php5.6-xml php5.6-imap php5.6-ldap php5.6-mbstring php5.6-odbc php5.6-xmlrpc php5.6-soap php5.6-curl php5.6-xml

Installation

Download the Forma LMS package using wget command as follows.

linuxhelp ~ # wget https://netix.dl.sourceforge.net/project/forma/version%201.x/formalms-v1.4.3.zip
--2018-05-12 16:43:11--  https://netix.dl.sourceforge.net/project/forma/version%201.x/formalms-v1.4.3.zip
Resolving netix.dl.sourceforge.net (netix.dl.sourceforge.net)... 87.121.121.2
Connecting to netix.dl.sourceforge.net (netix.dl.sourceforge.net)|87.121.121.2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23892916 (23M) [application/octet-stream]
Saving to: ‘ formalms-v1.4.3.zip’ 

formalms-v1.4.3.zip        100%[========================================> ]  22.79M   835KB/s    in 38s     

2018-05-12 16:43:50 (615 KB/s) - ‘ formalms-v1.4.3.zip’  saved [23892916/23892916]

Extract the downloaded directory.

linuxhelp ~ # unzip formalms-v1.4.3.zip -d forma
Archive:  formalms-v1.4.3.zip
   creating: forma/widget/
  inflating: forma/widget/lib.widget.php  
   creating: forma/widget/competenceselector/
  inflating: forma/widget/competenceselector/lib.competenceselector.php  
  inflating: forma/widget/competenceselector/competenceselector.js  
   creating: forma/widget/competenceselector/controller/
  inflating: forma/widget/competenceselector/controller/CompetenceselectorWidgetController.php  
   creating: forma/widget/competenceselector/views/
.
.
.
  inflating: forma/xml_language/lang[bulgarian].xml  
  inflating: forma/xml_language/lang[ukrainian].xml  
  inflating: forma/xml_language/lang[dutch].xml  
  inflating: forma/xml_language/lang[romanian].xml  
  inflating: forma/xml_language/lang[turkish].xml  
  inflating: forma/xml_language/lang[portuguese].xml  
  inflating: forma/xml_language/lang[german].xml  
  inflating: forma/xml_language/lang[spanish].xml

Move the forma directory into the /var/www/html directory.

linuxhelp ~ # ls
forma  formalms-v1.4.3.zip
linuxhelp ~ # mv forma /var/www/html

Go to /var/www/html directory.

linuxhelp ~ # cd /var/www/html/
linuxhelp html # ls
forma  index.html

We have to change ownership and permission for the forma directory

linuxhelp html # chown -R www-data:www-data forma/
linuxhelp html # chmod -R 775 forma/

Configure virtual host for forma LMS Create the empty file named forma.conf

linuxhelp html # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim forma.conf
[&hellip ]
< virtualhost *:80> 
servername  www.linuxhelp1.com
Documentroot  /var/www/html/forma/
< Directory /var/www/html/forma/> 
AllowOverride
order allow,deny
allow from all
< /Directory> 
< /virtualhost> 
Errorlog  /var/log/linuxhelp_error
Customlog /var/log/linuxhelp_access common
[&hellip ]      

And then, enable the forma.conf file as follows.

linuxhelp sites-available # a2ensite forma.conf 

Enabling site forma.
To activate the new configuration, you need to run:

  service apache2 reload

Make an entry in hosts file as follows

linuxhelp sites-available # vim /etc/hosts
< give your ip >      < give your domain name> 

We have to restart apache web server t make the changes effect

linuxhelp sites-available # systemctl restart apache2.service

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://< ipaddress or domain name

Now we can start configuring the forma LMS as follows. First, select the language for the installation.

And then just verify the system check.

Next, you need to accept the license and terms.


And then configure the database details are as follows.

Next, you need to configure the admin user setup.

After the setup, you will see the following screen.

Now the installation is completed.

You can login into the Forma LMS as shown here. Use the admin login credentials which you created during database setup.


After successful login, you will see the admin page of forma LMS.


With this, the method to install Forma LMS on Linux mint 18.3 Comes to an end

Tag : Linux Mint
FAQ
Q
Are Features like Classroom Trainings and Virtual Sessions available with Forma LMS?
A
Yes, formaLMS also supports Classroom Trainings (Planning, Scheduling and ILT material) and Virtual Sessions.
Q
How to enable the rewrite module?
A
run the following command,
#a2enmod rewrite
Q
How to Extract the PHP source of OrangeHRM onto the directory that is configured as Apache Server htdocs directory on "Windows"?
A
For ex: "C:\apache\Apache2\htdocs\orangehrm\"
Q
I registered in the past but cannot login any more?!
A
It is possible an administrator has deactivated or deleted your account for some reason. Also, many boards periodically remove users who have not posted for a long time to reduce the size of
Q
How do I add a signature to my post?
A
To add a signature to a post you must first create one via your User Control Panel. Once created, you can check the Attach a signature box on the posting form to add your signature. You can a