• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install LimeSurvey on CentOS 7 using LEMP

2034

To install LimeSurvey on CentOS 7 using LEMP

LimeSurvey also known as PHPSurveyor is a free and open source online survey application written in PHP and based on Mysql, SQLite and postgreSQL. LimeSurvey allows you to develop and publish on-line surveys, collect responses, create statistics, and export the resulting data to other applications using web interface. The templates in LimeSurvey can be changed in WYSIWYG HTML editor and can also be imported and exported through the template editor. This tutorial will explain the installation of LimeSuvey on CentOS 7 using LEMP.

Pre-Requisites

- LEMP Stack

Nginx

MariaDB

PHP 5.6 along with dependencies by executing the following set of commands

wget https://centos7.iuscommunity.org/ius-release.rpm

yum -y install epel-release rpm -Uvh ius-release.rpm

yum install php56u php56u-common php56u-xml php56u-gd php56u-mbstring php56u-mysqlnd php56u-mcrypt php56u-imap php56u-ldap -y

Installation procedure

To proceed with the installation procedure, download the Limesurvey package by using wget command followed by the download link.

[root@linuxhelp ~]# wget http://download.limesurvey.org/latest-stable-release/limesurvey2.72.1+171012.zip
--2017-10-17 12:54:57--  http://download.limesurvey.org/latest-stable-release/limesurvey2.72.1+171012.zip
Resolving download.limesurvey.org (download.limesurvey.org)... 78.47.141.76
Connecting to download.limesurvey.org (download.limesurvey.org)|78.47.141.76|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 77756433 (74M) [application/zip]
Saving to: ‘ limesurvey2.72.1+171012.zip’ 
100%[======================================> ] 77,756,433   172KB/s   in 6m 55s

2017-10-17 13:01:53 (183 KB/s) - ‘ limesurvey2.72.1+171012.zip’  saved [77756433/77756433]

Extract the downloaded package in Nginx root directory by running the unzip command.

[root@linuxhelp ~]# unzip limesurvey2.72.1+171012.zip -d /usr/share/nginx/html/
Archive:  limesurvey2.72.1+171012.zip
   creating: /usr/share/nginx/html/limesurvey/
 extracting: /usr/share/nginx/html/limesurvey/.bowerrc  
  inflating: /usr/share/nginx/html/limesurvey/.gitattributes  
  inflating: /usr/share/nginx/html/limesurvey/.gitignore  
  inflating: /usr/share/nginx/html/limesurvey/.htaccess  
  inflating: /usr/share/nginx/html/limesurvey/.scrutinizer.yml  
  inflating: /usr/share/nginx/html/limesurvey/CONTRIBUTING.md  
  inflating: /usr/share/nginx/html/limesurvey/README.md  
   creating: /usr/share/nginx/html/limesurvey/admin/
 extracting: /usr/share/nginx/html/limesurvey/admin/admin.php  
.
.
.
creating: /usr/share/nginx/html/limesurvey/upload/labels/
  inflating: /usr/share/nginx/html/limesurvey/upload/labels/index.html  
  inflating: /usr/share/nginx/html/limesurvey/upload/labels/readme.txt  
  inflating: /usr/share/nginx/html/limesurvey/upload/readme.txt  
   creating: /usr/share/nginx/html/limesurvey/upload/surveys/
  inflating: /usr/share/nginx/html/limesurvey/upload/surveys/index.html  
  inflating: /usr/share/nginx/html/limesurvey/upload/surveys/readme.txt  
   creating: /usr/share/nginx/html/limesurvey/upload/templates/
  inflating: /usr/share/nginx/html/limesurvey/upload/templates/index.html  
  inflating: /usr/share/nginx/html/limesurvey/upload/templates/readme.txt  

Open the php-fpm configuration file using vim editor and enter the following content as follows. Save and exit the file.

[root@linuxhelp ~]# vim /etc/php-fpm.d/www.conf
listen = /run/php-fpm/php-fpm.sock
listen.owner = nginx
listen.group = nginx

user = nginx
group = nginx

Next configure the Virtual host configuration file and enter the following contents in the file. Save and exit the file.

[root@linuxhelp ~]# vim /etc/nginx/conf.d/limesurvey.conf

server {
    listen  80 
  server_name www.linuxhelp1.com 
    location / {
        root  /usr/share/nginx/html 
        index  index.html index.htm index.php 
    }

    error_page  500 502 503 504  /50x.html 
    location = /50x.html {
        root  /usr/share/nginx/html 
    }
location ~ \.php {
    fastcgi_index index.php 
    fastcgi_split_path_info ^(.+\.php)(.*)$ 
    include /etc/nginx/fastcgi_params 
    fastcgi_pass unix:/run/php-fpm/php-fpm.sock 
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name 
  }
}

