documentation:onlyoffice
Differences
This shows you the differences between two versions of the page.
| documentation:onlyoffice [2020/02/01 12:35] – external edit 127.0.0.1 | documentation:onlyoffice [2020/02/02 14:37] (current) – removed lucid | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ONLYOFFICE ====== | ||
| - | Only Office is an open source office suite capable of opening Microsoft Office format documents, spreadsheets, | ||
| - | Update apt and install some dependecies. | ||
| - | sudo apt update;sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y | ||
| - | Download and install the latest version of docker. | ||
| - | curl -fsSL https:// | ||
| - | sudo apt-key fingerprint 0EBFCD88 | ||
| - | sudo add-apt-repository "deb [arch=amd64] https:// | ||
| - | sudo apt-get update | ||
| - | sudo apt-get install docker-ce docker-ce-cli containerd.io | ||
| - | sudo add-apt-repository ppa: | ||
| - | Download and install the Let's Encrypt certbot. | ||
| - | sudo apt search certbot | ||
| - | sudo apt install certbot python3-certbot | ||
| - | Generate the SSL certificate and a Diffie-Hellman key. | ||
| - | sudo certbot certonly | ||
| - | openssl dhparam -out dhparam.pem 2048 | ||
| - | Create and start the ONLYOFFICE Docker container, the option specified creates only the document server. Removing the option will install the full ONLYOFFICE suite. | ||
| - | sudo docker run -i -t -d -p 443:443 --restart=always -v / | ||
| - | Navigate to the http:// | ||
| - | |||
| - | A folder needs to be created for the Docker container to be able to access the certs. The files will then need to be copied and the permissions changed on the public key for security. | ||
| - | sudo mkdir -p / | ||
| - | sudo cp / | ||
| - | sudo cp / | ||
| - | sudo cp dhparam.pem / | ||
| - | sudo chmod 400 / | ||
| - | Restart the Docker container after obtaining the image or container id. FIXME | ||
| - | sudo docker ps -a | ||
| - | sudo docker image ls | ||
| - | sudo docker restart < | ||
| - | Navigate to https:// | ||
| - | Reboot to ensure everything is working | ||
| - | sudo reboot | ||
documentation/onlyoffice.1580560512.txt.gz · Last modified: 2021/06/18 16:36 (external edit)