<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Limesurvey on Janik von Rotz</title>
    <link>https://janikvonrotz.ch/tags/limesurvey/</link>
    <description>Recent content in Limesurvey on Janik von Rotz</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 09 Apr 2015 12:29:11 +0000</lastBuildDate>
    <atom:link href="https://janikvonrotz.ch/tags/limesurvey/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Results of my very important internet survey</title>
      <link>https://janikvonrotz.ch/2015/04/09/results-of-my-very-important-internet-survey/</link>
      <pubDate>Thu, 09 Apr 2015 12:29:11 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2015/04/09/results-of-my-very-important-internet-survey/</guid>
      <description>&lt;p&gt;First some backgroud informations about why I&amp;rsquo;ve published this kind of survey:&lt;/p&gt;&#xA;&lt;p&gt;There are many pulbic survey tools, but none of them offers the as much features as &lt;a href=&#34;https://www.limesurvey.org&#34;&gt;LimeSurvey&lt;/a&gt;.&#xA;To run surveys on my own, I&amp;rsquo;ve &lt;a href=&#34;https://janikvonrotz.ch/2015/04/08/install-limesurvey-webapp/&#34;&gt;installed  the LimeSurvey application&lt;/a&gt; on this server.&#xA;For more insight of how the user interacts with the surveys I&amp;rsquo;ve added &lt;a href=&#34;https://janikvonrotz.ch/2015/04/09/enable-piwik-for-limesurvey/&#34;&gt;Piwik tracking for my LimeSurvey&lt;/a&gt; installation.&#xA;To test the setup I&amp;rsquo;ve added a simple survey and posted the &lt;a href=&#34;http://www.reddit.com/r/SampleSize/comments/31uvqp/casual_1_second_very_important_internet_survey/&#34;&gt;link to the SampleSize subreddit&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://janikvonrotz.ch/wp-content/uploads/2015/04/Survey-Question.png&#34; alt=&#34;Survey Question&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;What started as a simple system test enraged people all over the world. I didn&amp;rsquo;t expect anybody to contribute to this survey, nethertheless I had great discussion about crocs and nickelback.&lt;/p&gt;&#xA;&lt;p&gt;Some awesome quotes from the thread:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;One second to read, a lifetime to choose an answer.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;by &lt;a href=&#34;http://www.reddit.com/user/zmonge&#34;&gt;zmonge&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;It was hard, but in the end, Crocs don&amp;rsquo;t make me bleed from the ears.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;by &lt;a href=&#34;http://www.reddit.com/user/brown3jh&#34;&gt;brown3jh&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;CROCS. I WEAR THEM.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;by &lt;a href=&#34;http://www.reddit.com/user/monsto&#34;&gt;monsto&lt;/a&gt;&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Nickleback, no contest. I&amp;rsquo;d rather be forced to wear crocs for the rest of my life then listen to Nickelbutt.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;by &lt;a href=&#34;http://www.reddit.com/user/Voxel_Sigma&#34;&gt;Voxel_Sigma&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;results&#34;&gt;Results&lt;/h1&gt;&#xA;&lt;p&gt;Now I would like to present the results of this so important survey.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://janikvonrotz.ch/wp-content/uploads/2015/04/Survey-Results2.png&#34; alt=&#34;Survey Results2&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Obviously most people didn&amp;rsquo;t bother to finish the survey. I can understand that.&lt;/p&gt;&#xA;&lt;p&gt;Finally we know that Crocs are worse than Nickelback.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Enable Piwik for LimeSurvey</title>
      <link>https://janikvonrotz.ch/2015/04/09/enable-piwik-for-limesurvey/</link>
      <pubDate>Thu, 09 Apr 2015 10:30:10 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2015/04/09/enable-piwik-for-limesurvey/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/1d5043a9f40760716def&#34;&gt;https://gist.github.com/1d5043a9f40760716def&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;Piwik is an Open Source webanalytics software. In this tutorial you&amp;rsquo;ll learn how to integrate the Piwiks plugin for LimeSurvey.&lt;/p&gt;&#xA;&lt;h1 id=&#34;requirements&#34;&gt;Requirements&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/03/13/deploy-ubuntu-server/&#34;&gt;Ubuntu server&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/03/31/install-nginx/&#34;&gt;Nginx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/04/01/nginx-minimal-website/&#34;&gt;Nginx minimal website&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/03/20/install-php5-fpm/&#34;&gt;php5-fpm&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/03/25/install-php5-modules/&#34;&gt;php5-mysql&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/04/11/install-nginx-php5-fpm-website/&#34;&gt;Nginx php5-fpm website&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/04/07/install-mysql/&#34;&gt;MySQL&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/04/11/increase-max-upload-for-php5-fpm-website/&#34;&gt;Increased Max Upload for php5-fpm website&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2015/04/08/install-limesurvey-webapp/&#34;&gt;LimeSurvey webapp&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1 id=&#34;installation&#34;&gt;Installation&lt;/h1&gt;&#xA;&lt;p&gt;Navigate to the LimeSurvey plugin directory.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;cd /var/www/&amp;lt;limesurvey&amp;gt;/plugin&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Clone the Piwik LimeSurvey plugin.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;sudo git clone https://github.com/SteveCohen/Piwik-for-Limesurvey.git PiwikPlugin&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Copy the scripts from the sub folder in to the main plugin folder.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;cd PiwikPlugin/&#xA;sudo mv ./PiwikPlugin/* ./&#xA;sudo rm -R PiwikPlugin&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Add access rights for the webserver user.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;sudo chown www-data:www-data -R ./*&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Open your Piwik website &lt;code&gt;//&amp;lt;piwik host&amp;gt;/index.php?module=SitesManager&lt;/code&gt; and optionally add a new site.&lt;/p&gt;&#xA;&lt;p&gt;Copy the ID of the site where you want to store your LimeSurvey tracking data.&lt;/p&gt;&#xA;&lt;p&gt;Open the LimeSurvey plugin manager &lt;code&gt;//&amp;lt;limesurvey host&amp;gt;/index.php?r=plugins&lt;/code&gt; and click the settings icon of the &lt;em&gt;Piwik for Limesurvey&lt;/em&gt; plugin.&lt;/p&gt;&#xA;&lt;p&gt;Update the &lt;code&gt;URL to Piwik&#39;s directory&lt;/code&gt; field with the url of your piwik installation &lt;code&gt;//&amp;lt;piwik host&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Add the ID of the Piwik site to the &lt;code&gt;Piwik SiteId&lt;/code&gt; field.&lt;/p&gt;&#xA;&lt;p&gt;Save the settings and enable the plugin.&lt;/p&gt;&#xA;&lt;p&gt;Whenever a user access one of your suveys their actions are tracked with Piwik.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install LimeSurvey webapp</title>
      <link>https://janikvonrotz.ch/2015/04/08/install-limesurvey-webapp/</link>
      <pubDate>Wed, 08 Apr 2015 09:07:55 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2015/04/08/install-limesurvey-webapp/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/169c177fe3927247f579&#34;&gt;https://gist.github.com/169c177fe3927247f579&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;LimeSurvey is the leading open source survey application.&lt;/p&gt;&#xA;&lt;h1 id=&#34;requirements&#34;&gt;Requirements&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/03/13/deploy-ubuntu-server/&#34;&gt;Ubuntu server&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/03/31/install-nginx/&#34;&gt;Nginx&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/04/01/nginx-minimal-website/&#34;&gt;Nginx minimal website&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/03/20/install-php5-fpm/&#34;&gt;php5-fpm&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/03/25/install-php5-modules/&#34;&gt;php5-mysql&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/04/11/install-nginx-php5-fpm-website/&#34;&gt;Nginx php5-fpm website&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/04/07/install-mysql/&#34;&gt;MySQL&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://janikvonrotz.ch/2014/04/11/increase-max-upload-for-php5-fpm-website/&#34;&gt;Increased Max Upload for php5-fpm website&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1 id=&#34;installation&#34;&gt;Installation&lt;/h1&gt;&#xA;&lt;p&gt;Create the application directory&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;sudo mkdir /var/www/&amp;lt;limesurvey&amp;gt;/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Open the LimeSurvey application directory&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;cd /var/www/&amp;lt;limesurvey&amp;gt;/&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Download latest LimeSurvey package and untar it. You can get the link to the latest release here: &lt;a href=&#34;https://www.limesurvey.org/en/stable-release&#34;&gt;https://www.limesurvey.org/en/stable-release&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;sudo wget http://download.limesurvey.org/Latest_stable_release/limesurvey205plus-build150310.tar.gz&#xA;sudo tar -xzvf limesurvey205plus-build150310.tar.gz&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Copy the extracted files to the current folder and delete the other files&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;sudo cp -r ./limesurvey/* ./&#xA;sudo rm -r limesurvey&#xA;sudo rm limesurvey205plus-build150310.tar.gz&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Let&amp;rsquo;s create the MySQL LimeSurvey database and user.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;mysql -u root -p&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Enter the MySQL root user password.&lt;/p&gt;&#xA;&lt;p&gt;Create the LimeSurvey database.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;CREATE DATABASE &amp;lt;limesurvey&amp;gt;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Create the LimeSurvey database user.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;CREATE USER &amp;lt;limesurvey&amp;gt;@localhost;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Set the password for the LimeSurvey database user.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;SET PASSWORD FOR &amp;lt;limesurvey&amp;gt;@localhost = PASSWORD(&amp;quot;&amp;lt;password&amp;gt;&amp;quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Grant LimeSurvey user full access on LimeSurvey database.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;GRANT ALL PRIVILEGES ON &amp;lt;limesurvey&amp;gt;.* TO &amp;lt;limesurvey&amp;gt;@localhost IDENTIFIED BY &#39;&amp;lt;password&amp;gt;&#39;;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Refresh MySQL and exit.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;FLUSH PRIVILEGES;&#xA;exit&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Grant permissions for the &lt;code&gt;www-data&lt;/code&gt; group and user.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;sudo chown www-data:www-data /var/www/&amp;lt;limesurvey&amp;gt; -R &#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Test config and reload Nginx service.&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;sudo nginx -t &amp;amp;&amp;amp; sudo service nginx reload&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Open the browser again on &lt;code&gt;//&amp;lt;host&amp;gt;&lt;/code&gt; and install the LimeSurvey application.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
