I have a distro based on Debian Jessie running on an ARM device.
How can I install a simple, secure ownCloud 8.2.2 installation that uses NGINX and SQLite without installing Apache and MySQL?
The default dependencies of the
owncloud package in Debian include the php mysql binding and apache, but there are alternatives for sqlite and other webservers.
If you do:
apt install owncloud php5-sqlite nginx apache2-
then apt will notice you're installing the
php5-sqlite package, decide that those satisfy the dependencies of the
owncloud package, and not pull in mysql or apache2.
Unfortunately, something does indeed still pull in apache, so we add an explicit instruction to apt that it should not do that, with the
apache2- bit. Notice the dash ("-") at the end; that tells apt to remove a package, or to not install it if it hasn't been installed yet.
Alternatively, you can also install the
php5-sqlite first, configure them (if needed), and only then (after you've brought those up) install the
Owncloud is providing an own documentation for manual installations it works fine with Debian and i have never problems installing it... work with the requirements, and then start an manual installation ;)