How to install Lime survey on Linux mint 18.03
To install Lime survey on Linux mint 18.03
Lime survey is an open source online survey application. It has been widely used by many big industries to create the survey tasks. It has many powerful features like creating dynamic fields for survey. Supports multilingual, defines user roles, user groups and the more it has been integrated into various CMS. In this tutorial, you will learn the method to install Lime Survey on Linux mint 18.03.
Prerequisites
To install LAMP(Apache, MariaDB and php7.2) In MariaDB (create database and user and give privileges to that user)
Php installation with required following modules
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.2 php7.2-mysql php7.2-curl php7.2-json php7.2-cgi libapache2-mod-php7.2 php7.2-mcrypt php7.2-xmlrpc php7.2-gd php7.2-mbstring php7.2 php7.2-common php7.2-xmlrpc php7.2-soap php7.2-xml php7.2-intl php7.2-cli php7.2-ldap php7.2-zip php7.2-readline php7.2-imap php7.2-tidy php7.2-recode php7.2-sq php7.2-intl
Installation
Download a Lime survey package using by wget command.
linuxhelp ~ # wget http://download.limesurvey.org/latest-stable-release/limesurvey3.14.8+180829.zip
--2018-09-14 13:59:27-- http://download.limesurvey.org/latest-stable-release/limesurvey3.14.8+180829.zip
Resolving download.limesurvey.org (download.limesurvey.org)... 88.198.94.203
Connecting to download.limesurvey.org (download.limesurvey.org)|88.198.94.203|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://download.limesurvey.org/latest-stable-release/limesurvey3.14.8+180829.zip [following]
--2018-09-14 13:59:28-- https://download.limesurvey.org/latest-stable-release/limesurvey3.14.8+180829.zip
Connecting to download.limesurvey.org (download.limesurvey.org)|88.198.94.203|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 75908528 (72M) [application/zip]
Saving to: ‘limesurvey3.14.8+180829.zip’
limesurvey3.14.8+180829.z 100%[====================================>] 72.39M 689KB/s in 2m 10s
2018-09-14 14:01:38 (572 KB/s) - ‘limesurvey3.14.8+180829.zip’ saved [75908528/75908528]
The downloaded package is a zip file, so we need to unzip the package now.
linuxhelp ~ # unzip limesurvey3.14.8+180829.zip
Archive: limesurvey3.14.8+180829.zip
creating: limesurvey/
extracting: limesurvey/.bowerrc
inflating: limesurvey/.editorconfig
inflating: limesurvey/.gitattributes
inflating: limesurvey/.gitignore
inflating: limesurvey/.htaccess
.
.
.
creating: limesurvey/upload/labels/
inflating: limesurvey/upload/labels/index.html
inflating: limesurvey/upload/labels/readme.txt
inflating: limesurvey/upload/readme.txt
creating: limesurvey/upload/themes/
inflating: limesurvey/upload/themes/index.html
Change the ownership and permission for limesurvey directory
linuxhelp ~ # ls
limesurvey limesurvey3.14.8+180829.zip
linuxhelp ~ # chown -R www-data:www-data limesurvey
linuxhelp ~ # chmod -R 775 limesurvey
Move the composer directory into the /html location
linuxhelp ~ # mv limesurvey /var/www/html/
Create a new virtual host configuration to accessing the lime survey application
linuxhelp ~ # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim lime.conf
<VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/limesurvey/
<Directory /var/www/html/limesurvey/>
AllowOverride All
allow from all
</Directory>
</VirtualHost>
Enable the site access.
linuxhelp sites-available # a2ensite lime.conf
Enabling site lime. To activate the new configuration, you need to run:
service apache2 reload
Entry to the host file
linuxhelp sites-available # vim /etc/hosts
<your ip address> <your domain name>
Then we need to restart the apache2 service
linuxhelp sites-available # systemctl restart apache2.service
Now we have to open a browser and type the following URL of http://local IP (or ) domain name
The welcome page appears on your screen. Click on Start Installation.
The License page appears on your screen. Click I Accept.
Click next on the next page
Now, you need to configure the database. Make the necessary configuration. Click Next once done with the page.
Now, it will ask for Populate database. Click on the button.
Optional Settings page appears now. Create all your login credentials.
The installation is successful.
Login with your credentials now.
Finally, here you can see admin page of composer cms.
With this the complete installation of LimeSurvey is over. Enjoy working with LimeSurvey.
Comments ( 0 )
No comments available