We use cookies to ensure that we give you the best experience on our website. By continuing your visit on the website, you consent to the use of the cookies.

웹문서 설치 가이드

LibreOffice 온라인 서비스와의 통합은 여러가지 방법에서 아이스워프 웹문서에 적용되었습니다. 그러나 이는 다른 독립서버 또는 분리된 가상 머신에 설치할 것을 추천합니다.

가상 머신에 미리 설정된 환경에서 웹문서를 실행할 수 있습니다. 자신의 가상 머신에 웹문서를 실행하려면 APT 저장소에 있는 VM을 선택하시면 됩니다. (Debian8에서는 VM 필수)

이 방법은 윈도우에서 웹문서를 설치하는 가장 쉬운 방법입니다. 자신의 가상 머신에 웹문서를 실행하려면 APT 저장소에 있는 VM을 선택하시면 됩니다. (Debian8에서는 VM 필수)

이 방법은 Debian8에서 웹문서를 설치하는 가장 쉬운 방법입니다. 웹문서는 아이스워프 동일서버 상에 설치가 가능합니다. 또한 별도의 다른 가상 서버 상에 설치할 수 있습니다. 도커 옵션을 선택하면 아이스워프 서버와 동일 서버에 설치하거나 미리 설정된 VM 파일을 사용하여 쉽게 별도 서버에 설치할 수 있습니다.

ESXi VPS

VM 가져오기

  • zip 파일로 압축된 이미지 파일을 다운로드하고 압축을 풉니다 (VM은 압축된 폴더를 지원하지 않습니다)
    다운로드
    다운로드 6.5
    다운로드 6.5
    다운로드 5.5
  • vSphere 클라이언트 열기 (또는 워크스테이션과 같은 관리도구) 그리고 OVF 탬플릿 채택
  • OVF 탬프릿 파일 열고 다음 클릭
  • 탬플릿을 기본으로 설정하고 다음 클릭
  • 이름 선택(폴더는 기본 설정)하고 다음 클릭
  • 디스크 형식 선택 - 기본 설정 추천(lazy zeroed). Eager zeroed는 느리게 데이터를 가져옴. 다음을 클릭하여 디스크 형식 정보 확인. https://communities.vmware.com/message/2199576
  • 설정 변경하고 채택 이후 NPower 켜기. 완료 클릭
  • 채택 후에 닫기 클릭 후 완료
  • VMware 워크스테이션을 통해 자동 시작으로 가상머신을 관리하거나 vSphere 웹 인터페이스 - 우클릭후 좌측 메뉴에서 하이퍼바이저 클릭. 그리고 "자동시작 VMs 관리" 클릭
  • 자동시작 설정에서 가져온 VM에서 OK 클릭하여 변경 적용

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 시작 메뉴 또는 대시보드에서 시작을 선택하여 가상 머신을 구동합니다

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-v-host/

다운로드
Win 2k8 – Win2012
Win 2k8 – Win2012
Win 2012 – 2012R2+
  • 압축된 zip 파일의 이미지 파일을 다운로드하고 압축을 풉니다 (VM은 압축 폴더에서)
  • Hyper-V 관리자 열기 (관리도구 또는 서버 관리자)
  • '가상 머신 가져오기' 클릭합니다 (좌측 상단의 처리 메뉴에서)
  • 압축된 VM 이미지 파일을 선택하고 VM 파일을 포함하는 루트 폴더를 선택합니다.
  • 가져오기 설정을 선택하고 두 옵션은 확인을, 그러나 가상 머신 복사 옵션을 추천합니다. (새 unique ID 생성). 그리고 가져오기 버튼을 클릭합니다.

The most current version of IceWarp Server is available for Windows and the most popular Linux systems.

가상 머신 시작

가져오기는 새로운 가상 머신을 모든 게스트 머신의 목록에 추가합니다. 어신에서 우측 클릭을 사용하여 시작하거나 처리 메뉴의 시작 버튼을 눌러 시작할 수 있습니다. 시작 과정은 Hyper-V 관리자의 상태 메뉴에서 보여집니다.

