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"> | <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. | ||
Required: | |||
* | * Minimum 180MB disk space | ||
* MySQL | * 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#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''' (pretty standard) | * '''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''' (pretty standard) | * '''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) | * '''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 | 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= | ||
[ | [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= | ||
''' | '''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: | ||
< | <syntaxhighlight lang='html' enclose="div"> | ||
User: admin | User: admin | ||
Line 115: | Line 115: | ||
=Se hai dei problemi...= | =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 [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 17:00, 25 January 2017
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.).
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 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.
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: