- Posts: 29
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
LimeSurvey LEMP Install Script with Let's Encrypt - Tutorial
- Gordon55M
- Topic Author
- Offline
- Junior Member
Less
More
4 years 10 months ago #186244
by Gordon55M
LimeSurvey LEMP Install Script with Let's Encrypt - Tutorial was created by Gordon55M
I tinker with LimeSurvey every few months. This week I was playing with LimeSurvey on Ubuntu 18.04 running with NGINX, PHP-FPM, and MariaDB. I was constantly creating and destroying droplets dealing with NGINX and I just said screw it, I'm just going to write a script to get the whole thing up and running on a clean Ubuntu 18.04 install. Figured I'd put it here, maybe it'll help someone else get up and running or allow them to see some NGINX files that should work. I make no claims that this is the best setup, or that it's entirely secure. It simply could be a decent starting point for someone so I wanted to share it out. If this isn't allowed, please feel free to delete this post. I do wish LimeSurvey was in the DigitalOcean marketplace with optimal settings! My playground was 2 CPU 4 GB RAM.
The only requirement besides Ubuntu 18.04 is to have the domain A record pointed to the server prior to installation so that the SSL Cert can be properly created. FYI, this forces all traffic to www. domain by default, but that's easy to change in the domains sites available NGINX file. This script installs:
Script:
Read Me has full walk-through:
github.com/Gordon55M/LimeSurvey/blob/master/README.md
SSL Labs Grade:
The only requirement besides Ubuntu 18.04 is to have the domain A record pointed to the server prior to installation so that the SSL Cert can be properly created. FYI, this forces all traffic to www. domain by default, but that's easy to change in the domains sites available NGINX file. This script installs:
- Nginx
- PHP 7.3
- MariaDB 10.1.4
- Let's Encrypt Certbot
- LimeSurvey 3.17.6+190624
Script:
Code:
wget -qO lime https://raw.githubusercontent.com/Gordon55M/LimeSurvey/master/limesurveyinstall.sh && sudo bash lime
Read Me has full walk-through:
github.com/Gordon55M/LimeSurvey/blob/master/README.md
SSL Labs Grade:
Attachments:
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13676
- Thank you received: 2496
4 years 10 months ago #186260
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic LimeSurvey LEMP Install Script with Let's Encrypt - Tutorial
Why not setup the DB at end of install directly ?
manual.limesurvey.org/Installation_using...line_interface_(CLI)
manual.limesurvey.org/Installation_using...line_interface_(CLI)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- Gordon55M
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 1
4 years 10 months ago #186263
by Gordon55M
Replied by Gordon55M on topic LimeSurvey LEMP Install Script with Let's Encrypt - Tutorial
My first answer was going to be because I was lazy and didn't want to fuss with the config file. But after seeing your link I see it is stupid easy to do. I'll try to add that in, thanks for the suggestion!
The topic has been locked.