Limesurvey on a Raspberry Pi (3b)

TILT’s application server, Vortex, might give up after years of trusty service. So, I thought it an interesting experiment to if we could move our stuff to a Raspberry PI.
It took some effort, but I’ve managed to get it up and running. Amazingly cool.

Here are the rough instructions. I have just installed limesurvey250plus-build160228.zip on a brand new Raspberry Pi 3b. Works like a charm.

start with NOOBS on a new SD card
Boot up the Raspberry and have it install NOOBS.

Once up and running start up the terminal

sudo apt-get install apache2 -y —force-yes
cd /var/www/html
sudo chmod 777
.

sudo apt-get install php5 libapache2-mod-php5 -y —force-yes
sudo apt-get install mysql-server php5-mysql php5-gd —force-yes

create MySQL root passwd when asked for by the installer
(you will need this when installing Limesurvey)

sudo apt-get install php5-mysqlnd -y —force-yes

download limesurvey from limesurvey.org
(My version is limesurvey250plus-build160228.zip. Replace by whatever you actually download)
mv /home/pi/Downloads/limesurvey250plus-build160228.zip /var/www/html
unzip limesurvey250plus-build160228.zip

cd /var/www/html
chmod -R 755 /limesurvey/tmp/
sudo chown -R www-data /limesurvey/tmp/
chmod -R 755 /limesurvey/upload/
sudo chown -R www-data /limesurvey/upload/
chmod -R 755 /limesurvey/application/config/
sudo chown -R www-data /limesurvey/application/config/

cd /var/www/limesurvey/application/commands
php console.php install limeadmin pwd123 Admin admin@mydomain.com

replace pwd123 and mailaddress with your own data

In a browser window goto
localhost/limesurvey

The Limesurvey installer should now run

Presto. Enjoy!

Comments are closed.