SSLCertificateKeyFile /etc/letsencrypt/live//privkey.pem SSLCertificateFile /etc/letsencrypt/live//fullchain.pem # SSL configuration, you may want to take the easy route instead and use Lets Encrypt! In the nano window that opened, slowly erase it inside and insert the following (make changes before):
![collabora online server nextcloud collabora online server nextcloud](https://docs.cloudron.io/img/nextcloud-collabora.png)
The Step 11 created another new conf file, like we did in step 8.īelow I give you the command, change it to your own subdomain (but be careful not to change -le-ssl): Now we will create the LetsEncrypt-Certificate (change the subdomain before giving the command):Ĭertbot –authenticator standalone –installer apache -d –pre-hook “service apache2 stop” –post-hook “service apache2 start”Īnd ATTENTION, once he asks us area etc we will answer and just go to the technical part and ask us Press CTRL + X, then Y and Enter to close and save the conf document you just createdĪnd right after: systemctl reload apache2 # after it has been globally disabled with “a2disconf”. # following line enables the CGI configuration for this host only # include a line for only one particular virtual host. # enabled or disabled at a global level, it is possible to # For most configuration files from conf-available/, which are # It is also possible to configure the loglevel for particularĬustomLog $/access.log combined # Available loglevels: trace8, …, trace1, debug, info, notice, warn, # However, you must set it for any further virtual host explicitly. # value is not decisive as it is used as a last resort host regardless. For the default virtual host (this file) this # specifies what hostname must appear in the request’s Host: header to In the context of virtual hosts, the ServerName # The ServerName directive sets the request scheme, hostname and port that In the nano window that will open, paste the following (by changing the subdomain):
#Collabora online server nextcloud install
(if the nano program is not installed, first write: apt-get install nano) (is meant before you give the command to replace the subdomain) We will now create the vhost that will connect your subdomain to the server:
![collabora online server nextcloud collabora online server nextcloud](https://project.dancier.net/documentation/howto/nextcloud/nextcloud-configure-collabora-c.png)
(WARNING, IT WILL NOT SUBDOMAIN YOUR CLOUD, BUT DOMAIN YOU HAVE YOUR CLOUD)ĭocker run -t -d -p 127.0.0.1:9980:9980 -e ‘domain=nikos\\.com’ -e ‘username=user’ -e ‘password=484848’ –cap-add MKNOD collabora/code (also replace the user with the username you want and definitely the password) (replace the command with your own domain, eg. Go to the console and write the following command
![collabora online server nextcloud collabora online server nextcloud](https://www.linuxbabe.com/wp-content/uploads/2016/11/collabora-online-server-daemon.png)
, if it is on google, Google gives it external IP directly) (if your server is personal, open ports on the router and find the external ip from Its A record should point to the external IP of your server, eg 48.32.144.12 etc. Once you make the subdomain from your dns service (on papaki, cloudflare, goddaddy, anywhere) Step 3: After logging in we give the following commands (where we ask, press y and enter)Īdministrator rights first (otherwise every command with sudo in front): sudo suĪpt-get install software-properties-commonįor this step, you will first need to make a subdomain of your address.įor example if your address is the subdomain will be Step 2: We start our server (SSH connection ie client or browser if google) N1-standard-1 (1 vcpu, 3.75 GB memory), (us-west1 (Oregon), ubuntu 19.04 minimum) On the Compute Engine / VM Instances tab, we are creating a new instance with the following specifications: Physical Machine also with the proper ports open, or a Google VM Instance,įor that go to (create an account if you don’t have one, you can have a trial) and We are preparing a new ubuntu server 19.04 either on Virtual Machine with the appropriate ports open, or on Step 1: Once we have set up our cloud and installed the plugin for collabora office interface Please do not publish this article without my permission.