tep 1: Install Docker on Ubuntu 16.04
https://www.linuxbabe.com/linux-server/install-onlyoffice-ubuntu-16-04#disqus_thread
Docker is included in Ubuntu software repository. However, to ensure that we have the latest version, we will have to install it from Docker’s APT repository. Fire up a terminal window (CTRL+ALT+T), then edit
sources.list
file with your favourite text editor such as nano.sudo nano /etc/apt/sources.list
Scroll down to the bottom of this file and add the following line.
deb https://apt.dockerproject.org/repo ubuntu-xenial main
Press
CTRL+O
to save the file, then CTRL+X
to exit. Next, run the following command to import the Docker GPG key to Ubuntu 16.04 system so that APT can verify package integrity during installation.sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
And because this repository uses HTTPS connection, which I recommend all software repositories should be using, we also need to install
apt-transport-https
and ca-certificates
package.sudo apt-get install apt-transport-https ca-certificates
Now finally, update the package index on your Ubuntu 16.04 system and install
docker-engine
.sudo apt update sudo apt install docker-engine
Check Docker version.
docker -v
Sample output
Docker version 17.05.0-ce, build 89658be
Once installed, the Docker daemon should be automatically started. You can check it with:
systemctl status docker
If it’s not running, then start the daemon with this command:
sudo systemctl start docker
And enable auto-start with system boot:
sudo systemctl enable docker
Step 2: Install OnlyOffice Community Edition Using Docke
http://noc-id.blogspot.co.id/2017/09/only-office-few-minutes.html
Installing ONLYOFFICE
Run Docker and execute the following command:
sudo docker run -i -t -d -p 80:80 onlyoffice/communityserver
This command will download the dockerfile from Docker Hub and launch the container running ONLYOFFICE and all the dependencies necessary for its work.
Configuring ONLYOFFICE
If you wish to run ONLYOFFICE on a different port, change the value of the -p command. For example, to run your office on 8080 port, use the following command:
sudo docker run -i -t -d -p 8080:80 onlyoffice/communityserver
Tidak ada komentar:
Posting Komentar