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

preview_player
Показать описание
*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!

*******************************************
*******************************************

*Raspberry Pi Fan Case used in the video*

*Promised Links*

*Check this out if you're epic sigma*

*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

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

[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
Рекомендации по теме
Комментарии
Автор

Great content! I'm setting up my first home server and I'm really enjoying your videos. Very straightforward and informative but not boring. I would definitely watch a video on Twingate.

TheOutbackid
Автор

is it possible to use Synology NAS OS on a Raspberry Pi

Quality_Contro
Автор

I had one of these it worked for 4 months then one day i went to save a file to it and its crashed. Its so frustrating setting these up and then had all my files on it. Now I have to retake it all apart move the SSD back into a computer and see I can save my files

DaveNorthWest