Previous Page

Optimist - 23 / 03 / 2025

Nextcloud .onion server

In this tutorial we're going to cover how you can install an .onion only Nextcloud instance, it is a FOSS software meant to replace popular websites like google drive, which can be ideal to make sure that your files are backed up somewhere, all while preserving anonymity.

Serverside Setup

follow the other tutorial that talks about how to setup a .onion domain here: http://blog.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/opsec/torwebsite/index.html

Then just install nextcloud... wait a bit, and then check if it worked

Boom that worked!

Configuring Nextcloud



Now that we have the domain name pointing to the public ip address of the nextcloud server,just ssh into your server once more and run the following commands: do some stuff to make it work, idk man


[ Wonderland ] [ /dev/pts/3 ] [~]
→ /var/snap/nextcloud/common/nextcloud/data# PATH=$PATH:/snap/bin/

derland ] [ /dev/pts/3 ] [~]
r/snap/nextcloud/common/nextcloud/data# which ne
derland ] [ /dev/pts/3 ] [~]
ap/bin/nextcloud.occ config:system:set overwritep"


root@cloud:~# sudo snap refresh nextcloud
snap "nextcloud" has no updates available

root@cloud:~# crontab -e

[...]

0 0 * * * /usr/bin/snap refresh nextcloud

:wq


--2022-12-17 20:34:07--  https://github.com/cronitorio/cronitor-cli/releases/download/28.8/linux_amd64.tar.gz
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githu1217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221217T193407Z&X-Amz-Expires=300&X-Amz-Signature=1bf21514b0120917047558bc2d6de9d2f900d34dba04cfd3d30838b59ae4701e&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=274548350&response-content-disposition=attachment%3B%20filename%3Dlinux_amd64.tar.gz&response-content-type=application%2Foctet-stream [following]
--2022-12-17 20:34:07--  https:CSVEH53A%2F20221217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221217T193407Z&X-Amz-Expires=300&X-Amz-Signature=1bf21514b0120917047558bc2d6de9d2f900d34dba04cfd3d30838b59ae4701e&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=274548350&response-content-disposition=attachment%3B%20filename%3Dlinux_amd64.tar.gz&response-content-type=application%2Foctet-stream
Resolving objects.githubusercon
Connecting to objects.githubuse
HTTP request sent, awaiting res
Length: 6326130 (6.0M) [applica
Saving to: ‘linux_amd64.tar.gz’

linux_amd64.tar.gz                                           100%[===========================================================================================================================================>]   6.03M  6.47MB/s    in 0.9s

2022-12-17 20:34:09 (6.47 MB/s) - ‘linux_amd64.tar.gz’ saved [6326130/6326130]

root@cloud:~# sudo tar xvf linux_amd64.tar.gz -C /usr/bin/
cronitor
root@cloud:~# sudo cronitor configure --api-key 1234567890

Configuration File:
/etc/cronitor/cronitor.json
Off
root@cloud:~# cronitor select

✔ /usr/bin/snap refresh nextcloud
extcloud



51s
BLAM no need ot check, i know it worked.

Clientside Setup



Now you can install the official nextcloud client here

And that's it ! You now have a local folder that is synchronized with your nextcloud instance.

cya next time

Optimism

Until there is something more.



COPYRIGHT ALL RIGHTS RESERVED I AINT WORKING FOR FREE!

About optimist

Donate XMR: 8AUYjhQeG3D5aodJDtqG499N5jXXM71gYKD8LgSsFB9BUV1o7muLv3DXHoydRTK4SZaaUBq4EAUqpZHLrX2VZLH71Jrd9k8


Contact: nihilist@contact.nowhere.moe (PGP)