You are currently viewing 
<span class="bsf-rt-reading-time"><span class="bsf-rt-display-label" prefix="Reading Time"></span> <span class="bsf-rt-display-time" reading_time="3"></span> <span class="bsf-rt-display-postfix" postfix="mins"></span></span><!-- .bsf-rt-reading-time -->How to install Nextcloud with SSL using snap

How to install Nextcloud with SSL using snap

Share the Tech Love

2020-04-27 11:50:49
www.techrepublic.com

If it’s good to get Nextcloud up and operating quick, and also you want built-in SSL assist, the perfect route for you may be putting in by way of snap packages.

nextcloudhero.jpg

Picture: Jack Wallen

I exploit Nextcloud for any cloud providers that aren’t tied to Google and it is labored like an absolute champ. However for many who do not need to undergo the common course of of putting in this highly effective on-premises cloud answer, what do you do?

You’ll be able to all the time flip to snap packages. With snap, Nextcloud will be put in in, properly, a snap. To make issues even higher, you may add SSL into the combo with ease. 

That is precisely what I will do, present you find out how to set up Nextcloud with SSL assist, on Ubuntu Server.

SEE: Serverless computing: A guide for IT leaders (TechRepublic Premium)

The one caveat to this technique is that you will be putting in a model of Nextcloud that is old-fashioned. As of this writing, the newest launch of Nextcloud is 18 and the snap model is 17.0.5. Nonetheless, in case you do not want the newest options (comparable to built-in video chat), and you actually solely want the usual cloud-based options, putting in Nextcloud this fashion is extremely simple.

In case you’d desire to get the newest model of Nextcloud, try my tutorial: 
How to install Nextcloud 18 on Ubuntu Server
.

What you will want

  • A operating, up to date occasion of Ubuntu Server–any launch that helps snap

  • A person with sudo privilege

The right way to set up Nextcloud with snap

The very first thing we should do is set up Nextcloud with snap. To do that, log in to your Ubuntu server and difficulty the command:

sudo snap set up nextcloud

This set up can take a little bit of time (lower than 5 minutes).

As soon as the set up completes, level a browser to:

http://SERVER_IP/

The place SERVER_IP is the IP deal with of your internet hosting server.

You may be greeted by the Create Admin Account window (Determine A).

Determine A

nextcloudsnap-finish.jpg

Creating an admin account in your snap-installed occasion of Nextcloud.

Kind a username and a password after which click on End Setup. 

As soon as the set up completes, you will be offered along with your newly-installed Nextcloud occasion.

The right way to set up SSL assist

Subsequent, we will add SSL assist to the set up. You’ll be able to go two routes with this—both set up an SSL certificates from Letsencrypt or set up a self-signed certificates. If that is for testing functions or inside use solely, you may add SSL self-signed assist with the command:

sudo nextcloud.enable-https self-signed

If you wish to use a trusted certificates, and your Nextcloud occasion is WAN-facing (with a sound area title), you may set up SSL with Letsencrypt with the command:

sudo nextcloud.enable-https lets-encrypt

As soon as both of these instructions full, Apache will restart and it’s best to have the ability to attain Nextcloud with the deal with:

https://SERVER_IP

The place SERVER_IP is the IP deal with of your internet hosting server.

And that is all there may be to putting in Nextcloud with SSL utilizing snap. Certainly, that is the quickest technique of getting Nextcloud up and operating.

Additionally see



Supply Hyperlink