아이스워프 설정

  • 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/source.list file

deb http://ftp.uk.debian.org/debian/ [debian-version] main

- where [debian-version] is the version of currently installed release. e.g. in case of Debian Jessie, the source should look like:

deb http://ftp.uk.debian.org/debian/ jessie main contrib non-free

Add apt sources of IceWarp and nodejs repository

echo "deb http://pkg.icewarp.com/debian icewarp gen1" > /etc/apt/sources.list.d/icewarp.list
echo "deb http://deb.nodesource.com/node_6.x jessie 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.

Import signing keys into the apt keyring

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FA9FEC00614B1C40

gpg: requesting key 614B1C40 from hkp server keyserver.ubuntu.com
gpg: key E7FF3B9B: 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 jessie InRelease
Hit http://pkg.icewarp.com icewarp/gen1 amd64 Packages
Get:14 https://deb.nodesource.com jessie/main amd64 Packages [964 B]
Get:15 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:16 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:17 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:18 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:19 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:20 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:21 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:22 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:23 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:24 https://deb.nodesource.com jessie/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

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.

Install IW + WebDoc on the same Debian server

1. 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/ [debian-version] main
- where [debian-version] is the version of currently installed release. e.g. in case of Debian Jessie, the source should look like:
deb http://ftp.uk.debian.org/debian/ jessie main contrib non-free
2. Add apt sources of IceWarp and nodejs repository:
echo "deb [arch=amd64] http://pkg.icewarp.com/debian icewarp gen1" >
/etc/apt/sources.list.d/icewarp.list
echo "deb http://deb.nodesource.com/node_6.x jessie main" >
/etc/apt/sources.list.d/nodejs.list
3. Import signing keys into the apt keyring
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FA9FEC00614B1C40
apt-key adv --keyserver keyserver.ubuntu.com --recv 68576280
4. It is required to have added system locale en_US.UTF-8
dpkg-reconfigure locales
and check en_US.UTF-8 from the list of locales 5. Update apt database on your machine
apt-get update && apt-get upgrade
6. Stop all icewarp services (at least control during installation)
./icewarpd.sh --stop
7. Add 2nd interface with IP for nginx to your current network interface:
add following to /etc/network/interfaces (replace IP and netmask if needed)
auto eth0:1
iface eth0:1 inet static
  address 10.10.1.1
  netmask 255.255.255.0
to activate new interface run with sudo in terminal
ifup eth0:1
8. Install webdocuments
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.
9. Edit configuration file for nginx to run on added IP (comment IPV6 in case you use it for another service)
vi /etc/nginx/conf.d/onlyoffice-documentserver.conf
(replace 10.10.1.1 with your added IP address)
server {
  listen 10.10.1.1:80;
  #listen [::]:80 default_server;
  server_tokens off;
  
  include /etc/nginx/includes/onlyoffice-documentserver-*.conf;
}

server {
        listen 10.10.1.1:443 ssl spdy;
        #listen [::]:443 ssl spdy default_server;
        server_tokens off;
        root /usr/share/nginx/html;
        ........…
10. Restart nginx
/etc/init.d/nginx restart
11. Restart supervisor
service supervisor restart  
…if you will see an error, please run this command again
12. Bind icewarp services to desired IP
/opt/icewarp/tool.sh set system c_system_services_bindipaddress 192.168.1.1
...replace 192.168.1.1 with your IP
13. Start IW services
./icewarpd.sh --start
14. Configure IceWarp server
  • URL must be reachable from iwds host – proper A DNS record or record in /etc/hosts is nescessary.
  • IceWarp Server must be able to send out tcp packets to destination ports 8081, 80 or 443 on iwds host.
  • Open IceWarp Administration Console and insert IP address of iwds host (10.10.1.1 in our example) 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. "Test Connection" check will also configure iwds service for interoperation with IceWarp Server.
  • Save configuration changes by clicking on Apply button

Contact Us