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"> | <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. | ||
Required: | |||
* | * Minimum 180MB disk space | ||
* MySQL | * MySQL 5.5.3 or later '''OR''' Microsoft SQL Server 2005 or later '''OR''' Postgres 9 or later | ||
* PHP 5.3 | * Minimum ''PHP 5.3.3 or later'', however we recommend "PHP 5.5.x or later" with the following modules/libraries enabled: | ||
** mbstring ( | ** mbstring (Multibyte String Functions) extension library (see also [[Installation FAQ#What is this mbstring (Multibyte String Functions) library?|Installation FAQ]]) | ||
** PDO database driver | ** 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) | ||
** | ** Also we assume in general that all PHP default libraries are enabled (like hash, session, etc.). | ||
<div class="simplebox"> | <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"> | <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> | ||
Optional PHP Extensions: | |||
* '''GD-Library | * '''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''' ( | * '''IMAP''' (pretty standard) is needed for the [[Email bounce tracking system]] - see [http://php.net/manual/imap.setup.php PHP IMAP Extension documentation] | ||
* '''LDAP''' | * '''LDAP''' installed is needed to import tokens using LDAP - see [http://de.php.net/manual/en/ldap.installation.php PHP LDAP Documentation] | ||
* '''Zip''' ( | * '''Zip''' (pretty standard) for template upload and import resources Zip archives - see [http://php.net/manual/zip.setup.php PHP Zip Extension documentation] | ||
* '''Zlib''' ( | * '''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]]". | ||
=== | ===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 | 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 | 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] | [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= | {{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= | ||
'''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= | ||
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= | ||
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>'''[ | <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
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.).
Optional PHP Extensions:
- GD-Library with FreeType support installed is needed for captchas or nice charts in statistics - see PHP GD-Library Extension documentation
- IMAP (pretty standard) is needed for the Email bounce tracking system - see PHP IMAP Extension documentation
- LDAP installed is needed to import tokens using LDAP - see PHP LDAP Documentation
- Zip (pretty standard) for template upload and import resources Zip archives - see PHP Zip Extension documentation
- Zlib (pretty standard) is needed for the ComfortUpdate - see PHP Zlib Extension documentation
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.
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: