How to Deploy Nextcloud on Linode with Marketplace Apps

Traducciones al Español
Estamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.

Installing Nextcloud OCA

Nextcloud is an open source solution to file hosting and sharing. With Nextcloud, you can synchronize files from a local computer to the Linode server and share them with collaborators. Nextcloud’s customizable security features and intuitive user interface help to keep files safe and easy to manage.

Before You Begin

While a Domain Name is not strictly required, it is recommended. If you plan to use a domain name for the deployment, complete the following steps:

  1. Create a Linode API v4 access token. The Nextcloud Marketplace App needs a Linode API v4 token to create a domain name system (DNS) record for the Nextcloud instance.

  2. Register (purchase) a domain name.

  3. Set the domain name to use Linode’s name servers. You need to do this on the domain registrar’s website and then wait up to 24 hours for the change to take effect.

Deploy a NextCloud Marketplace App

Linode’s App Marketplace allows you to easily deploy software on a Linode using the Linode Cloud Manager. To access Linode’s App Marketplace:

  1. Log in to your Linode Cloud Manager account.

  2. From the Linode dashboard, click on the Marketplace button in the left-hand navigation menu.

  3. The Linode creation page appears, with the Marketplace tab pre-selected.

  4. Under the Select App section, select the app you would like to deploy:

    Select a Marketplace App to deploy

  5. Once you have selected the app, proceed to the app’s Options section and provide values for the required fields.

NextCloud Options

The name of the admin user for NextCloudThe administrator username for nextcloud. This will be used to log in to the application. Required.
The password for NextCloud’s admin userThe administrator password. This will be used to log in to the application. Required.
MySQL database root passwordThe root user’s password for the Nextcloud database. Required.
MySQL user passwordYour new MySQL user’s password. Required.

Advanced Options

The name of the MySQL databaseThe name to assign to the Nextcloud instance’s MySQL database. If no value is provided, the database is named nextcloud. Required.
The name of the MySQL user to createThe name of a new MySQL user to create. If no value is provided, the user is named nextcloud. Required.
The limited sudo user to be created for the LinodeThe username for a new limited user account with sudo privileges.
The password for the limited sudo userThe password for the new limited user account.
The SSH Public Key that will be used to access the LinodeA public key belonging to the user that accesses the Linode. If you do not have an authentication key-pair see the Securing Your Server guide for steps on creating one.
Disable root access over SSHDisable root user access for the Linode server.
Your Linode API tokenThe Linode API v4 token is required to create a domain name system (DNS) record for the Nextcloud instance. See the Getting Started with the Linode API guide to learn how to generate an API token.
The domain for the Linode’s DNS record (Requires API token)The hostname to assign to the Linode server. If no value is provided, the hostname is set as nextcloud.
The subdomain for the Linode’s DNS record (Requires API token)The domain name to use when creating a DNS record for the Linode. The Marketplace app creates a subdomain named nextcloud. You can access the Nextcloud instance using the nextcloud subdomain; for example,
Admin email for the NextCLoud serverThe email address to use for the Nextcloud instance’s admin user.
Would you like to use a free Let’s Encrypt SSL certificate? (Requires domain)Enable a free HTTPS CertBot SSL certificate on the Nextcloud domain. If you do not provide a value, no is set by default.

Linode Options

After providing the app specific options, provide configurations for the Linode server:

Select an ImageDebian 10 is currently the only image supported by the Nextcloud Marketplace App, and it is pre-selected on the Linode creation page. Required.
RegionThe region where you would like the Linode to reside. In general, it’s best to choose a location that is closest to you. For more information on choosing a DC, review the How to Choose a Data Center guide. You can also generate MTR reports for a deeper look at the network routes between the Linode server and each of our data centers. Required.
Linode PlanYour Linode’s hardware resources. You should select a Linode plan type based on the amount of data you would like to store on the Nextcloud instance. You can always resize your Linode to a different plan later if you feel you need to increase or decrease the system resources. Required.
Linode LabelThe name for the Linode server, which must be unique between all of the Linodes on your account. This name helps you identify the server in the Cloud Manager’s Dashboard. Required.
Add TagsA tag to help organize and group the Linode resources. Tags can be applied to Linodes, Block Storage Volumes, NodeBalancers, and Domains.
Root PasswordThe primary administrative password for the Linode instance. This password must be provided when you log in to the Linode using SSH. The password must meet the complexity strength validation requirements for a strong password. The root password can be used to perform any action on the server, so make it long, complex, and unique. Required.

When you’ve provided all required Linode Options, click the Create button.

Your Nextcloud app completes installation anywhere between 5-7 minutes after your Linode has finished provisioning. It is recommended that you wait the full 5-7 minutes prior to beginning the steps in the Getting Started after Deployment section of this guide. You may experience unexpected behavior if you begin those steps while your Nextcloud instance is still being deployed and setup by the Marketplace App on the Linode instance.

Getting Started after Deployment

Log Into Your Nextcloud Instance

  1. Open a browser window and navigate to the NextCloud instance’s domain. For example, enter into the browser, replacing with the value of your own domain. If you do not install the App with a domain name, the domain is the public IP address of the Linode appended with a forward slash and “nextcloud. For example,

  2. Enter the administrator username and password set during initial app creation in the presented form.

    Create a Nextcloud admin account.

  3. Once you have successfully logged in, the Nextcloud Hub page appears where you can upload files to the Nextcloud server.

    Nextcloud Hub

Next Steps

Currently, Linode does not manage software and systems updates for Marketplace Apps. It is up to the user to perform routine maintenance on software deployed in this fashion.

More Information

You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.

This page was originally published on

Create a Linode account to try this guide with a $100 credit.
This credit will be applied to any valid services used during your first 60 days.

Your Feedback Is Important

Let us know if this guide made it easy to get the answer you needed.

Join the conversation.
Read other comments or post your own below. Comments must be respectful, constructive, and relevant to the topic of the guide. Do not post external links or advertisements. Before posting, consider if your comment would be better addressed by contacting our Support team or asking on our Community Site.