May 2017
Beginner
552 pages
28h 47m
English
The following steps will install the LAMP stack on a Ubuntu 16.10 system. Similar commands will work for any Debian-based system. Unfortunately, package names sometimes vary between releases:
apt-get install apache2
apt-get install mysql-server php-mysql
OwnCloud requires security beyond default settings. The mysql_secure_installation script will configure MySQL properly:
/usr/bin/mysql_secure_installation
Configure the OwnCloud repository:
curl \ https://download.owncloud.org/download/repositories/stable/ \ Ubuntu_16.10/Release.key/'| sudo tee \ /etc/apt/sources.list.d/owncloud.list apt-get update
Once the repository is in place, apt will install and start the server:
apt-get install owncloud