LocalHake

Tutorial

Nextcloud - TurnKey Linux

A comprehensive guide to installing Nextcloud via TurnKey Linux.

Hake HardwarePublished Updated ~8 minintermediate

This post contains paid links (affiliate) — how that works.


▶ Watch this build on YouTube
Contents

Overview

This wiki covers how to install Nextcloud using Proxmox and TurnKey Linux (TKL). There are multiple ways in which Nextcloud can be installed, but this wiki will focus on TKL.

Download TKL Nextcloud

The first step is to Download TKL Nextcloud to your ISO images in Proxmox. Open up Proxmox and navigate to local disk in the Server View. Then select ISO Images, and then Upload

Proxmox local storage with ISO Images and Download from URL button

Now copy the link for the ISO image on the TKL Nextcloud page.

TurnKey Linux Nextcloud ISO download page

Cancel the download, and then copy the direct link.

TurnKey download page with direct link to copy

With the link copied, paste the URL into the URL: input and click Query URL. Then click Download.

Proxmox Download from URL dialog with ISO URL pasted

The download will begin, and once it is complete you will see TASK OK.

Proxmox task output showing TASK OK

You should now see the ISO available in the ISO Images section.

Proxmox ISO Images list with TurnKey Nextcloud ISO

Deploy the VM

Now that the ISO is available, the VM can be launched. Begin by clicking the Create VM button at the top right.

Proxmox Create VM button

Set the VM ID and Name to your liking. Then click Next.

Proxmox Create VM General tab

For storage, either leave the default local or select the appropriate disk. Next, select the ISO that was just downloaded.

Proxmox Create VM OS tab with TurnKey ISO selected

Select q35 (recommended). The BIOS must be left to SeaBIOS as UEFI will not work with TKL. Optionally select the Qemu Agent (recommended).

Proxmox Create VM System tab with SeaBIOS and Qemu Agent

Under disks, 32GB is sufficient for the OS and Nextcloud installation. Enable Discard if using an SSD.

Proxmox Create VM Disks tab with 32GB

Typically 2 cores should be sufficient. Select host as the Type.

Proxmox Create VM CPU tab with 2 cores

Set at least 4096MiB of RAM, with 8192MiB for smoother performance with apps.

Proxmox Create VM Memory tab with 8192 MiB

Leave the Network options as default. Finally, click Finish and wait for the VM to be created. Once created, click on the VM and go to the Console.

Proxmox VM with Console tab selected

Install Turnkey Linux

To start the installation, click Start Now to start the VM.

Proxmox Start Now button

The VM will boot up Turnkey Linux. Select Install to hard disk

TurnKey boot menu with Install to hard disk

Choose Guided - use entire disk and set up LVM. Then tab over to Yes when asked to write the changes. When prompted for volume group size, type in max.

Debian Installer volume group size set to max

Tab to Yes and press enter to write the changes to disk. Wait for the installation to complete. When prompted to install the GRUB boot loader, select Yes. Once GRUB is installed, select the option to Reboot system.

Once TKL has booted, there will be multiple prompts to create passwords. It is recommended to save them.

When prompted to set the domain for Nextcloud, identify the IP address for the Nextcloud instance, type it in and press enter.

TurnKey Nextcloud Domain dialog with IP address entered

Skip creation of an API key and optionally set an Email. Install the security updates before proceeding. Then reboot the system.

TurnKey Nextcloud Appliance Services summary showing access URLs

Nextcloud is now installed and running! It is highly recommended to check out the following topics:

  1. Post Install Steps
  2. Email Server
  3. Adding Additional Storage
  4. Installing Nextcloud Office

Gear used