NextCloud on LAMP on Stretch on Synology DS918+: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
# Install the *nix distro, WITHOUT any fancy GUI Desktop - cli is how we rock. | # Install the *nix distro, WITHOUT any fancy GUI Desktop - cli is how we rock. | ||
# Follow the "[https://docs.nextcloud.com/server/13/admin_manual/installation/source_installation.html#example-installation-on-ubuntu-16-04-lts-server Example installation on Ubuntu 16.04 LTS server] '''BUT DO NOT''' install using 'Snap image. | # Follow the "[https://docs.nextcloud.com/server/13/admin_manual/installation/source_installation.html#example-installation-on-ubuntu-16-04-lts-server Example installation on Ubuntu 16.04 LTS server] '''BUT DO NOT''' install using 'Snap image. | ||
## To install the database, execute these commands as root: | |||
<blockquote><pre>mysql -uroot -p</pre> | <blockquote><pre>mysql -uroot -p</pre> | ||
Revision as of 16:53, 6 May 2018
- Download a bootable installation image (iso type) for the *nix flavour of your liking - i favor Debian.
- Save it on your DS plus series Synology NAS I got a DS918+ with 16GB RAM :-P
- Create a Virtual Machine in the Virtual Machine Manager on your DS plus series Synology NAS
- Minimum 1 CPU ;-) 1 Gb RAM and As much storage as you would like your NextCloud Server to be able to share to the future NextCloud users.
- Make the new virtual machine boot on the ISO you downloaded in step 1.
- Install the *nix distro, WITHOUT any fancy GUI Desktop - cli is how we rock.
- Follow the "Example installation on Ubuntu 16.04 LTS server BUT DO NOT install using 'Snap image.
- To install the database, execute these commands as root:
mysql -uroot -pThen a mysql> or MariaDB [root]> prompt will appear. Now enter the following lines and confirm them with the enter key:
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password'; CREATE DATABASE IF NOT EXISTS nextcloud; GRANT ALL PRIVILEGES ON nextcloud.* TO 'username'@'localhost' IDENTIFIED BY 'password';Quit the mysql> or MariaDB [root]> prompt by entering:
quit