Skip to content

Instantly share code, notes, and snippets.

@penzoiders
penzoiders / onlyoffice_documentserver_centos7.sh
Last active January 1, 2021 14:13
Install OnlyOffice Document Server on clean CentOS 7 base without asking anything + oneliner to get SSL cert from Let's Encrypt
#!/bin/bash
# Install OnlyOffice Document Server on clean CentOS 7 base (may not work on non fresh systems) without asking anything
# HOW TO: just open a root terminal and brutally copy/paste this gist to your shell.
# SSL READY: featuring also a lazy-boy-style oneliner to get SSL cert from Let's Encrypt ( see bottom of this gist )
curl -sL https://rpm.nodesource.com/setup_8.x | bash -
cat << EOF > /etc/yum.repos.d/nginx.repo
[nginx]