Actions

Installation - LimeSurvey CE/nl: Difference between revisions

From LimeSurvey Manual

No edit summary
(Updating to match new version of source page)
Line 1: Line 1:
<languages />
<languages />


<div class="simplebox">Let op: Deze pagina is voor de installatie vanaf versie 2.0. De pagina voor versie 1.92 staat [[Installation Version 1.92 or older/nl|hier]]. De instructies voor een upgrade staan [[Upgrading from a previous version/nl|hier]].</div>
__TOC__
 
<div class="simplebox"> Note: These installation instructions are for version 2.0 or later. Older instructions for 1.92 can be found [[Installation Version 1.92 or older|here]] and update instructions can be found [[Upgrading from a previous version|here]]. </div>


=Algemeen=
=Algemeen=
Line 8: Line 10:
* Op een webserver: volg de instructies op deze pagina<br />
* Op een webserver: volg de instructies op deze pagina<br />


*Op je eigen PC.<br />Hiermee kun je lokaal enquêtes maken (vanwege de reactiesnelheid, of om ze vooraf te ontwikkelen/testen) om ze later naar een webserver te uploaden. Hiervoor is een download gemaakt, waarin een webserver, de database en de applicatie zitten. Bekijk [[Installation of the LimeSurvey XAMPP package/nl|hier]] de instructies.
*On your local Windows PC:<br />You usually only want to install LimeSurvey on your local PC if you want to create surveys locally (mainly for speed or development/test reasons) and upload them later to your live LimeSurvey installation on a web server. We have prepared for this a special package for LimeSurvey which includes the web server, the database, the LimeSurvey application, and [[Installation of the LimeSurvey XAMPP package|instructions how to install it]].


=Controleren of je LimeSurvey op je website kunt gebruiken=
=Controleren of je LimeSurvey op je website kunt gebruiken=


Controleer of de instellingen op de server voldoen aan de volgende eisen. Dit wordt grotendeels ook tijdens de installatie gecheckt.
Make sure your server meets the following additional requirements.


{{Note|Bij de installatie worden de systeemvereisten gecontroleerd!}}
{{Note|Bij de installatie worden de systeemvereisten gecontroleerd!}}


