




























Are you a Linux user looking to install the Nextcloud All-in-One (AIO) Docker image? In this blog, we walk you through the steps, just like we did in our AIO Guide for Windows 10 & 11.
Nextcloud All-in-One is a Docker-based project that allows you to install just one container that does the heavy lifting of creating and managing all containers needed for a complete Nextcloud installation. It provides easy deployment and maintenance of Nextcloud’s features, a user-friendly interface, stress-free updates, and a straightforward approach for getting everything to work out of the box.
Nextcloud AIO includes:
With using Nextcloud All-in-One compared to the other installation methods, I found the performance is substantially better, especially on an office server.
Brandon Hopkins
Founder at TechHut Media
Read on for a clear and easy-to-follow step-by-step guide for how to set up Nextcloud AIO for a Linux PC.
The following instructions are valid for a Linux PC (e.g., with Ubuntu 22.04 LTS) with at least 4GB of RAM and two cores.
You will need to obtain a public domain and be able to open ports for the guide to work properly. Make sure that you are not behind CGNAT.
Please note that the instructions are for a setup without a web server or reverse proxy (like Apache, nginx, etc.) already being in place. If you want to run it behind a web server or reverse proxy, check the corresponding documentation page.
curl -fsSL https://get.docker.com | sudo sh
2. If you need IPv6 support, follow the instructions for how to enable IPv6 for Docker.
3. Now, open the terminal and start AIO with this command:
# For Linux and without a web server or reverse proxy (like Apache, Nginx and else) already in place:
sudo docker run \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 80:80 \
--publish 8080:8080 \
--publish 8443:8443 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
ghcr.io/nextcloud-releases/all-in-one:latest
Note: If you’d like to store the files in a different location than the default Docker volume, pleaser refer to the instructions on how to change the default location of Nextcloud’s Datadir.
4. Next, you can open the AIO interface on https://localhost:8080 or https://the.servers.ip.address:8080.
It’s important to always use an IP address if you access this port, and not a domain. Otherwise, you risk that HSTS might block access to it later.
You need to accept the self-signed certificate. Then you should see this:

Alternatively, if ports 80 and 8443 should be opened in your firewall/router and a domain is configured to point to your server, you can reach the AIO interface with a valid certificate using https://your-domain.com:8443.
5. Click on “Open Nextcloud AIO login” and paste your password:

6. Then, you should see the AIO interface:

7. Next, type in your public domain that you’ve got before following this guide. The interface should help you figure out the exact steps. (Set up DDNS for your domain to point to your public IP, port-forward at least ports 443/tcp, 3478/udp, and 3478/tcp to your Linux machine.)
8. After you’ve set it up correctly, it should allow you to pass to the next step, where you can configure the wanted optional add-ons and the timezone, and click on “Start containers” to download and start them.

9. At this point, you should see a spinner that will take a while depending on your internet speed. It should take around 10 minutes or more.

10. When all containers are downloaded and started, you will see this screen showing the containers still starting, which will do the first installation for you:

11. When everything is done, you should see this screen:

12. Finally, you can now open your new Nextcloud instance and log in with the given admin credentials.
That’s it! Everything is set and ready for production.
This Nextcloud AIO manual was developed by Simon Lindner, Software Engineer at Nextcloud.
You can check out our podcast interview with Simon, in which he explains more about his interest in making Nextcloud and open source software accessible to everyone.
Make sure to read our guide on how to set up Community Containers, developed by the Nextcloud community, for your Nextcloud instance. With these useful features, including Caddy, Fail2ban, and Pi-hole, you can enhance your Nextcloud AIO in a couple of clicks.
If you’re a Windows user and would like to access the power of Nextcloud AIO, check out our Guide to Nextcloud All-in-One on Windows 10 & 11.
Join the Nextcloud Special Event, featuring the release of Nextcloud Hub 26 Winter, on 18 February and see how easy it can be regain data control.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。