IT in Education

Installing Nextcloud

nextcloudThis article describes the initial procedure for setting up Nextcloud.  It assumes that you already have a web server, with a domain (eg cloud.yourdomain.com).  I used Nextcloud version 19 for this article.


Archive File installation

You are recommended to install using the archive file.

  1. Start by visiting the main Nextcloud site.
  2. Click the Get Nextcloud > Server packages button.
  3. Select the Archive file tab.
  4. Click the Download Nextcloud button.
  5. Upload and extract this file to the root directory on your web server.

Note that if you'd like to install a legacy version, browse to https://download.nextcloud.com/server/releases/ and select your required version.

Web Installer

This is an alternative process for installing Nextcloud using the web installer.

  1. Start by visiting the main Nextcloud site.
  2. Click the Get Nextcloud button.
  3. Click Download in the Get Nextcloud Server section.
  4. Select the Web installer tab.
  5. Right-click and download the setup-nextcloud.php file.
  6. Upload this file to the root directory on your web server.
  7. Rename the setup-nextcloud.php file to index.php.
  8. You might also need to make sure that the extracted files are owned by www-data:www-data
sudo chown -R www-data:www-data owncloud/

S3 Compatible Primary Storage

If you'd like to use Wasabi as Primary storage, now is the time to configure it.

Installation Wizard

Use your browser to securely visit your domain (eg. browse to https://nextcloud.yourdomain.com).

Note that steps 1 and 2 below are only applicable if you're using the web installer method.

  1. Click Next.
  2. Enter a single dot to install in the current directory.
    1. Installation files will now be downloaded from the Nextcloud repository.
  3. Enter an initial Username and Password for your admin account.
  4. Leave the data folder with its default setting.
  5. Enter your database details (eg. name, user and password).
  6. Deselect the Recommended apps option.
  7. Click Finish Setup.

You should now see the welcome screen.

Configuration

You are now ready to start configuring your new Nextcloud repository.


Thanks for visiting,
Steven