Senin, 03 April 2017

OnllyOffice Integrated document


THURSDAY, APRIL 28, 2016

Install OnlyOffice Community Server integrated with Document and Mail Servers (Using Docker)

System Requirements:


Software requirements:
  • Ubuntu 12.04 (LTS) (64-bit) or later ;
  • Fedora 20 (64-bit) or later ;
  • CoreOS 647.0.0 (64-bit) or later ;
  • Docker version 1.4.1 or later.
Hardware requirements:
  • RAM: 4GB or more ;
  • Processor: 2 Core or better ;
  • HDD: at least 40GB of free disk space.


Installing Prerequisites:

To deploy and run ONLYOFFICE Online Editors, you will need Docker v.1.4.1 or later installed on your machine.
To install Docker on Ubuntu and CentOS, refer the following link.
https://docs.docker.com/engine/installation/
Next, We have to install Docker compose.
First, install ‘pip; package using command:
sudo apt-get install python-pip
In Fedora:
sudo yum install python-pip
Now, install docker-compose package using command:
sudo pip install -U docker-compose
That’s it. To verify docker-compose installation, run:
docker-compose --version
Sample output:
docker-compose 1.2.0

Install ONLYOFFICE Free Edition:

Now, Install the whole ONLYOFFICE Free Edition at once using the following commands:
wget https://raw.githubusercontent.com/ONLYOFFICE/Docker-CommunityServer/master/docker-compose.yml
sudo docker-compose up -d
Sample output:
Creating sk_documentserver_1...
Pulling image onlyoffice/documentserver:latest...
Pulling repository onlyoffice/documentserver
ddf4d6a0999b: Pulling dependent layers
e9e06b06e14c: Downloading    20 MB
.
.
.
Docker will pull all three servers (Community, Document, and Mail) along with all dependencies. This will take a while depending upon your Internet connection speed.
After installing all Docker images, verify them using command:
sudo docker images
Sample output:
REPOSITORY                   TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
onlyoffice/communityserver   latest              c9658f59b752        11 days ago         1.183 GB
onlyoffice/documentserver    latest              ddf4d6a0999b        2 weeks ago         1.837 GB
onlyoffice/mailserver        latest              47ca4c54969c        5 weeks ago         1.22 GB
As you see above, the three Docker images have been downloaded.
STEP 1: Installing ONLYOFFICE Document Server.
sudo docker run -i -t -d  --name onlyoffice-document-server onlyoffice/documentserver

STEP 2: Installing ONLYOFFICE Mail Server.
For the mail server correct work you need to specify its hostname 'yourdomain.com'. 
sudo docker run --privileged -i -t -d --name onlyoffice-mail-server -p 25:25 -p 143:143 -p 587:587 \
-h yourdomain.com onlyoffice/mailserver

STEP 3: Installing ONLYOFFICE Community Server
sudo docker run -i -t -d -p 80:80 -p 5222:5222 -p 443:443 \
--link onlyoffice-mail-server:mail_server \
--link onlyoffice-document-server:document_server \
onlyoffice/communityserver

Access ONLYOFFICE Web console

To open your ONLYOFFICE Document server, enter localhost (http://127.0.0.1 or http://IP-address) in the address bar of your browser.

Tidak ada komentar:

Posting Komentar