- 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-intl 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
# https://community.limesurvey.org/downloads/ 에서 <Download> 링크를 복사해서 붙여주세요.
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/
## 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' 카테고리의 다른 글
[lxc + rstudio server] 설정 및 접속 (0) | 2024.08.18 |
---|---|
[LXC] 리눅스 컨테이너 설치 (0) | 2024.08.18 |
raid 5 + bcache (0) | 2024.08.01 |
Limesurvey Self-Hosting Installation [2] : nginx, php-fpm (0) | 2024.07.30 |
mail server 설정[1] - 요약 (1) | 2023.10.28 |