Installation - LimeSurvey CE/ru: 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> | ||
=Общее= | =Общее= | ||
Line 14: | Line 14: | ||
Убедитесь в том, что Ваш сервер удовлетворяет следующим дополнительным требованиям. Большинство этих требований будет проверено во время процесса инсталляции. | Убедитесь в том, что Ваш сервер удовлетворяет следующим дополнительным требованиям. Большинство этих требований будет проверено во время процесса инсталляции. | ||
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 ( | ** mbstring (Multibyte String Functions) extension library (see also [[Installation FAQ#What is this mbstring (Multibyte String Functions) library?|Installation FAQ]]) | ||
** PDO | ** 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''' '''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''' | * '''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] | ||
В большинстве случаев сервис-провайдер или системный администратор в состоянии помочь Вам с установкой/активированием данных вариативных компонентов. | В большинстве случаев сервис-провайдер или системный администратор в состоянии помочь Вам с установкой/активированием данных вариативных компонентов. | ||
Line 37: | Line 37: | ||
Если Вы хотите запустить Microsoft IIS сервер, то изучение статьи "[[Installation on XP with IIS|Установка на XP с IIS]] должно помочь. | Если Вы хотите запустить Microsoft IIS сервер, то изучение статьи "[[Installation on XP with IIS|Установка на XP с 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]]. | ||
=Загрузка пакета LimeSurvey= | =Загрузка пакета 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. | ||
=Распаковать пакет LimeSurvey= | =Распаковать пакет LimeSurvey= | ||
Line 88: | Line 88: | ||
- 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. | ||
=Запуск скрипта-установщика= | =Запуск скрипта-установщика= | ||
''' | '''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. | ||
=Первый вход в административную часть= | =Первый вход в административную часть= | ||
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". | |||
Вы должны увидеть экран авторизации. Данные для входа по-умолчанию (если Вы ничего не меняли в ходе установки): | Вы должны увидеть экран авторизации. Данные для входа по-умолчанию (если Вы ничего не меняли в ходе установки): | ||
< | <syntaxhighlight lang='html' enclose="div"> | ||
User: admin | User: admin | ||
Line 113: | Line 113: | ||
=Что делать, если возникли проблемы...= | =Что делать, если возникли проблемы...= | ||
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"> | <div class="simplebox"><center>'''[https://www.limesurvey.org/community-services/live-chat Direct link to the official LimeSurvey IRC Channel]'''</center></div> | ||
<center>'''[ |
Revision as of 16:55, 25 January 2017
Общее
Проект LimeSurvey поддерживает два способа установки:
- На Ваш Web-сервер:
в этом случае Вам необходимо проследовать инструкциям на данной странице, начиная с шага 1.
- На Ваш персональный компьютер:
Вы просто хотите установить LimeSurvey на ваш локальный ПК, если вы хотите создать опросы локально (возможно в быстрых тестовых целях) и выгрузить их позднее на LimeSurvey живущем на вашем Web-сервере. Для таких целей мы приготовили специальный пакет для LimeSurvey, который включает в себя Web-сервер, базу данных и ПО LimeSurvey и инструкции по установке.
Убедитесь в том, что Вы можете использовать LimeSurvey на Вашем web-сайте
Убедитесь в том, что Ваш сервер удовлетворяет следующим дополнительным требованиям. Большинство этих требований будет проверено во время процесса инсталляции.
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
В большинстве случаев сервис-провайдер или системный администратор в состоянии помочь Вам с установкой/активированием данных вариативных компонентов.
Если Вы хотите запустить Microsoft IIS сервер, то изучение статьи "Установка на XP с 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.
Загрузка пакета 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.
Распаковать пакет LimeSurvey
Извлеките zip-файл в отдельную директорию/папку используя предпочитаемый Вами архиватор. Когда извлечение завершится проверьте, что Вы извлекли всю структуру каталогов с файлами (обычно архиваторы именно так и делают). В абсолютном пути к каталогу не должно содержаться символов (, ), а также (пробел).
Сбор информации о Вашем сервере
Вам необходимо знать некоторые вещи, чтобы корректно установить LimeSurvey на ваш web-сервер:
- URL сайта, где будут располагаться Ваши скрипты (например: http://my.domain.com/limesurvey)
- Физическое расположение скриптов на Вашем сервере (например: /home/usr/htdocs/limesurvey)
- IP/сетевое расположение Вашего сервера баз данных(например: localhost)
- Если Ваш сервер баз данных использует нестандартный порт, то узнайте какой именно это порт.
- Ваши имя пользователя и пароль от сервера баз данных
- У большинства провайдеров Вы не можете скриптами создавать базы данных, но можете сделать это вручную (через панель управления хостингом). Если Вы пользуетесь услугами такового, то создайте, пожалуйста, базу данных (например "limesurvey") самостоятельно.
Выгрузка файлов на web-сервер
Воспользовавшись программой FTP-клиентом, подключитесь к Вашему web-серверу и создайте там директорию для размещения Ваших скриптов. Затем выгрузите всю структуру каталогов внутрь созданного ранее каталога. Удостоверьтесь в том вы выгружаете файлы в бинарном режиме (проверьте настройки FTP-клиента). Пожалуйста, имейте ввиду, что выгрузка в ASCII-режиме может повлечь за собой различного рода ошибкам во время установки (таким как: 'class not found'), также файлы изображений могут загрузиться некорректно.
Установка прав на каталог(-и)
Для правильной работы скрипта необходимо обеспечить ему доступ к некоторым каталогам - особенно это касается к Linux/*nix систем.
- /limesurvey/tmp каталог и все вложенные директории и файлы используются для импорта и выгрузки и должны иметь разрешения на "Чтение и Запись" на Вашем web-сервере.
- Прочие директории могут быть с разрешениями "Только чтение" в Linux/*nix. По желанию Вы также можете установить разрешения для каждого файла в директории /limesurvey/admin на "Только чтение".

Создание пользователя базы данных
LimeSurvey создаст базу данных и таблицы внутри нее. Для того чтобы система была в состоянии сделать это ей необходимо указать имя пользователя и пароль пользователя базы данных. Мы рекомендуем создавать пользователя базы данных со следующими разрешениями (правами):
- 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.
Запуск скрипта-установщика
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.
Первый вход в административную часть
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".
Вы должны увидеть экран авторизации. Данные для входа по-умолчанию (если Вы ничего не меняли в ходе установки):
User: admin
Password: password
Вам будет предложено изменить стандартный пароль после успешного входа в систему. Наслаждайтесь!
Что делать, если возникли проблемы...
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: