본문 바로가기
Ubuntu/Ubuntu22.04

Limesurvey Self-Hosting Installation

by 거인과난쟁이 2023. 9. 28.

- Ubuntu22.04 (tested 22.04.3)

# dependencies
sudo apt update

## apache
sudo apt install apache2

## mariadb
sudo apt install mariadb-server
### mariadb setting
sudo mysql_secure_installation

## php
sudo apt install php libapache2-mod-php php-mysql php-xml php-mbstring php-gd php-ldap php-zip php-imap php-json php-curl
### php check
echo "<?php phpinfo(); ?>" | sudo tee /var/www/html/phpinfo.php

http://localhost

http://localhost/phpinfo.php


# limesurvey

## download 
cd /var/www/html
sudo wget https://download.limesurvey.org/latest-master/limesurvey6.2.9+230925.zip
sudo unzip limesurvey6.2.9+230925.zip

## directory/file ownership
sudo chown -R www-data:www-data /var/www/html/limesurvey/
sudo chmod -R 755 /var/www/html/limesurvey/tmp
sudo chmod -R 755 /var/www/html/limesurvey/upload
sudo chmod -R 755 /var/www/html/limesurvey/application/config

limesurvey download --> https://community.limesurvey.org/downloads/

 

Downloads

Test LimeSurvey Cloud Get the most out of LimeSurvey and start using the LimeSurvey Cloud today We take care of the infrastructure and you concentrate on the important things: your surveys. Our highly available premium hosting provides you with LimeSurvey

community.limesurvey.org


## database setting for limesurvey
sudo mysql -u root -p
CREATE DATABASE limesurvey;
CREATE USER 'limesurvey'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON limesurvey.* TO 'limesurvey'@'localhost';
FLUSH PRIVILEGES;
EXIT;

http://localhost/limesurvey/admin


# update setting fro apache server
sudo systemctl restart apache2

'Ubuntu > Ubuntu22.04' 카테고리의 다른 글

mail server 설정[1] - 요약  (1) 2023.10.28