Minimaal vereist:
The minimum set of requirements:
* Minimaal 180Mb beschikbaar
* Minimum 180 MB disk space.
* MySQL 5.5.3 of later '''OF''' Microsoft SQL Server 2005 of later '''OF''' Postgres 9 of later
* MySQL 5.5.3 or later '''OR''' Microsoft SQL Server 2005 or later '''OR''' Postgres 9 or later.
* PHP 5.3.3 of later (aanbevolen minstens 5.5) met de volgende modules en bibliotheken actief:
* Minimum PHP 5.5.9 or later, however we recommend PHP 7.0.0+ with the following modules/libraries enabled:
** mbstring (zie ook: [[Installation FAQ/nl#Wat is de mbstring (Multibyte String Functions) bibliotheek?|Installatie FAQ]])
** [[Installation FAQ#Requirements page#What is the mbstring (Multibyte String Functions) library|mbstring (Multibyte String Functions)]] extension library.
** PDO database driver voor MySQL (pdo_mysql of pdo_mysqli) of Postgres (pdo_pgsql) of MSSQL ([https://secure.php.net/manual/en/ref.pdo-sqlsrv.php pdo_sqlsrv] voor Windows en [http://www.php.net/manual/en/ref.pdo-dblib.php pdo_dblib] voor Linux)
** PDO database driver for MySQL (pdo_mysql or pdo_mysqli) or Postgres (pdo_pgsql) or MSSQL ([https://php.net/manual/en/ref.pdo-sqlsrv.php pdo_sqlsrv] for Windows and [http://www.php.net/manual/en/ref.pdo-dblib.php pdo_dblib] for Linux).
** Verder alle default bibliotheken (hash, session etc.)
** Also, we assume in general that all PHP default libraries are enabled (like hash, session, etc.).


<div class="simplebox">Let erop dat LimeSurvey 2.x andere database drivers gebruikt dan versie 1.x. Als je tijdens de installatie de mededeling krijgt dat er geen DBO-driver is gevonden, neem dan contact op met je webhost en vraag of ze deze kunnen activeren.</div>
<div class="simplebox">Let erop dat LimeSurvey 2.x andere database drivers gebruikt dan versie 1.x. Als je tijdens de installatie de mededeling krijgt dat er geen DBO-driver is gevonden, neem dan contact op met je webhost en vraag of ze deze kunnen activeren.</div>
Line 37: Line 39:
In de meeste gevallen kan je webhoster je helpen om deze componenten te activeren.
In de meeste gevallen kan je webhoster je helpen om deze componenten te activeren.


Als je LimeSurvey op een Microsoft IIS server wilt draaien, kijk dan bij "[[Installation on XP with IIS|Installatie op XP met IIS]]".
If you want to run Microsoft's IIS server, taking a look at '"[[Installation on XP with IIS]]''' might also help.


===Webbrowser compatibiliteit===  
===Browser compatibility===
'''Bij het invullen van de enquête''' ondersteunen we IE9 en alle nieuwere vergelijkbare webbrowsers  zoals Firefox, Chrome, Opera, ... met JavaScript ingeschakeld.
'''For the survey-taking side''', we currently support IE9 and all newer comparable browsers like FF, Chrome, Opera, etc., with activated JavaScript.
'''Voor het beheergedeelte''' ondersteunen we IE11 en alle nieuwere vergelijkbare webbrowsers zoals Firefox, Chrome, Opera, ... met JavaScript ingeschakeld. We ondersteunen geen enkele versie van Internet Explorer die uitgevoerd wordt in intranet-mode of compatibiliteitsmode!
'''For the administration part''', we currently support IE11 and all newer comparable browsers like FF, Chrome, Opera, etc., with activated JavaScript. <u>We do not support any IE version running in Intranet-mode or Compatibility-mode!</u>


==Schermgrootte==
==Schermgrootte==
Line 49: Line 51:
==Hosting van LimeSurvey==
==Hosting van LimeSurvey==


LimeSurvey werkt met de meeste webhosters die PHP en MySQL leveren. Mocht je een turn-key oplossing willen hebben, bekijk dan [https://www.limesurvey.org/editions-and-prices/limesurvey-pro/editions-and-prices-professional LimeSurvey Professsional], of onze [[LimeSurvey-compatible hosting companies/nl|Lijst van LimeSurvey-compatible hosters]].
LimeSurvey should work with most hosting companies that provide PHP and MySQL. If you want a ready-installed version of LimeSurvey, you could try [https://www.limesurvey.org/editions-and-prices/limesurvey-pro/editions-and-prices-professional LimeSurvey Professional], else check out our [[LimeSurvey-compatible hosting companies|list of LimeSurvey-compatible hosting companies]].


=Download LimeSurvey=
=Download LimeSurvey=
Line 57: Line 59:
=Uitpakken van LimeSurvey-download=
=Uitpakken van LimeSurvey-download=


Pak het bestand uit in een map. Gebruik hiervoor je favoriete software. Check bij het uitpakken dat je de mapstructuur mee uitpakt (gebeurt meestal vanzelf). Het pad mag geen haakjes, maar wel spaties bevatten.
Uncompress the zip file into a dedicated directory/folder using your preferred compression software. When you uncompress the file make sure that you uncompress the directory structure with the files (this is default behavior for most compression programs). The path name for the installation directory should not include '(' or ')' special characters, but it may include the '''space''' character.


=Informatie over de server verzamelen=
=Informatie over de server verzamelen=
Line 72: Line 74:
=De bestanden uploaden op de webserver=
=De bestanden uploaden op de webserver=


Met behulp van je favoriete FTP programma maak je verbinding met de webserver. Maak hierin een directory of map aan. Check of je de bestanden "in binaire modus" gaat uploaden (instellingen in het FTP programma). Als je in ASCII-mode gaat uploaden zullen plaatjes niet werken, en mogelijk ook de code niet. Upload de bestanden zoals ze in de mapstructuur staan.
Using your FTP program (e.g. FileZilla), connect to your web server and create a directory to store your scripts. Then upload the files using the directory structure they are in. Make sure you '''upload the files in binary mode''' (check the settings of your FTP program). Please note that uploading in ASCII mode can lead to uncommon errors (e.g. 'class not found' error during installation), also images may not be uploaded correctly.


=Maprechten=
=Maprechten=
Line 100: Line 102:
=Het beheerscript voor het eerst opstarten=
=Het beheerscript voor het eerst opstarten=


Nadat de installer gedraaid heeft ben je klaar! Ga in je browser naar het administratie-gedeelte van LimeSurvey. Als je "limesurvey" als mapnaam hebt gebruikt, wordt dat iets als "http://mijn.domein.nl/limesurvey/admin".
You are done when the installation finishes! Open your browser and enter the URL to the LimeSurvey administration. Assuming you used 'limesurvey' as the directory name to store the files in, this will be something like "http://www.example.com/limesurvey/admin".


Nu zou je een loginscherm moeten zien. De standaardinloggevens (als je die niet zelf aangepast hebt tijdens de installatie):
Nu zou je een loginscherm moeten zien. De standaardinloggevens (als je die niet zelf aangepast hebt tijdens de installatie):

Revision as of 11:10, 11 September 2017

Note: These installation instructions are for version 2.0 or later. Older instructions for 1.92 can be found here and update instructions can be found here.

Algemeen

Het LimeSurvey-project biedt twee opties om LimeSurvey te installeren:

  • Op een webserver: volg de instructies op deze pagina
  • On your local Windows PC:
    You usually only want to install LimeSurvey on your local PC if you want to create surveys locally (mainly for speed or development/test reasons) and upload them later to your live LimeSurvey installation on a web server. We have prepared for this a special package for LimeSurvey which includes the web server, the database, the LimeSurvey application, and instructions how to install it.

Controleren of je LimeSurvey op je website kunt gebruiken

Make sure your server meets the following additional requirements.

Bij de installatie worden de systeemvereisten gecontroleerd!

The minimum set of requirements:

  • Minimum 180 MB disk space.
  • MySQL 5.5.3 or later OR Microsoft SQL Server 2005 or later OR Postgres 9 or later.
  • Minimum PHP 5.5.9 or later, however we recommend PHP 7.0.0+ with the following modules/libraries enabled:
    • mbstring (Multibyte String Functions) extension library.
    • PDO database driver for MySQL (pdo_mysql or pdo_mysqli) or Postgres (pdo_pgsql) or MSSQL (pdo_sqlsrv for Windows and pdo_dblib for Linux).
    • Also, we assume in general that all PHP default libraries are enabled (like hash, session, etc.).
Let erop dat LimeSurvey 2.x andere database drivers gebruikt dan versie 1.x. Als je tijdens de installatie de mededeling krijgt dat er geen DBO-driver is gevonden, neem dan contact op met je webhost en vraag of ze deze kunnen activeren.
NB.: Als je in Linux een verbinding maakt met een MSSQL database op een Windows-server met gebruik van dblib PDO-driver, dan moet de onderliggende FreeTDS goed ingesteld zijn. Lees de pagina Problemen oplossen voor meer informatie.

Optionele PHP Extensies:

In de meeste gevallen kan je webhoster je helpen om deze componenten te activeren.

If you want to run Microsoft's IIS server, taking a look at '"Installation on XP with IIS might also help.

Browser compatibility

For the survey-taking side, we currently support IE9 and all newer comparable browsers like FF, Chrome, Opera, etc., with activated JavaScript. For the administration part, we currently support IE11 and all newer comparable browsers like FF, Chrome, Opera, etc., with activated JavaScript. We do not support any IE version running in Intranet-mode or Compatibility-mode!

Schermgrootte

We ondersteunen alle gebruikelijke schermgroottes voor het afnemen van enquêtes vanaf (360px x 640px en hoger). Voor LimeSurvey-beheer is de minimale schermresolutie 1280px x 1024px.

Hosting van LimeSurvey

LimeSurvey should work with most hosting companies that provide PHP and MySQL. If you want a ready-installed version of LimeSurvey, you could try LimeSurvey Professional, else check out our list of LimeSurvey-compatible hosting companies.

Download LimeSurvey

Download de laatste stabiele versie van de LimeSurvey. Er zijn zip, gzip, bz2 en 7zip-bestanden beschikbaar. Sla de download op.

Uitpakken van LimeSurvey-download

Uncompress the zip file into a dedicated directory/folder using your preferred compression software. When you uncompress the file make sure that you uncompress the directory structure with the files (this is default behavior for most compression programs). The path name for the installation directory should not include '(' or ')' special characters, but it may include the space character.

Informatie over de server verzamelen

Noteer de volgende zaken voordat je LimeSurvey gaat installeren op de webserver:

  • Het webadres waar de scripts bereikbaar zijn(voorbeeld: http://mijn.domein.nl/limesurvey).
  • De fysieke locatie waar de scripts staan (voorbeeld: /home/usr/htdocs/limesurvey).
  • De IP/netlocatie van de databaseserver (voorbeeld: localhost)
  • De poort waarop de databaseserver zit, als dat een niet-standaardpoort is.
  • Naam en wachtwoord van de databaseserver.

De meeste webhosters laten een installatie niet een database aanmaken op de server. Maak in dat geval zelf een database aan (bijvoorbeeld limesurvey)

De bestanden uploaden op de webserver

Using your FTP program (e.g. FileZilla), connect to your web server and create a directory to store your scripts. Then upload the files using the directory structure they are in. Make sure you upload the files in binary mode (check the settings of your FTP program). Please note that uploading in ASCII mode can lead to uncommon errors (e.g. 'class not found' error during installation), also images may not be uploaded correctly.

Maprechten

Om de scripts goed te laten werken moeten de rechten op de directories goed staan: dat geldt vooral bij Linux/*nix-systemen.

  • De "/limesurvey/tmp" directory en alle onderliggende directories en bestanden worden gebruikt voor het importeren en uploads, en moeten dus een "Lees & Schrijf"-permissie hebben.
  • De "/limesurvey/upload/" directory en alle onderliggende directories en bestanden worden ook gebruikt voor uploads, en moeten dus een "Lees & Schrijf"-permissie hebben.
  • De "/limesurvey/application/config/" directory moet ook een "Lees & Schrijf" permissie hebben.
  • Alle overige directories kunnen af met een "Alleen lezen"-permissie. Dit geldt vooral voor de bestanden in de "/limesurvey/admin" directory.
  Op Linux-systemen kun je afhankelijk van de webserver de rechten instellen. Voor Apache HTTPD op CentOS gebruik je chmod -R 755 <directory> ; chown -R apache <directory>. Iedereen heeft dan leesrechten, en de webserver schrijfrechten. Lees voor meer informatie over rechten op Linux https://www.linux.com/learn/tutorials/309527-understanding-linux-file-permissions.


Een databasegebruiker aanmaken

LimeSurvey zal een database inclusief de structuur willen maken. Daarvoor heeft het een gebruikersnaam en wachtwoord nodig van een database gebruiker. We raden aan een gebruiker aan te maken met de volgende rechten:

- MySQL: SELECT, CREATE, INSERT, UPDATE, DELETE, ALTER, DROP, INDEX

- PostgreSQL: SELECT, INSERT, UPDATE, DELETE, TRUNCATE, TRIGGER

- Microsoft SQL Server: "Onbekend, indien u dit weet, vult dit dan a.u.b. toe".

Het installatiescript starten

Open je favoriete browser en ga naar "http://mijn.domein.nl/limesurvey/admin". Als alles goed staat, start de installer nu. Volg de instructies: er wordt je gevraagd of je de database wilt laten aanmaken. Daarna zal LimeSurvey de databasestructuur gaan aanmaken.

Het beheerscript voor het eerst opstarten

You are done when the installation finishes! Open your browser and enter the URL to the LimeSurvey administration. Assuming you used 'limesurvey' as the directory name to store the files in, this will be something like "http://www.example.com/limesurvey/admin".

Nu zou je een loginscherm moeten zien. De standaardinloggevens (als je die niet zelf aangepast hebt tijdens de installatie):

Gebruikersnaam: admin
Wachtwoord: password

Daarna word je gevraagd om het wachtwoord te wijzigen. Veel plezier!

Problemen

Zoals alle applicaties werkt het altijd als je de instructies maar volgt. Maar soms ook niet, de redenen zijn te divers om er hier op in te gaan. Bekijk daarom bij problemen eerst even de Installatie FAQ. Mocht daar het antwoord niet staan, plaats dan je probleem en de foutmelding(en) in het LimeSurvey forum, open een support ticket, of ga naar het LimeSurvey IRC channel: