Installation - LimeSurvey CE/it: 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: | ||
=Introduzione= | =Introduzione= | ||
LimeSurvey | The LimeSurvey project provides two ways to install LimeSurvey: | ||
* | *On your webserver:<br />In that case just follow the instructions on this page starting with step 1. | ||
* | *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]]. | ||
=Prerequisiti per usare LimeSurvey sul tuo sito web= | =Prerequisiti per usare LimeSurvey sul tuo sito web= | ||
Line 16: | Line 16: | ||
Required: | Required: | ||
* Minimum 180MB disk space | * Minimum 180MB disk space | ||
* MySQL 5.5.3 or later '''OR''' | * MySQL 5.5.3 or later '''OR''' Microsoft SQL Server 2005 or later '''OR''' Postgres 9 or later | ||
* Minimum | * 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 44: | Line 44: | ||
==Screen sizes== | ==Screen sizes== | ||
We support any reasonable screen size for survey taking (360px x 640px and up). | We support any reasonable screen size for survey taking (360px x 640px and up). | ||
For the LimeSurvey administration the minimum screen resolution supported | 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 | 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]]. | ||
=Download del pacchetto di LimeSurvey= | =Download del pacchetto di LimeSurvey= |
Revision as of 15:30, 2 August 2017
Introduzione
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.
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.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.).
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
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 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.
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.
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: