Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
nj1337
Published © MIT

NextCloud Server on Raspberry Pi

Use a Raspberry Pi with NextCloud to store data and synchronize them.

BeginnerFull instructions provided3 hours58,293
NextCloud Server on Raspberry Pi

Things used in this project

Hardware components

Raspberry Pi 3B + or RPi 4
the case has been made for RPi3 B
×1
Sata to USB
Adapter cable
×1
M3 screw
×4
30 mm fan with M3 screw
×1
Hard Drive 2.5"
mine is 2 Tb
×1
a 3D printer
to print the case
×1
green led
standard led
×1

Software apps and online services

Raspbian
Raspberry Pi Raspbian
nextcloud

Story

Read more

Custom parts and enclosures

Raspebrry_3B_bottom.stl

Raspebrry_3B_top.stl

Code

Code snippet #1

Plain text
<VirtualHost *:80>
ServerAdmin webmaster@localhost 
DocumentRoot /media/hdd/nextcloud 
Alias /nextcloud "/media/hdd/nextcloud/"
 
<Directory "/media/hdd/nextcloud/">
 Options +FollowSymlinks 
 AllowOverride All
 
 <IfModule mod_dav.c> 
  Dav off 
 </IfModule>
 
 Require all granted
 
 SetEnv HOME /media/hdd/nextcloud 
 SetEnv HTTP_HOME /media/hdd/nextcloud 
</Directory>
 
ErrorLog ${APACHE_LOG_DIR}/nextcloud_error_log 
CustomLog ${APACHE_LOG_DIR}/nextcloud_access_log common
</VirtualHost>

Credits

nj1337

nj1337

3 projects • 2 followers
I have been a professional web developer for more than 10 years. I like to tinker with stuff and discover electronics and 3D design.

Comments