Войти
  • 7692Просмотров
  • 1 год назадОпубликованоDjambo

How to Build Your First NAS! Samba Share Setup Explained!

*ALL TOOLS, COMPONENTS AND RESOURCES LINKED BELOW* If you ever thought about building your own NAS you found the perfect video! In this video, I'll explain how everything works and how to set it up. Thanks to PCBWay for sponsoring this video! Visit to get your quote today! ******************************************* Business inquiries: djambo3d@ ******************************************* You can help me make these more often here: Background music in the video: *Raspberry Pi Fan Case used in the video* Rpi Case I used in the video: M3x12mm bolts for mounting the fan: M3 Nuts: plastic screws: 4010 fan: *Promised Links* Samba: #1-overview Pi Imager: Virtualbox: Putty: *Check this out if you're epic sigma* TP4056 Module: Tweezers: Solder Paste: (Sn42Bi58) Alcohol dispenser: Precision Screwdriver set: Solder Paste: Squeegee: Hardcore Box Cutter: Soldering Iron: Soldering Iron Tip Cleaner: Solder pump: Super cool multimeter probes: My favorite soldering tip (TS-BC2): Soldering Mat: Cheap Hot Air Station: Lab Bench Power Supply: Mini Hotplate: Electric screwdriver: Deburring tool: Hand drill: Silicone wires kit: Black hot glue: 12AWG wire: Heatshrink: USB Type C Tester: USB Type A Tester: *Commands I used in the video* Updating the OS: sudo apt update & sudo apt upgrade OS Setup: ifconfig sudo reboot Partition the drive: lsblk sudo fdisk /dev/sda Format the drive: clear sudo /dev/sda1 Mount the drive: cd /mnt/ cd .. ls sudo mkdir myusb sudo mount /dev/sda1 /mnt/myusb sudo nano /etc/fstab /dev/sda1 /mnt/myusb/ ext4 defaults,noatime 0 1 Create a shared folder: sudo chmod -R 777 /mnt/myusb/shared sudo apt install samba samba-common-bin sudo nano /etc/samba/ [shared] path=/mnt/myusb/shared writeable=Yes create mask=0777 directory mask=0777 public=no sudo systemctl restart smbd sudo smbdpasswd -a "username" *Chapters* Intro 00:00 What's a NAS 00:36 PCBWAAAAY 02:42 Introduction 03:19 Hardware 04:39 My Setup 08:05 Installing the OS 09:10 OS Setup 10:51 NAS Setup 11:58 Connecting to the NAS 17:40 Conclusion 19:30 *Tags* #DIYHOMESERVER #HOMESERVER #HOMENAS #DIYNAS #LINUX #homelab