Actions

Installazione - LimeSurvey CE

From LimeSurvey Manual

Revision as of 17:00, 25 January 2017 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
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

Introduzione

LimeSurvey si propone in due modalità di installazione:

  • Sul proprio webserver:
    In questo caso è sufficiente seguire le istruzioni di questa pagina, a partire dal passo 1.
  • Sul proprio PC con Windows:
    Tipicamente vorrai installare LimeSurvey sul tuo PC solo per la creazione di indagini (per ragioni di rapidità e per effettuare delle prove) da caricare successivamente sull'installazione di LimeSurvey fatta su un server web. Per tale motivo abbiamo predisposto un pacchetto di installazione di LimeSurvey che include tutto il necessario (web server, database e l'applicazione LimeSurvey) e le istruzioni per la sua installazione.

Prerequisiti per usare LimeSurvey sul tuo sito web

LimeSurvey richiede che il tuo server abbia delle caratteristiche minime. Prima di procedere all'installazione, assicurati di disporre dei seguenti requisiti.

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:

Anche se non gestisci personalmente l'host che ospiterà LimeSurvey, nella maggior parte dei casi il tuo amministratore di sistema sarà in grado di aiutarti ad ottenere i requisiti minimi.

Se preferite l'utilizzo del server Microsoft IIS consultare Installation on XP with 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!

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 ist 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 del pacchetto di 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.

Estrazione dei file del pacchetto di LimeSurvey

Estrai il contenuto del file ZIP in una directory creata in precedenza usando il software che preferisci per l'estrazione. Quando decomprimi i file, assicurati che dopo l'estrazione sia stata mantenuta la struttura delle directory (è quello che accade normalmente utilizzando i più diffusi programmi di estrazione). Il nome del percorso dell'installazione non deve includere i caratteri ( o ), ma può includere il carattere spazio

Raccolta delle informazioni sul proprio server

Per installare correttamente LimeSurvey sul proprio web server è necessario conoscere le seguenti informazioni:

  • L'URL del sito dove verranno allocati gli script di LimeSurvey (ad es.: http://www.miodominio.it/limesurvey)
  • La collocazione fisica dei file sul proprio server (ad es.: /home/usr/htdocs/limesurvey)
  • L'indirizzo di rete del server database MySQL (ad es.: localhost)
  • Il numero della porta usata dal server del database MySQL se non è utilizzata la porta standard
  • Il nome utente e la password per l'accesso al server database MySQL
  • La collocazione dei file binari MySQL (ad es.: c:/mysql/bin) se il web server è Microsoft IIS

Upload dei file per il tuo web server

Usa il tuo programma FTP per collegarti al tuo web server e creare una cartella dove archiviare gli script. Quindi fai l'upload dei file usando la struttura di cartelle e sottocartelle predefinita. Assicurati di effettuare l'upload dei file in modalità binaria (verifica le impostazioni del programma FTP che stai usando). Considera che l'upload in modalità ASCII potrebbe generare errori non controllabili (per esempio 'class not found' durante l'installazione), inoltre le immagini potrebbero essere caricate non correttamente

Impostazione dei permessi sulle cartelle

Per permettere il corretto funzionamento degli script è necessario impostare accessi particolari su determinate cartelle, soprattutto su sistemi Linux/*nix.

  • La cartella "/limesurvey/tmp" e tutte le sue sottocartelle e file sono utilizzate per l'importazione e caricamento, quindi devono essere impostate con permessi di Lettura & Scrittura per il webserver.
  • La cartella "/limesurvey/upload/" con le sue sottocartelle e file dovranno essere impostati con permessi di Lettura & Scrittura per permettere il caricamento di immagini e file multimediali.
  • La cartella "/limesurvey/application/config/" deve anch'essa essere impostata con permessi di Lettura & Scrittura per il webserver.
  • Le altre cartelle possono essere impostate in Sola lettura. E' anche possibile settare i permessi dei file all'interno della cartella "/limesurvey/admin directory" in Sola lettura.
 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


Creare l'utenza il database

LimeSurvey creerà automaticamente un database e delle tabelle al suo interno. Per fare questo è necessario fornigli il nome utente e la password di una utenza del database. In generale raccomandiamo di creare l'utenza con queste caratteristiche:

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

Esecuzione dello script di installazione

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.

Collegarsi all'interfaccia di amministrazione per la prima volta

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

A questo punto dovresti raggiungere la schermata di login del pannello di amministratore. Le credenziali di default sono (a meno non siano state modificate durante l'installazione):


User: admin
Password: password


Ricordati di cambiare la password di default dopo che ti sei collegato la prima volta.

Se hai dei problemi...

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: