Actions

Installation - LimeSurvey CE/sl: 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:
=Splošno=
=Splošno=


LimeSurvey projekt ponuja dva načina namestitve:
The LimeSurvey project provides two ways to install LimeSurvey:
*Na vaš lasten spletni strežnik:<br />V tem primeru sledite navodilom na tej strani s korakom 1.
*On your webserver:<br />In that case just follow the instructions on this page starting with step 1.


*Na vaš lokalni namizni PC s OS Windows:<br /> Običajno se LimeSurvey namešča na lokalni PC, če uporabnik želi ustvarjati ankete neposredno na svojem računalniku (večinoma zaradi hitrosti ali razlogov testiranja) in jih kasneje prenese na nameščen LimeSurvey na spletnem strežniku. V ta namen smo pripravili poseben paket za LimeSurvey, ki vsebuje spletni strežnik, podatkovno bazo in LimeSurvey aplikacijo in [[Installation of the LimeSurvey XAMPP package|navodila kako ga namestiti]].
*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]].


=Prepričajte se, da lahko uporabljate LimeSurvey na  vašem spletnem strežniku=
=Prepričajte se, da lahko uporabljate LimeSurvey na  vašem spletnem strežniku=
Line 16: Line 16:
Required:
Required:
* Minimum 180MB disk space
* Minimum 180MB disk space
* MySQL 5.5.3 or later '''OR'''    Microsoft SQL Server 2005 or later '''OR'''  Postgres 9 or later
* 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:
* 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 ist 1280px x 1024px.
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 Professsional], else check out our [[LimeSurvey-compatible hosting companies|list of LimeSurvey-compatible hosting companies]].
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]].


=Prenesite si LimeSurvey paket=
=Prenesite si LimeSurvey paket=

Revision as of 15:30, 2 August 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

Splošno

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.

Prepričajte se, da lahko uporabljate LimeSurvey na vašem spletnem strežniku

Preverite če vaš strežnik zadošča naslednjim zahtevam. Večino teh zahtev lahko preverite med samo namestitvijo.

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

V večini primerov vam bo lahko pomagal pri teh dodatnih komponentah vaš ponudnik spletnega prostora ali vaš sistemski administrator.

Če želite uporabljati Microsoft's IIS server, si pomagajte z "Installation of LimeSurvey on a Windows XP machine" in "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.

Prenesite si LimeSurvey paket

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.

Razpakirajte si LimeSurvey paket

Razširite zip datoteko v primerno mapo z uporabo vašega prilubljenega programa za razširjanje. Ko razširite datoteko se prepričajte, da ste razširili tudi mapno zgradbo datotek (to je običajno dejanje večine programov za razširjanje). Ime mape namestitvenih datotek ne sme vsebovati ( ali ) znakov, lahko pa vsebuje znak za presledek.

Pridobite podatke o vašem strežniku

Za uspešno namestitev LimeSurvey-a na vaš spletni strežnik morate poznati naslednje:

  • Vaš načrtovan URL spletne strani, kjer se bodo nahajale vaše skripte (nekaj podobnega kot: http://my.domain.com/limesurvey)
  • Mesto (fizično mapo) na vašem disku na serverju, kjer se bodo nahajale vaše skripte(nekaj podobnega kot: /home/usr/htdocs/limesurvey)
  • IP/net lokacijo vašega serverja za podatkovno bazo(običajno: localhost)
  • Če vaš server za podatkovno bazo uporablja nestandardna vrata, pridobite informacijo o pravih vratih.
  • Vaše uporabniško ime in geslo za vaš strežnik podatkovne baze
  • Pri večini ponudnikih ne morete ustvariti podatkovne baze s skripto, pač pa jo morate ustvariti sami.Če je v vašem primeru tako, ustvarite podatkovno bazo(na primer limesurvey) sami.

Namestite datoteke na vaš spletni strežnik

Uporabite vaš FTP program, povežite se na vaš spletni server in ustvarite mapo za shranjevanje vaših skript. Potem naložite datoteke z uporabo mapne zgradbe, v kateri se nahajajo. Poskrbite, da boste naložili datoteke v binarnem načinu (preverite nastavitev vašega FTP programa). Zavedajte se, da nalaganje v ASCII načinu lahko privede do nepričakovanih napak, prav tako se lahko napačno namestijo slike.

Nastavite dovoljenja za mape

Da bodo skripte delovale pravilno, potrebujejo določen dostop do nekaterih map - to se nanaša predvsem za Linux/*nix sisteme.

  • Mapa "/limesurvey/tmp" ter vse njene podmape in datoteke, ki se uporabljajo za uvoz in nalaganje, morajo vključevati pravico Branja & Pisanja na vašem spletnem strežniku.
  • Mapa "/limesurvey/upload/" ter vse njene podmape in datoteke morajo prav tako vključevati pravico Branja & Pisanja na vašem spletnem strežniku, da bo omogočeno nalaganje slik in medijskih datotek.
  • Mapa "/limesurvey/application/config/" prav tako potrebuje pravico Branja & Pisanja na vašem spletnem strežniku.
  • Ostale mape so lahko nastavljene le na Branje. Morda si boste želeli nastaviti pravico "Branje" (Read only) vsake posamezne datoteke v mapi /limesurvey/admin.
 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


Ustvari uporabnika za podatkovno bazo

LimeSurvey bo ustvaril podatkovno bazo in tabele v njej. Da lahko to stori, bo potreboval uporabniško ime in geslo za uporabnika podatkovne zbirke. V splošnem priporočamo ustvarjanje uporabnika podatkovne zbirke z naslednjimi pravicami:

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

Zaženite skripto za namestitev

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.

Povežite se prvič v odzadje (administracijo) portala

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

Morali bi videti prijavno okno. Osnovni podatki za prijavo (če se niso spreminjali med namestitvijo), so


User: admin
Password: password


Pozvani boste, da spremenite osnovno geslo ko se uspešno prijavite. Zabavajte se!

Kaj če imam probleme...

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: