Actions

Installation - LimeSurvey CE/de: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(Updating to match new version of source page)
Line 5: Line 5:
=Allgemeines=
=Allgemeines=


Das LimeSurvey-Projekt bietet zwei Installationsarten an:
The LimeSurvey project provides two ways to install LimeSurvey:
*Auf Ihrem Webserver:<br />In diesem Fall folgen Sie einfach den Anweisungen auf dieser Seite, beginnend mit Schritt 1.
*On your webserver:<br />In that case just follow the instructions on this page starting with step 1.


*Auf Ihrem lokalen Windows-PC:<br />In der Regel möchten Sie LimeSurvey nur auf Ihrem lokalen PC installieren, wenn Sie Umfragen lokal erstellen wollen (vor allem aus Geschwindigkeit- oder Test-Gründen), und Sie später die Umfrage in Ihre Live-LimeSurvey-Installation auf einem Web-server integrieren wollen. Dafür haben wir ein spezielles Installationspaket vorbereitet, das einen Webserver, eine Datenbank und die LimeSurvey-Anwendung enthält. Siehe [[Installation of the LimeSurvey XAMPP package/de|Installationsanleitung]].
*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. For this we have prepared a special package for LimeSurvey which includes the web server, the database and the LimeSurvey application and [[Installation of the LimeSurvey XAMPP package|instructions how to install it]].


