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 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> | ||
=Splošno= | =Splošno= | ||
Line 14: | Line 14: | ||
Preverite če vaš strežnik zadošča naslednjim zahtevam. Večino teh zahtev lahko preverite med samo namestitvijo. | Preverite če vaš strežnik zadošča naslednjim zahtevam. Večino teh zahtev lahko preverite med samo namestitvijo. | ||
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 | ** 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) | ||
** | ** 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> | ||
PHP | 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''' ( | * '''IMAP''' (pretty standard) is needed for the [[Email bounce tracking system]] - see [http://php.net/manual/imap.setup.php PHP IMAP Extension documentation] | ||
* | * '''LDAP''' installed is needed to import tokens using LDAP - see [http://de.php.net/manual/en/ldap.installation.php PHP LDAP Documentation] | ||
* '''Zip''' ( | * '''Zip''' (pretty standard) for template upload and import resources Zip archives - see [http://php.net/manual/zip.setup.php PHP Zip Extension documentation] | ||
* '''Zlib''' ( | * '''Zlib''' (pretty standard) is needed for the [[ComfortUpdate]] - see [http://php.net/manual/zlib.setup.php PHP Zlib Extension documentation] | ||
V večini primerov vam bo lahko pomagal pri teh dodatnih komponentah vaš ponudnik spletnega prostora ali vaš sistemski administrator. | V večini primerov vam bo lahko pomagal pri teh dodatnih komponentah vaš ponudnik spletnega prostora ali vaš sistemski administrator. | ||
Line 37: | Line 37: | ||
Če želite uporabljati Microsoft's IIS server, si pomagajte z "[[Installation of LimeSurvey on a Windows XP machine]]" in "[[Installation on XP with IIS]]". | Č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== | ==Screen sizes== | ||
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]]. | ||
=Prenesite si LimeSurvey paket= | =Prenesite si LimeSurvey paket= | ||
[https://www.limesurvey.org/en/downloads/category/25-latest-stable-release | [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. | ||
=Razpakirajte si LimeSurvey paket= | =Razpakirajte si LimeSurvey paket= | ||
Line 80: | Line 80: | ||
*Ostale mape so lahko nastavljene le na ''Branje''. Morda si boste želeli nastaviti pravico "Branje" (Read only) vsake posamezne datoteke v mapi /limesurvey/admin. | *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|Text= | {{Hint|Text=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= | =Ustvari uporabnika za podatkovno bazo= | ||
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. | ||
=Zaženite skripto za namestitev= | =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= | =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 | Morali bi videti prijavno okno. Osnovni podatki za prijavo (če se niso spreminjali med namestitvijo), so | ||
< | <syntaxhighlight lang='html' enclose="div"> | ||
User: admin | User: admin | ||
Line 115: | Line 115: | ||
=Kaj če imam probleme...= | =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 [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 16:55, 25 January 2017
Splošno
LimeSurvey projekt ponuja dva načina namestitve:
- Na vaš lasten spletni strežnik:
V tem primeru sledite navodilom na tej strani s korakom 1.
- Na vaš lokalni namizni PC s OS Windows:
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 navodila kako ga namestiti.
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.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
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 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.
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.
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: