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 LimeSurvey on CentOS 7.
-Mariadb (create database , user protected by password)
-Php 7 and above
You need to download the package link from the official website. Copy it to your terminal and download it with the wget command.
[root@linuxhelp1]# wget http://download.limesurvey.org/latest-stable-release/limesurvey2.67.3+170728.zip --2017-08-01 14:44:29-- http://download.limesurvey.org/latest-stable-release/limesurvey2.67.3+170728.zip Resolving download.limesurvey.org (download.limesurvey.org)... 22.214.171.124 Connecting to download.limesurvey.org (download.limesurvey.org)|126.96.36.199|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 78763542 (75M) [application/zip] Saving to: ‘limesurvey2.67.3+170728.zip.1’ 100% [================================================]>
Once done, extract the package as follows.
[root@linuxhelp1 ~]# unzip limesurvey2.67.3+170728.zip.1 inflating: limesurvey/application/extensions/yiiwheels/widgets/timeago/assets/js/locales/jquery.timeago.da.js inflating: limesurvey/application/extensions/yiiwheels/widgets/timeago/assets/js/locales/jquery.timeago.de.js inflating: limesurvey/application/extensions/yiiwheels/widgets/timeago/assets/js/locales/jquery.timeago.el.js inflating: limesurvey/application/extensions/yiiwheels/widgets/timeago/assets/js/locales/jquery.timeago.en-short.js inflating: limesurvey/application/extensions/yiiwheels/widgets/timeago/assets/js/locales/jquery.timeago.en.js inflating: limesurvey/application/extensions/yiiwheels/widgets/timeago/assets/js/locales/jquery.timeago.es-short.js inflating: limesurvey/application/extensions/yiiwheels/widgets/timeago/assets/js/locales/jquery.timeago.es.js inflating: limesurvey/application/extensions/yiiwheels/widgets/timeago/assets/js/locales/jquery.timeago.et.js inflating: limesurvey/application/extensions/yiiwheels/widgets/timeago/assets/js/locales/jquery.timeago.fa.js inflating: limesurvey/application/extensions/yiiwheels/widgets/timeago/assets/js/locales/jquery.timeago.fi.js inflating: limesurvey/application/extensions/yiiwheels/widgets/timeago/assets/js/locales/jquery.timeago.fr-short.js inflating: limesurvey/application/extensions/yiiwheels/widgets/timeago/assets/js/locales/jquery.timeago.fr.js inflating: limesurvey/application/extensions/yiiwheels/widgets/timeago/assets/js/locales/jquery.timeago.gl.js . . . creating: limesurvey/upload/templates/ inflating: limesurvey/upload/templates/index.html inflating: limesurvey/upload/templates/readme.txt
After extracting, change the owner permission and read-write permissions.
[root@linuxhelp1 ~]#chown -R apache:apache /var/www/html/limesurvey/tmp /var/www/html/limesurvey/upload /var/www/html/limesurvey/application/config [root@linuxhelp1 ~]# chown -R 776 /var/www/html/limesurvey/tmp /var/www/html/limesurvey/upload /var/www/html/limesurvey/application/config
Now it is essential to configure Apache VirtualHost. Open the .conf file by running the following command.
[root@linuxhelp1 html]# vim /etc/httpd/conf.d/ls.conf
Configure it as follows.
<VirtualHost *:80> DocumentRoot "/var/www/html/limesurvey/" ServerName 192.168.7.218 ServerAlias www.linuxhelp1.com ErrorLog "/var/log/httpd/www.linuxhelp1.com-error_log" CustomLog "/var/log/httpd/www.linuxhelp1.com-access_log" combined <Directory "/var/www/html/limesurvey/"> DirectoryIndex index.html index.php Options FollowSymLinks AllowOverride All Require all granted </Directory> </VirtualHost>
Once configured, restart your Apache service.
[root@linuxhelp1 ~] # systemctl restart httpd
Now switch to browser and enter machine ‘s IP. Here its http://192.168.7.218. 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.
Click on Next once done.
The installation is successful.
Login with your credentials now.
With this the complete installation of LimeSurvey is over. Enjoy working with LimeSurvey.
Thank you! for using Linux Help.
You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.