Provide the appropriate owner permission and file execution permission by executing the following set of commands.

[root@linuxhelp html]# chown -R nginx:nginx /usr/share/nginx/html/
[root@linuxhelp html]# chmod -R 777 /usr/share/nginx/html/

Restart the Nginx service.

[root@linuxhelp limesurvey]# systemctl restart nginx

Switch to the browser and enter the URL as http://www.linuxhelp1.com/limesurvey. The installation wizard of LimeSurvey appears on the screen. Choose the language and begin the installation.

a

The License agreement appears on the screen. Accept the license and navigate to next page.

b

Enter the required database configuration details and save the changes.

c

Next enter the required admin details and save the changes.

d

e

The installation is now complete and click administration option to lead to the admin side of LimeSurvey.

f

The LimeSurvey application is running successfully.

g

The installation of LimeSurvey on CentOS 7 using LEMP is done without any glitches.

Tags:
symonds
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

How can I create a database and a user in MySQL with command-line access on limesurvey?

A

You have to enter the commands below in your MySQL for creating database for Limesurvey:

create database ;
create user ;
create user @localhost;
set password f

Q

Stuck at checking file system permissions for Limesurvey?

A

If SELinux is activated (primarily on CentOS), then you might get an error that the file system permissions are not correct, even if the list of directories is empty. SELinux prevents writing.

Q

Blank page when accessing the install page of Limesurvey?

A

Verify you have the MySQL connection established with the server, and PHP module (php-MySQL) installed.
Verify your PHP install is loading the PHP.ini file your are modifying and not parsing other PHP.INI files on your system.
Verify t

Q

What is LimeSurvey?

A

LimeSurvey also was known as PHPSurveyor is a free and open source online survey application written in PHP and based on Mysql, SQLite, and PostgreSQL. LimeSurvey allows you to develop and publish online surveys, collect responses, create statistics, and export the resulting data to other applications using web interface.

Q

What are the required PHP extensions for LimeSurvey?

A

The required PHP extensions for Limesurvey is as follows
# php56u php56u-common php56u-xml php56u-gd php56u-mbstring php56u-mysqlnd php56u-mcrypt php56u-imap php56u-ldap

Related Tutorials in How to install LimeSurvey on CentOS 7 using LEMP

Related Tutorials in How to install LimeSurvey on CentOS 7 using LEMP

How To Install AnyDesk on Centos 7
How To Install AnyDesk on Centos 7
Apr 2, 2018
How to install Tiki Wiki CMS Groupware on CentOS 7
How to install Tiki Wiki CMS Groupware on CentOS 7
May 31, 2018
How to install PHP ImageMagick on CentOS 7
How to install PHP ImageMagick on CentOS 7
Nov 4, 2017
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
Jun 4, 2019
How to install Apache from Source Code on CentOS 7
How to install Apache from Source Code on CentOS 7
Oct 21, 2017
How to enable or disable repositories in CentOS
How to enable or disable repositories in CentOS
Mar 28, 2018
How to install AWStats on CentOS 7
How to install AWStats on CentOS 7
Dec 8, 2017
How to install Apache JMeter in CentOS 7
How to install Apache JMeter in CentOS 7
Mar 24, 2017

Related Forums in How to install LimeSurvey on CentOS 7 using LEMP

Related Forums in How to install LimeSurvey on CentOS 7 using LEMP

CentOS
connor class=
How To Completely Remove Apache package On CentOS 7.6
May 14, 2019
CentOS
ceriaimmaculate class=
setfacl : command not found
Jan 3, 2018
CentOS
mason class=
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Nov 20, 2018
CentOS
landon class=
Command to find SNMP Version
May 28, 2018
CentOS
arjitharon class=
cannot start minio service help
Mar 10, 2018
Apache tomcat
AadrikaAnshu class=
Cannot find ./catalina.sh The file is absent or does not have execute permission This file is needed to run this program
Jun 17, 2019
gitlab
caden class=
Insufficient space in download directory /var/cache/yum/x86_64/6/base/packages
Jul 22, 2019
OpenVAS
frank class=
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Dec 20, 2018

Related News in How to install LimeSurvey on CentOS 7 using LEMP

Related News in How to install LimeSurvey on CentOS 7 using LEMP

Netgear router vulnerability issue and bugs in Linux app: IT leaders need to be aware.
Netgear router vulnerability issue and bugs in Linux app: IT leaders need to be aware.
Feb 6, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Ganesh Konka ?
Zentya 6.1 http proxy configuration

please send link for creating zentyal 6.1 for http proxy and firewall as gateway.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.