Руководство по установке Веб-документов
Интеграция с сервисом LibreOffice Online позволяет развернуть Веб-документы IceWarp несколькими способами. Мы рекомендуем запустить их на отдельном сервере или по крайней мере на отдельной виртуальной машине.
Используя этот метод, вы запустите Веб-документы на виртуальной машине, преднастроенной нами. Если вы предпочитаете запустить Веб-документы на вашей собственной виртуальной машине, просмотрите также раздел APT repository (требуется VM с Debian8).
Этот способ самый простой для запуска Веб-документов на Windows. Используя этот метод, вы запустите Веб-документы на виртуальной машине, преднастроенной нами. Если вы предпочитаете запустить Веб-документы на вашей собственной виртуальной машине, просмотрите также раздел APT repository (требуется VM с Debian8).
Этот способ самый простой для запуска Веб-документов на 64-битном Debian8. Вы можете разместить Веб-документы на том же сервере, где и IceWarp, или вы можете использовать другой виртуальный сервер только для Веб-документов. Вы можете использовать и опцию Docker (и иметь документы на одном сервере с IceWarp) или опцию преднастроенной VM (тогда Веб-документы будут на другом сервере).
ESXi VPS
Импорт VM
-
Скачайте zip-архив и распакуйте его
- Откройте vSphere клиент (или другое приложение, например, Workstation) и откройте OVF файл
- Откройте OVF файл и нажмите Далее
- Продолжите заполнять детали, нажмите Далее.
- Выберите название (папка будет предопределена), нажмите Далее
- Выберите тип диска, рекомендуем использовать настройки по умолчанию (lazy zeroed). Eager zeroed приведет к более медленному импортированию. Нажмите Далее или перейдите по ссылке, чтобы узнать больше о типах дисков
https://communities.vmware.com/message/2199576 - Проверьте настройки и выберите NPower on после запуска, нажмите Готово.
- Нажмите Закрыть после завершения запуска.
- Настройте автоматический запуск через VMware Workstation или в веб-интерфейсе vSphere - правый клик на hypervisor в списке и выберите "Manage AutoStart VMs..."
- Выберите поле слева для нужной машины в диалоговом окне Configure AutoStart.
There is no need to change anything in the image if DHCP is used. Just configure your DHCP server to assign the same IP address each time (IP reservation according to MAC)
Запустите виртуальную машину
Запустите VM (если ещё не была запущена), выбрав Запустить из VM Power меню.
Configure IceWarp server
- Obtain IP address assigned to installed machine. It should be visible on terminal (or SSH login screen) under the IceWarp logo. Open IceWarp Administration Console and insert IP address of iwds host into "WebDocuments server connection" input located at GroupWare -> WebClient -> WebDocuments tab
- Enable "WebDocuments Service"
- Check that the configuration is correct by clicking "Test Connection" button (image iwdoc-iwserver-setup.jpg). "Test Connection" check will also configure iwds service for interoperation with IceWarp Server.
- Save configuration changes by clicking on Apply button
Review TeamChat URL settings located at System -> Smartdiscover tab. URL must be reachable from iwds host. Also, IceWarp Server must be able to send out tcp packets to destination ports 8081, 80 or 443 on iwds host.
Импорт VM
Чтобы применить роль Hyper-V к вашему серверу, посмотрите инструкцию по ссылке: http://www.techrepublic.com/blog/data-center/set-up-your-first-windows-server-2012-hyper-vhost/Процесс почти одинаков на машине с Windows 2008R2.
- Скачайте zip-архив и распакуйте его (VM будет запущена в целевой папке после извлечения)
- Откройте Hyper-V менеджер (находится в Инструментах администрирования или Менеджере сервера).
- Нажмите "Импортировать виртуальную машину..." опция находится сверху в панели Действий (слева).
- Выберите расположение, куда вы извлекли образ VM и выберите корневую папку, содержащую VM файлы.
- Выберите настройки импорта, оба варианта подходят, но мы рекомендуем опцию "Copy the virtual machine (create new unique ID)". Нажмите Импорт.
The most current version of IceWarp Server is available for Windows and the most popular Linux systems.
Запустите виртуальную машину
Импорт добавит новую виртуальную машину в список всех гостевых машин. Вы можете также запустить ее, кликнув правой кнопкой на нужную машину или левой на кнопку Старт в панели действий. Прогресс запуска отображается в колонке Статус в Hyper-V менеджере.
Двойной клик по машине в списке вызовет VNC консоль, запущенная VM покажет логотип IceWarp с IP-адресом машины.
Настройка IceWarp сервера
- Obtain IP address assigned to installed machine. It should be visible on terminal (or SSH login screen) under the IceWarp logo. Open IceWarp Administration Console and insert IP address of iwds host into "WebDocuments server connection" input located at GroupWare -> WebClient -> WebDocuments tab
- Enable "WebDocuments Service"
- Check that the configuration is correct by clicking "Test Connection" button (image iwdoc-iwserver-setup.jpg). "Test Connection" check will also configure iwds service for interoperation with IceWarp Server.
- Save configuration changes by clicking on Apply button
Review TeamChat URL settings located at System -> Smartdiscover tab. URL must be reachable from iwds host. Also, IceWarp Server must be able to send out tcp packets to destination ports 8081, 80 or 443 on iwds host.
Open terminal emulator note. Commands need to be run under 'root' account. Add apt sources of icewarp and nodejs repository:
Check if your Debian is able to install 'contrib' and 'non-free'packages.
- you should find this line in /etc/apt/sources.list file
deb http://ftp.uk.debian.org/debian/ stretch main contrib non-free
Add apt sources of IceWarp and nodejs repository
echo "deb http://pkg.icewarp.com/debian icewarp gen2" > /etc/apt/sources.list.d/icewarp.list echo "deb http://deb.nodesource.com/node_8.x stretch main" > /etc/apt/sources.list.d/nodejs.list
- It is also possible to use https in the source links, but in that case apt-transport-https package HAS TO be installed first.
Install 'sudo' package
apt-get install sudo
Install 'dirmngr' - managing and downloading OpenPGP and X.509 certificates
apt-get install dirmngr
Install 'apt-transport-https' package to be able to use https source links
apt-get install apt-transport-https
Import signing keys into the apt keyring
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 948AD827 gpg: requesting key 948AD827 from hkp server keyserver.ubuntu.com gpg: key 4291FC89: public key "IceWarp Technology <sysadmin@icewarp.com>" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) apt-key adv --keyserver keyserver.ubuntu.com --recv 68576280 gpg: requesting key 68576280 from hkp server keyserver.ubuntu.com gpg: key 68576280: public key "NodeSource >gpg@nodesource.com<" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1)
Update apt database on your machine
It is required to have added system locale en_US.UTF-8, to add en_US.UTF-8 execute dpkg-reconfigure locales and check the checkbox for this locale apt-get update && apt-get upgrade ... ... Hit http://pkg.icewarp.com icewarp InRelease Hit https://deb.nodesource.com stretch InRelease Hit http://pkg.icewarp.com icewarp/gen1 amd64 Packages Get:14 https://deb.nodesource.com stretch/main amd64 Packages [964 B] Get:15 https://deb.nodesource.com stretch/main Translation-en_US [162 B] Get:16 https://deb.nodesource.com stretch/main Translation-en [162 B] Get:17 https://deb.nodesource.com stretch/main Translation-en_US [162 B] Get:18 https://deb.nodesource.com stretch/main Translation-en [162 B] Get:19 https://deb.nodesource.com stretch/main Translation-en_US [162 B] Get:20 https://deb.nodesource.com stretch/main Translation-en [162 B] Get:21 https://deb.nodesource.com stretch/main Translation-en_US [162 B] Get:22 https://deb.nodesource.com stretch/main Translation-en [162 B] Get:23 https://deb.nodesource.com stretch/main Translation-en_US [162 B] Get:24 https://deb.nodesource.com stretch/main Translation-en [162 B] Fetched xxx kB in xs (xx.x kB/s) Reading package lists... Done
Install icewarp-webdocuments package
apt-get install icewarp-webdocuments
This package will install all necessary dependencies, so after approximately twenty minutes you will have configured and running backend for your web documents. The last line of script output is actual IP address of iwds host which is needed in next step, you can however obtain IP address in any common way.
Configure IceWarp server
- Obtain IP address assigned to installed machine. It should be visible on terminal (or SSH login screen) under the IceWarp logo. Open IceWarp Administration Console and insert IP address of iwds host into "WebDocuments server connection" input located at GroupWare -> WebClient -> WebDocuments tab
- Enable "WebDocuments Service"
- Check that the configuration is correct by clicking "Test Connection" button (image iwdoc-iwserver-setup.jpg). "Test Connection" check will also configure iwds service for interoperation with IceWarp Server.
- Save configuration changes by clicking on Apply button
- Restart the Groupware service
Review TeamChat URL settings located at System -> Smartdiscover tab. URL must be reachable from iwds host. Also, IceWarp Server must be able to send out tcp packets to destination ports 8081, 80 or 443 on iwds host.