Install NextCloud on Ubuntu Server 16.04

From ICO wiki
Revision as of 14:46, 7 February 2017 by Ebarrier (talk | contribs) (Initi)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Author: Etienne Barrier

Last modified: 07.02.2017

Preliminary notes

This tutorial shows how to install NextCloud on Ubuntu 16.04 LTS Server, using MariaDB (as for database) and Apache 2 (as for webserver).

This tutorial does NOT show:

  • how to install/configure databases other than MariaDB (for example MySQL, PostgreSQL, etc.)
  • how to install/configure webservers other than Apache2 (for example Nginx)
  • how to use NextCloud

It is assumed that you are already familiar with the basics of Linux command line terminal commands. But this tutorial is made so that you can copy paste the commands to your terminal.

Versions used in this tutorial:

  • Icinga 2 (version: r2.5.4-1)
  • Ubuntu 16.04.1 LTS (Xenial)
  • PostgreSQL (version: 9.5.2)
  • Apache 2 (version: 2.4.18)
  • Php (version 7.0)

Depending on the versions you use, the commands and/or the path shown in this tutorial might be different.

All commands in this tutorial are made as root. You must be root or be able to use "sudo" command to install and configure Icinga.

The version of Icinga used (version 2) is referred sometimes as “Icinga” or “Icinga 2” accross the tutorial.

This tutorial is based on the following tutorials:

For any comments, please write to ebarrier{at]itcollege[dot)ee.

From the tutorial above: If MariaDB installation does not start after installing the package, run /usr/bin/mysql_secure_installation