How To Install Limesurvey On Centos 7.6
- 00:33 rpm -q centos-release
- 00:45 mysql -u root -p
- 01:50 wget https://github.com/LimeSurvey/LimeSurvey/archive/master.zip
- 02:08 unzip master.zip
- 02:27 mv LimeSurvey-master /var/www/limesurvey
- 02:43 chown -R apache:apache /var/www/limesurvey
- 02:57 chmod -R 755 /var/www/limesurvey
- 03:13 vim /etc/httpd/conf.d/limesurvey.conf
- 04:24 systemctl restart httpd
Installation Of Lime Survey On CentOS 7.6
Installation Process
Check the Centos version by using the following command
[root@linuxhelp ~]# rpm -q centos-release
centos-release-7-6.1810.2.el7.centos.x86_64
Going to create database By using the mysql command
[root@linuxhelp ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 5.5.64-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 limedb;
Query OK, 1 row affected (0.01 sec)
MariaDB [(none)]> create user 'limeuser'@localhost identified by 'Linuxc#45';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> grant all privileges on limedb.* to 'limeuser'@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> exit
Bye
Download the limesurvey installation package by using wget command
[root@linuxhelp ~]# wget https://github.com/LimeSurvey/LimeSurvey/archive/master.zip
--2019-11-23 06:10:28-- https://github.com/LimeSurvey/LimeSurvey/archive/master.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/LimeSurvey/LimeSurvey/zip/master [following]
--2019-11-23 06:10:28-- https://codeload.github.com/LimeSurvey/LimeSurvey/zip/master
Resolving codeload.github.com (codeload.github.com)... 13.233.43.20
Connecting to codeload.github.com (codeload.github.com)|13.233.43.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’
[ <=> ] 81,045,314 1.09MB/s in 70s
2019-11-23 06:11:39 (1.10 MB/s) - ‘master.zip’ saved [81045314]
Extract the downloaded package
[root@linuxhelp ~]# unzip master.zip
Archive: master.zip
0cf514100f9b79b13023c67cb3827753e230be26
creating: LimeSurvey-master/
extracting: LimeSurvey-master/.bowerrc
inflating: LimeSurvey-master/.editorconfig
inflating: LimeSurvey-master/.gitattributes
inflating: LimeSurvey-master/.gitignore
inflating: LimeSurvey-master/.htaccess
inflating: LimeSurvey-master/.scrutinizer.yml
.
.
xtension.php
inflating: LimeSurvey-master/upload/twig/extensions/HelloWorld_Twig_Extension/HelloWorld_Twig_Extension.xml
inflating: LimeSurvey-master/upload/twig/extensions/HelloWorld_Twig_Extension/README.md
inflating: LimeSurvey-master/upload/twig/extensions/README.md
Move the limesurvey directory to apache root directory
[root@linuxhelp ~]# mv LimeSurvey-master /var/www/limesurvey
Set the ownership and permission for limesurvey
[root@linuxhelp ~]# chown -R apache:apache /var/www/limesurvey
[root@linuxhelp ~]# chmod -R 755 /var/www/limesurvey
Configure the virtualhost for limesurvey
[root@linuxhelp ~]# vim /etc/httpd/conf.d/limesurvey.conf
<Virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/limesurvey
<directory /var/www/limesurvey>
allowoverride all
allow from all
</directory>
</virtualhost>
Restart the apache service by using the following command
[root@linuxhelp ~]# systemctl restart httpd
Open browser and enter your domain name
This is welcome page of limesurvey
Accept the licenses agreement
Check the requirements for limesurvey
Configure your database details
Installation is completed successfully
Enter the admin credentials
This is the dashboard of limesurvey
This is the method to install limesurvey On centos 7.6
Comments ( 0 )
No comments available