=Überprüfen Sie, ob Ihr Server die Mindestvoraussetzungen erfüllt=
=Überprüfen Sie, ob Ihr Server die Mindestvoraussetzungen erfüllt=
Line 16: Line 16:
Required:
Required:
* Minimum 180MB disk space
* Minimum 180MB disk space
* MySQL 5.5.3 or later '''OR'''    Microsoft SQL Server 2005 or later '''OR'''  Postgres 9 or later
* 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:
* Minimum PHP 5.4 or later, however we recommend PHP 5.6.x or later with the following modules/libraries enabled:
** mbstring (Multibyte String Functions) extension library (see also [[Installation FAQ#What is this mbstring (Multibyte String Functions) library?|Installation FAQ]])
** mbstring (Multibyte String Functions) extension library (see also [[Installation FAQ#What is this mbstring (Multibyte String Functions) library?|Installation FAQ]])
** 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)
** 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)
Line 42: Line 42:
We do not support any IE version running in Intranet-mode or Compatibility-mode!
We do not support any IE version running in Intranet-mode or Compatibility-mode!


==Bildschirmgröße==
==Screen sizes==
Wir unterstützen jeden vernünftige Bildschirmgröße für Umfragen (360 x 640 Pixel).
We support any reasonable screen size for survey taking (360px x 640px and up).
Für die LimeSurvey-Administration beträgt die unterstützte Minimalauflösung 1280 x 1024 Pixel.
For the LimeSurvey administration the minimum screen resolution supported is 1280px x 1024px.


==Hosting for LimeSurvey==
==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 [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]].
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 Professional], else check out our [[LimeSurvey-compatible hosting companies|list of LimeSurvey-compatible hosting companies]].


=Laden Sie das LimeSurvey-Paket herunter=
=Laden Sie das LimeSurvey-Paket herunter=

Revision as of 15:30, 2 August 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

Allgemeines

The LimeSurvey project provides two ways to install LimeSurvey:

  • On your webserver:
    In that case just follow the instructions on this page starting with step 1.
  • 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. For this we have prepared a special package for LimeSurvey which includes the web server, the database and the LimeSurvey application and instructions how to install it.

Überprüfen Sie, ob Ihr Server die Mindestvoraussetzungen erfüllt

Stellen Sie sicher, dass Ihr Server die folgenden zusätzlichen Anforderungen erfüllt. Die meisten dieser Anforderungen werden allerdings auch während der Installation überprüft.

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.4 or later, however we recommend PHP 5.6.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 den meisten Fällen wird Ihnen der Provider Ihres Webspace zu diesen optionalen Komponenten weiterhelfen.

Wenn Sie LimeSurvey auf IIS laufen lassen wollen, dann könnte der folgende Link helfen: "Installation on XP with IIS" (in Englisch).

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!

Screen sizes

We support any reasonable screen size for survey taking (360px x 640px and up). For the LimeSurvey administration the minimum screen resolution supported is 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 Professional, else check out our list of LimeSurvey-compatible hosting companies.

Laden Sie das LimeSurvey-Paket herunter

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.

Auspacken/Entkomprimieren des LimeSurvey-Pakets

Entpacken Sie die ZIP-Datei in einem Verzeichnis Ihrer Wahl. Benutzen Sie hierfür ein Entkomprimierungs-Tool Ihrer Wahl.

Achten Sie darauf, dass beim Entpacken die Verzeichnisstruktur erhalten bleibt, dies sollte in den meisten Fällen die Standardeinstellung sein. Der Pfadname sollte keine ungewöhnliche Zeichen wie Umlaute oder Klammern enthalten.

Sammeln Sie die nötigen Informationen über Ihren Server

Um LimeSurvey korrekt installieren zu können werden Sie die folgenden Informationen über Ihren Server benötigen:

  • Die URL unter der Ihr LimeSurvey-Skript im Internet zu finden sein wird (Beispiel: 'http://ihre.domain.com/limesurvey')
  • Der Pfad unter der das Skript auf Ihrem Server zu finden sein wird (Beispiel: '/home/usr/htdocs/limesurvey')
  • Die IP/net-Adresse Ihres Datenbank-Servers (Beispiel: 'localhost')
  • Sollte Ihr Datenbankserver keinen Standard-Port verwenden, müssen Sie diesen herausfinden (Standard ist für MySQL Port 3306).
  • Ihr Benutzername und Passwort für den Datenbank-Server.
  • Bei den meisten Providern kann das Skript die Datenbank nicht selbst erstellen, sondern Sie müssen dies manuell machen. Wenn Sie einen solchen Provider nutzen, dann erstellen Sie nun eine Datenbank mit einem beliebigen Namen (z.B. 'LimeSurvey').

Hochladen der Dateien auf Ihren Webserver

Benutzen Sie ein FTP-Programm, verbinden sich zu Ihrem Server und erstellen Sie ein Verzeichnis, in dem Sie LimeSurvey speichern möchten. Danach müssen Sie die Dateien unter Beibehaltung der Verzeichnisstruktur auf den Webserver im Binärmodus hochladen (überprüfen Sie die Einstellungen Ihre FTP-Programms). Beim Hochladen im ASCII Modus kann es zu zahlreichen Problemen und Fehler kommen.

Verzeichnisrechte setzen

Damit das Script richtig funktioniert, müssen Sie bestimmte Verzeichnisrechte setzen - dies gilt vor allen Dingen für Linux/*nix Systeme.

  • Das "/limesurvey/tmp" Verzeichnis und dessen Unterverzeichnisse benötigt vollen "Lesen/Schreiben"-Zugriff für Ihren Webserver.
  • Wenn Sie Medien und Bilder hochladen wollen, dann sollten Sie das "/upload" Verzeichnis und die darin enthaltenen Dateien & Verzeichnisse auf Lesen/Schreiben für Ihren Webserver setzen
  • Alle anderen Verzeichnisse können auf nur Lese-Zugriff gesetzt werden. Sie können weiterhin die Rechte aller Dateien im "/limesurvey/admin" Verzeichnis auf 'Nur Lesen' setzen.
 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


Erstellen Sie einen Datenbank-Benutzer

LimeSurvey erstellt die Datenbank und die beinhaltenden Tabellen. Um dies dies zu tun, benötigt LimeSurvey den Benutzernamen und das Passwort des Datenbank-Benutzers. Im Allgemeinen empfehlen wir einen Datenbank-Benutzer mit den folgenden Berechtigungen zu erstellen:

- 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.

Führen sie das Installationsskript aus

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.

Erster Aufruf der Administrationsoberfläche

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".

Bei dem erstmaligen Start von LimeSurvey werden Sie in einem Anmeldefenster nach Benutzername und Kennwort gefragt. Die Standardzugangsdaten sind (sofern Sie sie nicht andere im Installationsprogramm angegeben haben)


User: admin
Passwort: password


Nach dem ersten Anmelden werden Sie aufgefordert ein neues Passwort zu setzen. Viel Spaß!

Wenn es Probleme gibt...

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: