Extras: Nextcloud - dibrz/ARMBand GitHub Wiki
Nextcloud is a free, open-source, self-hosted file sharing solution, that functions similarly to Dropbox.
1. URL
- To access Nextcloud, visit https://nextcloud.yourdomain.com
2. Initial Setup
1. Domain
-
See Adding a Subdomain on how to add the subdomain
nextcloud
to your DNS provider. -
Note: You can skip this step if you are using Cloudflare with Cloudbox.
2. Install
-
Run the following commands:
cd ~/cloudbox/ sudo ansible-playbook cloudbox.yml --tags nextcloud
3. Setup Wizard
-
Visit https://nextcloud.yourdomain.com
-
Under
Create an admin account
, set the following:-
Username: fill in your preferred admin username.
-
Password: fill in your preferred admin password.
-
-
Click the
Storage & database
link. -
Under
data folder
, the path below should already be filled in./data
-
Select
MySQL/MariaDB
underConfigure the database
. -
Fill in the following:
-
Database user:
root
-
Database password:
password321
-
Database name:
nextcloud
-
Database host:
mariadb:3306
-
-
Click
Finish setup
. -
You will now be logged into Nextcloud.
4. Adding Folder(s)
-
Click the icon at the top right and select "Apps".
-
Enable
External storage support
. Type in your admin password to confirm. -
Click the icon at the top right and select "Settings".
-
Click "External storages" under "Administration".
-
For each folder you want to add, set the following:
-
Folder name: your preference.
-
External storage:
local
. -
Authentication: your preference (default is
None
). -
Configuration:
/mnt/unionfs/Media/path/to/folder
(make sure this path already exists; you could even share your entire/mnt/unionfs/Media/
path). -
Available for: your preference (default is blank - for all users).
-
Press the checkmark to save.
-