Actions

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 1: Line 1:
<languages />
<languages />


<div class="simplebox"> Nota: Queste istruzioni sono per la versione 2.0 e successive. Istruzioni di installazione per la versione 1.92 possono essere trovate [[Installation Version 1.92 or older|qui]] </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>


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


Obbligatori:
Required:
* Almeno 80 MB liberi su disco
* Minimum 180MB disk space
* MySQL 4.1.0 o successivo '''OPPURE'''    Microsoft SQL Server 2005 o successivo '''OPPURE'''  Postgres 8.1 o successivo
* MySQL 5.5.3 or later '''OR'''    Microsoft SQL Server 2005 or later '''OR'''  Postgres 9 or later
* <B>PHP 5.3 o successivo </B>con i seguenti moduli e librerie installate e abilitate:
* Minimum ''PHP 5.3.3 or later'', however we recommend "PHP 5.5.x or later" with the following modules/libraries enabled:
** La libreria mbstring (Multibyte String Functions) (vedi anche [[Installation FAQ#What is this mbstring (Multibyte String Functions) library?|FAQ relative all'installazione]])
** mbstring (Multibyte String Functions) extension library (see also [[Installation FAQ#What is this mbstring (Multibyte String Functions) library?|Installation FAQ]])
** PDO database driver per MySQL (pdo_mysql or pdo_mysqli) o Postgres (pdo_pgsql) o MSSQL ([http://php.net/manual/en/ref.pdo-sqlsrv.php pdo_sqlsrv])
** 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)
** Si considera inoltre che le principali librerie dell'installazione standard di PHP siano abilitate (ad esempio hash, session, etc.).
** Also we assume in general that all PHP default libraries are enabled (like hash, session, etc.).


<div class="simplebox">Si noti che LimeSurvey 2.x utilizza un connettore per il database differente rispetto alla versione 1.x. Se si riceve un messaggio *No DBO driver was found during the installation* dovrete contattare il vostro fornitore di servizi e richiedere l'attivazione di una delle librerie indicate più sopra.</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"> Nota: Se si dispone di una connessione da Linux verso un database MSSQL su server Windows con il driver dblib PDO, il sottostante FreeTDS deve essere configurato correttamente. Verificare sulla pagina dei [Troubleshooting] per ulteriori Informazioni. </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>


Estensioni PHP opzionali:
Optional PHP Extensions:
* '''GD-Library''' '''con supporto FreeType'''. Installazione necessaria per captchas e grafici delle statistiche - riferimenti: [http://de3.php.net/manual/en/image.setup.php PHP GD-Library Extension documentation]  
* '''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''' (pretty standard) è necessario per [[Email bounce tracking system]] - riferimenti: [http://www.php.net/manual/en/imap.setup.php PHP IMAP Extension documentation]  
* '''IMAP''' (pretty standard) is needed for the [[Email bounce tracking system]] - see [http://php.net/manual/imap.setup.php PHP IMAP Extension documentation]
* '''LDAP''' installato è necessario per importare identificativi utilizzando l'LDAP - riferimenti: [http://de.php.net/manual/en/ldap.installation.php PHP LDAP Documentation]  
* '''LDAP''' installed is needed to import tokens using LDAP - see [http://de.php.net/manual/en/ldap.installation.php PHP LDAP Documentation]
* '''Zip''' (pretty standard) per l'upload di template e l'import di risorse con archivi Zip - riferimenti: [http://www.php.net/manual/en/zip.setup.php PHP Zip Extension documentation]  
* '''Zip''' (pretty standard) for template upload and import resources Zip archives - see [http://php.net/manual/zip.setup.php PHP Zip Extension documentation]
* '''Zlib''' (pretty standard) è necessario per il [[ComfortUpdate]] - riferimenti: [http://www.php.net/manual/en/zlib.setup.php PHP Zlib Extension documentation]
* '''Zlib''' (pretty standard) is needed for the [[ComfortUpdate]] - see [http://php.net/manual/zlib.setup.php 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.
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.
Line 38: Line 38:


===Browser compatibility===
===Browser compatibility===
For the survey taking side we currently support IE9 and all newer comparable browsers like FF, Chrome, Opera, etc.
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.
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!
We do not support any IE version running in Intranet-mode or Compatibility-mode!


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


LimeSurvey dovrebbe funzionare con la maggior parte dei servizi di hosting che offrono PHP e MYSQL. Se desiderate una versione di LimeSurvey preinstallata vi suggeriamo l'uso di  [http://www.limeservice.com LimeService], altrimenti consultate il nostro [[LimeSurvey-compatible hosting companies|elenco di servizi hosting compatibili con 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 del pacchetto di LimeSurvey=
=Download del pacchetto di LimeSurvey=


[http://www.limesurvey.org/en/download Download] E' il pacchetto zip della più aggiornata versione stabile di LimeSurvey (disponibile anche in pacchetti gzip, bz2 e 7zip). Da salvare nel proprio disco locale.
[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.


=Estrazione dei file del pacchetto di LimeSurvey=
=Estrazione dei file del pacchetto di LimeSurvey=
Line 90: Line 90:
- 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.


=Esecuzione dello script di installazione=
=Esecuzione dello script di installazione=


'''Andare su "http://your.domain.com/limesurvey/admin"'''. Se i passi precedenti sono stati seguiti correttamente, si procede con la installazione e configurazione di LimeSurvey dovrebbe partire: seguire le istruzioni mostrate di volta in volta.
'''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=
=Collegarsi all'interfaccia di amministrazione per la prima volta=
Line 103: Line 103:




<div class="simplebox">User: admin
<syntaxhighlight lang='html' enclose="div">


User: admin
User: admin
Line 115: Line 115:
=Se hai dei problemi...=
=Se hai dei problemi...=


Come tutti i programmi, la maggior parte delle volte questi si comportano come riportato nelle istruzioni, ma qualche volta, semplicemente non vogliono. Ci sono troppe ragioni per cui le cose potrebbero non andare come scritto qui. Se hai dei problemi o degli errori, prima verifica sulle  [[Installation FAQ]].  
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]:
Se non trovi risposta, scrivi un messaggio nel forum in italiano: "http://www.limesurvey.org/en/forum/italian-forum", o in quello generale in inglese: "http://www.limesurvey.org/en/" o collegati al nostro [irc://irc.freenode.net/limesurvey|canale IRC di LimeSurvey]


<div class="simplebox"><center>'''[http://www.limesurvey.org/en/community-services/live-chat Link diretto al canale ufficiale di supporto LimeSurvey]'''</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 17:00, 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

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: