Close
0%
0%

Raspberry Pi NextCloud Server

Use a raspberry pi with NextCloud to store and synchronize datas

Similar projects worth following
I've used my raspberry pi 3b+ to make a standalone nextcloud server.

I needed a cheap backup server, and since I had a raspberry 3B in one of my drawers, I chose to use it instead of buying a backup solution.


The main advantage of using a Raspberry is that it consumes little energy and is fully configurable. The solution therefore remains very flexible and scalable.

The main idea is to use NextCloud to duplicate my work data, which is cheaper than using a NAS with a RAID 5 or raid 1. Here a small 2.5 HDD do the job.

In addition, Nextcloud has interesting features in the context of access for customers, for example. You just have to declare the server in the DMZ of your router to provide access from the internet with a dyndns, for example.

Data takes a long time to copy. It took me several days to synchronize my TB of data.
I hope you find this useful, and I wish you good make =)

Raspebrry 3B V2 v15.f3z

Fusion 360 file

f3z - 10.55 MB - 03/03/2020 at 22:36

Download

Standard Tesselated Geometry - 2.20 MB - 03/03/2020 at 22:18

Download

Standard Tesselated Geometry - 305.45 kB - 03/03/2020 at 22:18

Download

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

View all 7 components

  • 1
    Print

    print the top cover then the bottom.

    If you have a RPi4 you need to modify the case.

  • 2
    install Raspbian on the SD card

    just follow this step : 

    https://www.raspberrypi.org/documentation/installation/installing-images/

    then update the system : 

    sudo apt-get update
    sudo apt-get upgrade

    in the console start raspi-config and enable SSH in the interfacing options : 

    remove the X server at statup and enable automatic login

    then : 

    configure the WLAN0 with a static IP adress : 

    mine is 192.168.0.3/24

    DNS : 8.8.8.8 and 1.1.1.1

    its better to use the wlan cause the ethernet is shared with the USB bus. you will loose some bandwith.

  • 3
    Connect the HDD and configure the OS

    Connect the HDD, then install gparted in the console : 

    sudo apt install gparted

    Start gparted and delete all data on the drive (make a backup first). Format it to ext4. you can use ntfs but it will be a little slow

    edit /etc/fstab

    sudo nano /etc/fstab

    add the line : /dev/sda1 /media/hdd ext4 defaults,noatime 0 1

    If you dont know what drive you are using, juste use lsblk in the console.

    sudo reboot

View all 7 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates