TNS
VOXPOP
What news from AWS re:Invent last week will have the most impact on you?
Amazon Q, an AI chatbot for explaining how AWS works.
0%
Super-fast S3 Express storage.
0%
New Graviton 4 processor instances.
0%
Emily Freeman leaving AWS.
0%
I don't use AWS, so none of this will affect me.
0%
Operations

Deploy the Latest Version of the Nextcloud with Just Two Commands

For those who found Nextcloud is too challenging to install, the project developers have created an All-In-One solution that makes deploying Nextcloud incredibly simple.
Sep 30th, 2023 6:00am by
Featued image for: Deploy the Latest Version of the Nextcloud with Just Two Commands
Feature image via Nextcloud.

Nextcloud is one of the most popular on-prem cloud platforms on the market. Recently, the project team released Nextcloud Hub 6, which includes a built-in artificial intelligence solution, which (according to the developers) is a local-only AI tool.

For those who believe Nextcloud is too challenging (or time-consuming) to install, you’re in luck, as the developers have created an All-In-One solution that makes deploying Nextcloud incredibly simple. With this particular option, you could deploy Nextcloud for every department in your business and not break a sweat.

So, if having the ability to deploy a full-on cloud solution for your home or business in minutes sounds like an appealing option, read on.

For those who still aren’t sold on Nextcloud, consider this. With Nextcloud you can enjoy features (available within your LAN) such as:

  • Storage and real-time collaboration for documents, photos, videos, audio, and more.
  • Local and/or server-side search.
  • Calendars.
  • Audio and video chats.
  • Push notifications.
  • Media streaming.
  • File sharing.
  • File comments.
  • End-to-end encryption.
  • Fingerprint locking.
  • File/folder monitoring.
  • And much more.

You can think of Nextcloud as an on-prem replacement for Google Workspace.

It really is that good.

Even better, the installation of Nextcloud has been made incredibly simple with the All-In-One Docker image.

Let’s see how this is done.

What You’ll Need

I’m going to demonstrate this on Ubuntu Server 22.04 but you can use any Linux distribution that supports Docker. Besides a running instance of Linux, you’ll also need a user with sudo privilege. For AIO to function properly, you’ll also need a valid domain and certificate.

That’s it. Roll up your sleeves and flex your fingers, it’s time to type (or copy/paste).

Install Docker

There’s a very simple way to install Docker. Now, normally, I much prefer going through the manual steps for installing Docker (I’ll outline in a moment). But in the spirit of getting Nextcloud up and running very quickly, let’s run a handy script that will take care of the installation for you.

Log into your Linux server and install Docker with the following command:


The above command will take a few minutes to complete. When it finishes, it will return your prompt, at which point you’ll want to add your user to the docker group with:


Log out and log back in for the changes to take effect.

If you’re like me, you might want to handle the installation of Docker manually. To do that, issue the following commands:

Log out and log back in so the changes take effect.

Now that Docker is installed, it’s time to deploy the Nextcloud All-In-One solution.

Deploying Nextcloud AIO

Back at your terminal window, you can install the Nextcloud AIO solution with the following command:


If you’d rather have the command broken down, line by line (so it’s easier to examine), it would look like this:


When this command finishes, open a web browser that’s connected to the same network and point it to https://SERVER:8080 (where SERVER is the IP address of the hosting server). You’ll be greeted by the AIO setup wizard (Figure 1), which includes a password that you might want to copy (as you’ll need it).

Figure 1

Click Open Nextcloud AIO login and, when prompted (Figure 2), type the password that was generated for you.

Figure 2: The Nextcloud AIO login.

Once you’ve reached this point, you must type your domain in the New AIO Instance section, and click Submit Domain (Figure 3).

Figure 3: Type your domain and hit Submit Domain to finish up the installation.

You’ll also need to open the following ports in your firewall for Nextcloud AIO to function properly:

  • 80
  • 8080
  • 443
  • 8443
  • 3478 (TCP/UDP)

With all of that taken care of, you should find yourself with a full-blown cloud solution that can help make your organization more productive and collaborative.

Group Created with Sketch.
TNS owner Insight Partners is an investor in: Docker.
THE NEW STACK UPDATE A newsletter digest of the week’s most important stories & analyses.