Actions

Installation - LimeSurvey CE/nl: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(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>
<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 14: Line 14:
Controleer of de instellingen op de server voldoen aan de volgende eisen. Dit wordt grotendeels ook tijdens de installatie gecheckt.
Controleer of de instellingen op de server voldoen aan de volgende eisen. Dit wordt grotendeels ook tijdens de installatie gecheckt.


Vereist:
Required:
* Minimaal 80Mb beschikbaar
* Minimum 180MB disk space
* MySQL 4.10 of later '''OF''' Microsoft SQL Server 2005 of later '''OF''' Postgres 8.1 of later
* MySQL 5.5.3 or later '''OR'''    Microsoft SQL Server 2005 or later '''OR'''  Postgres 9 or later
* PHP 5.3 of later met de volgende modules en bibliotheken actief:
* Minimum ''PHP 5.3.3 or later'', however we recommend "PHP 5.5.x or later" with the following modules/libraries enabled:
** mbstring (zie ook: [[Installation FAQ/nl#Wat is de mbstring (Multibyte String Functions) bibliotheek?|Installatie FAQ]])
** mbstring (Multibyte String Functions) extension library (see also [[Installation FAQ#What is this mbstring (Multibyte String Functions) library?|Installation FAQ]])
** PDO database driver voor MySQL (pdo_mysql of pdo_mysqli) of Postgres (pdo_pgsql) of MSSQL ([http://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 ([http://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 dan 1.x gebruikt. Als je de mededeling krijgt dat er geen DBO-driver is gevonden, neem dan contact op met je webhoster en vraag of ze deze kunnen activeren.</div>
<div class="simplebox"> Note: LimeSurvey 2.x uses different database drivers than 1.x . If you get a message not No DBO driver was found during the installation you will have to contact your webspace provider and ask them to activate one of the aforementioned database driver libraries. </div>


<div class="simplebox"> 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 [[Troubleshooting/nl|Problemen oplossen]] voor meer informatie.</div>
<div class="simplebox"> Note: If you are connecting from Linux to a MSSQL database on a Windows server using the dblib PDO driver, then the underlying FreeTDS needs to be set up correctly. Check out the [[Troubleshooting]] page for more info.</div>


Optionele PHP Extensies:
Optional PHP Extensions:
* '''GD-Library met FreeType support''' voor captchas of grafieken in de statistieken. (zie ook:  [http://php.net/manual/en/image.setup.php PHP GD-Library Extensie documentatie])
* '''GD-Library''' '''with FreeType support''' installed is needed for captchas or nice charts in statistics - see [http://php.net/manual/image.setup.php PHP GD-Library Extension documentation]
* '''IMAP''' (redelijk standaard) voor de [[Email bounce tracking system/nl|Niet verzonden e-mail]]. (zie ook:  [http://php.net/manual/imap.setup.php PHP IMAP Extensie documentatie])
* '''IMAP''' (pretty standard) is needed for the [[Email bounce tracking system]] - see [http://php.net/manual/imap.setup.php PHP IMAP Extension documentation]
* '''LDAP''' voor het importeren van tokens via LDAP. zie ook: [http://php.net/manual/en/ldap.installation.php PHP LDAP Documentatie]
* '''LDAP''' installed is needed to import tokens using LDAP - see [http://de.php.net/manual/en/ldap.installation.php PHP LDAP Documentation]
* '''Zip''' (redelijk standaard) voor het uploaden van templates en het importeren van bronbestanden. (zie ook: [http://php.net/manual/zip.setup.php PHP Zip Extensie documentatie])
* '''Zip''' (pretty standard) for template upload and import resources Zip archives - see [http://php.net/manual/zip.setup.php PHP Zip Extension documentation]
* '''Zlib''' (redelijk standaard) voor de [[ComfortUpdate/nl|ComfortUpdate]] (zie ook: [http://php.net/manual/zlib.setup.php PHP Zlib Extensie documentatie])
* '''Zlib''' (pretty standard) is needed for the [[ComfortUpdate]] - see [http://php.net/manual/zlib.setup.php PHP Zlib Extension documentation]


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.
Line 37: Line 37:
Als je LimeSurvey op een Microsoft IIS server wilt draaien, kijk dan bij "[[Installation on XP with IIS|Installatie op XP met IIS]]".
Als je LimeSurvey op een Microsoft IIS server wilt draaien, kijk dan bij "[[Installation on XP with IIS|Installatie op XP met IIS]]".


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


==Schermgrootte==
==Schermgrootte==
Line 48: Line 48:
==Hosting for LimeSurvey==
==Hosting for LimeSurvey==


LimeSurvey werkt met de meeste webhosters die PHP en MySQL leveren. Mocht je een turn-key oplossing willen hebben, lees dan [http://www.limeservice.com LimeService], of onze [[LimeSurvey-compatible hosting companies/nl|Lijst van LimeSurvey-compatible hosters]].
LimeSurvey should work with most hosting companies which provide PHP and MYSQL. If you want a ready-installed version of LimeSurvey consider using [https://www.limesurvey.org/component/limeservice/?view=limeservice&task=limeservice.routeAlternatives LimeSurvey Professsional], else check out our [[LimeSurvey-compatible hosting companies|list of LimeSurvey-compatible hosting companies]].


=Download LimeSurvey=
=Download LimeSurvey=


[https://www.limesurvey.org/en/downloads/category/25-latest-stable-release Download] de laatste stabiele versie van de LimeSurvey. Er zijn zip, gzip, bz2 en 7zip-bestanden beschikbaar. Sla de download op.
[https://www.limesurvey.org/en/downloads/category/25-latest-stable-release Download] the latest stable LimeSurvey zip package (there are also gzip, bz2 and 7zip packages available for your convenience) and save it to your local disk.


=Uitpakken van LimeSurvey-download=
=Uitpakken van LimeSurvey-download=
Line 81: Line 81:
* Alle overige directories kunnen af met alleen  een "Lees"-permissie. Dit geldt vooral voor alle bestanden in de '''"/limesurvey/admin"''' directory.
* Alle overige directories kunnen af met alleen  een "Lees"-permissie. Dit geldt vooral voor alle bestanden in de '''"/limesurvey/admin"''' directory.


{{Hint|Text=Op Linux-systemen kun je afhankelijk van de webserver de rechten instellen als 755 of 777. Chmod eerst de directories naar 755: mocht dat niet werken gebruik dan 777.}}
{{Hint|Text=If you are using Linux then setting permissions depends on your webserver configuration.  For example, using Apache HTTPD on CentOS, use '''chmod -R 755 <directory> ; chown -R apache <directory>'''.  This will give everyone access to read, and your webserver will have permission to write. For more information on Linux permissions, see http://www.linux.com/learn/tutorials/309527-understanding-linux-file-permissions}}


=Een databasegebruiker aanmaken=
=Een databasegebruiker aanmaken=
Line 91: Line 91:
- PostgreSQL: SELECT, INSERT, UPDATE, DELETE, TRUNCATE, TRIGGER
- PostgreSQL: SELECT, INSERT, UPDATE, DELETE, TRUNCATE, TRIGGER


- Microsoft SQL Server:
- Microsoft SQL Server: Unknown - if you can find out this information please complete it.


=Het installatiescript starten=
=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 een database aan te maken. Daarna zal LimeSurvey de databasestructuur aanmaken.
'''Go to "http://www.example.com/limesurvey/admin"'''. If you configured everything correctly the LimeSurvey installer should be starting - just follow the instructions. You will be asked if to create the database and/or create the tables inside the database. LimeSurvey then creates the needed tables in the database.


=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".
After the installer has finished you are done! 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 standaardinlog (als je die niet zelf aangepast hebt tijdens de installatie)
Nu zou je een loginscherm moeten zien. De standaardinlog (als je die niet zelf aangepast hebt tijdens de installatie)
Line 116: Line 116:
=Problemen=
=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 [[Installation FAQ/nl|Installatie FAQ]]. Mocht daar het antwoord niet staan, plaats dan je probleem en de foutmelding(en) in het [http://www.limesurvey.org/en/forum LimeSurvey forum] op limesurvey.org of ga naar het [irc://irc.freenode.net/limesurvey LimeSurvey IRC channel]:
Like all computer programs, most of the time things will work just like the instructions say, but sometimes they just won't. There are too many possible reasons for things not going according to plan to describe here. If you have trouble, first check out the [[Installation FAQ]]. If you don't find your answer there please post your problem and any error messages in the [https://www.limesurvey.org/forum LimeSurvey forums] on limesurvey.org or join the [irc://irc.freenode.net/limesurvey|LimeSurvey IRC channel]:


<div class="simplebox"><center>'''[http://www.limesurvey.org/en/community-services/live-chat Directe link naar het officiële LimeSurvey IRC Channel]'''</center></div>
<div class="simplebox"><center>'''[https://www.limesurvey.org/community-services/live-chat Direct link to the official LimeSurvey IRC Channel]'''</center></div>

Revision as of 16:35, 25 January 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
  • Op je eigen PC.
    Hiermee kun je lokaal enquêtes maken (vanwege de reactiesnelheid, of om ze vooraf te testen) om ze later naar een webserver te uploaden. Hiervoor is een download gemaakt, waarin een webserver, de database en de applicatie zitten. Bekijk hier de instructies.

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.

Required:

  • Minimum 180MB disk space
  • MySQL 5.5.3 or later OR    Microsoft SQL Server 2005 or later OR  Postgres 9 or later
  • Minimum PHP 5.3.3 or later, however we recommend "PHP 5.5.x or later" with the following modules/libraries enabled:
    • mbstring (Multibyte String Functions) extension library (see also Installation FAQ)
    • 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.).
Note: LimeSurvey 2.x uses different database drivers than 1.x . If you get a message not No DBO driver was found during the installation you will have to contact your webspace provider and ask them to activate one of the aforementioned database driver libraries.
Note: If you are connecting from Linux to a MSSQL database on a Windows server using the dblib PDO driver, then the underlying FreeTDS needs to be set up correctly. Check out the Troubleshooting page for more info.

Optional PHP Extensions:

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 "Installatie op XP met IIS".

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 for LimeSurvey

LimeSurvey should work with most hosting companies which provide PHP and MYSQL. If you want a ready-installed version of LimeSurvey consider using LimeSurvey Professsional, else check out our list of LimeSurvey-compatible hosting companies.

Download LimeSurvey

Download the latest stable LimeSurvey zip package (there are also gzip, bz2 and 7zip packages available for your convenience) and save it to your local disk.

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.

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

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.

Rechten goed zetten

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 alleen een "Lees"-permissie. Dit geldt vooral voor alle bestanden in de "/limesurvey/admin" directory.
 Hint: If you are using Linux then setting permissions depends on your webserver configuration. For example, using Apache HTTPD on CentOS, use chmod -R 755 <directory> ; chown -R apache <directory>. This will give everyone access to read, and your webserver will have permission to write. For more information on Linux permissions, see http://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: Unknown - if you can find out this information please complete it.

Het installatiescript starten

Go to "http://www.example.com/limesurvey/admin". If you configured everything correctly the LimeSurvey installer should be starting - just follow the instructions. You will be asked if to create the database and/or create the tables inside the database. LimeSurvey then creates the needed tables in the database.

Het beheerscript voor het eerst opstarten

After the installer has finished you are done! 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 standaardinlog (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

Like all computer programs, most of the time things will work just like the instructions say, but sometimes they just won't. There are too many possible reasons for things not going according to plan to describe here. If you have trouble, first check out the Installation FAQ. If you don't find your answer there please post your problem and any error messages in the LimeSurvey forums on limesurvey.org or join the IRC channel: