Actions

Installation - LimeSurvey CE/it: Difference between revisions

From LimeSurvey Manual

(Created page with "<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 V...")
(Created page with "=Introduzione=")
Line 3: Line 3:
<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"> 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>


=General=
=Introduzione=


The LimeSurvey project offers two ways of installating LimeSurvey:
The LimeSurvey project offers two ways of installating LimeSurvey:

Revision as of 11:54, 22 August 2013

Nota: Queste istruzioni sono per la versione 2.0 e successive. Istruzioni di installazione per la versione 1.92 possono essere trovate qui

Introduzione

The LimeSurvey project offers two ways of installating 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 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.

1. Prima di installare LimeSurvey

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

Required:

  • Minimum 80 MB disk space
  • MySQL 4.1.0 or later OR    Microsoft SQL Server 2005 or later OR  Postgres 8.1 or later
  • PHP 5.1.6 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 PHP versions <5.2 you will need to have the PECL JSON library( see [1]) installed
    • Also we assume in general that all PHP  default libraries are enabled (like hash, session, etc.).
Please note that 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.


Opzionali:

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.

If you want to try LimeSurvey on your local machine we recommend XAMPP which is an easy to install software package containing a complete web server with Apache, MySQL, PHP and Perl. LimeSurvey will run on XAMPP with no configuration needed.

If you want to run Microsoft's IIS server take a look at "Installation of LimeSurvey on a Windows XP machine" and "Installation on XP with IIS".

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 LimeService, else check out our list of LimeSurvey-compatible hosting companies.

2. Download di LimeSurvey

Puoi prelevare la versione più aggiornata di LimeSurvey dal sito di sourceforge, all'indirizzo http://sourceforge.net/projects/limesurvey/.

Il pacchetto è contenuto in un file di circa 4 MB. Scarica il file ZIP e salvalo sul tuo disco rigido.

3. Estrazione dei file dall'archivio LimeSurvey

Estrai il contenuto del file ZIP in una directory creata in precedenza. Usa il software che preferisci per l'estrazione, ma assicurati che dopo l'estrazione sia stata mantenuta la struttura delle directory (è quello che accade normalmente utilizzando i più diffusi programmi di estrazione).

Permessi delle Directory

  • Gli script devono avere il permesso di scrittura write nella directory di amministrazione per consentire l'importazione delle indagini. La directory /limesurvey/tmp è utilizzata per gli upload e dovrebbe avere i permessi di lettura e scrittura (read e write) per il webserver. In un sistema *nix dovrebbe avere il permesso 775.
  • Le altre directory possono essere impostate in sola lettura (chmod 755 in ambiente *nix). Si possono impostare i permessi su ciascun file nella cartella /limesurvey/admin al valore 755.

4. Raccolta di 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

5. Configurazione di LimeSurvey

Modifica il file config.php nella directory principale /limesurvey utilizzando il tuo editor di testo preferito.

Probabilmente dovrai intervenire su molte delle seguenti impostazioni:

Set Directory permissions

For the script to work properly it needs certain access to some directories - this applies especially to Linux/*nix systems.

  • The "/limesurvey/tmp" directory and all its subdirectories and files are used for imports & uploads and should be set to Read & Write for your webserver.
  • The "/limesurvey/upload/" directory and all its subdirectories and files must also have Read & Write for your webserver in order to enable picture and media files upload.
  • The "/limesurvey/application/config/" directory also needs Read & Write permissions for your webserver.
  • The other directories can be set to Read Only or in Linux/Unix. You may wish to set the permissions on each file within the /limesurvey/admin directory to Read Only.
 Hint: If you are using Linux then depending on your webserver configuration you will have to chmod the rights on the writable folders to 755 or 777. Try 755 first - if it does not work 'upgrade' to 777.


Create a database user

LimeSurvey will create a database and the tables inside it. To be able to do this it will need the username and password of a database user. In general we recommend to create a database user with the following permissions:

- MySQL: SELECT, CREATE, INSERT, UPDATE, DELETE, ALTER, DROP, INDEX

- PostgreSQL: SELECT, INSERT, UPDATE, DELETE, TRUNCATE, TRIGGER

- Microsoft SQL Server:

Run the installation script

Go to "http://your.domain.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.

8. Collegarsi all'interfaccia di amministrazione per la prima volta

Dopo aver caricato i file, sei pronto a personalizzare LimeSurvey usando il browser web. Apri il browser e inserisci l'indirizzo per raggiungere il file admin.php. Assumendo che tu abbia creato una cartella limesurvey per contenere il programma l'indirizzo dovrebbe essere del tipo "http://your.domain.com/limesurvey/admin/admin.php"

La prima volta che usi LimeSurvey, il programma si connetterà al database che hai specificato nel file config.php. Se il database configurato non esiste ti verrà presentato un errore. Alla fine dovresti arrivare alla pagina di login. Le credenziali di default sono:

User: admin

Password: password

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

9. 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 (:smile:) . Ci sono troppe ragioni per cui le cose potrebbero non andare come scritto qui. Se hai dei problemi o degli errori, scrivi un messaggio nei forum di LimeSurvey o collegati al nostro IRC di LimeSurvey:

irc://irc.freenode.net/limesurvey