Difference between revisions of "Raspberry Pi: NAS Server"
Jump to navigation
Jump to search
(Created page with "== Summary == This Documentation is a step by step guidance to convert your Raspberry Pi into a NAS Server for your Home Network. == Requirements == * at least Raspberry...") |
|||
Line 14: | Line 14: | ||
=== Step 2: Install Symbian === | === Step 2: Install Symbian === | ||
sudo apt install samba samba-common-bin | sudo apt install samba samba-common-bin | ||
=== Step 3: Create the NAS folder === | |||
'''Option 1: Use the MicroSD Storage''' | |||
sudo mkdir /home/SharedDirectory | |||
'''Option 2: Use an externally mounted USB Drive''' | |||
Searching for Mountable USB drives: | |||
sudo fdisk -l | |||
Create a mount folder: | |||
mkdir /media/usb-drive | |||
Mount the USB Drive | |||
mount /dev/<device name> /media/usb-drive/ | |||
=== Step 3: Configure Samba === | |||
sudo nano /etc/samba/smb.conf | |||
Add these lines and modify them as you need: | |||
[Drive Name] | |||
comment = comment | |||
writeable = Yes | |||
browseable = yes | |||
path = /home/SharedDirectory | |||
create mask = 0660 | |||
directory mask = 0771 | |||
public = yes | |||
== Used Hardware == | == Used Hardware == |
Revision as of 08:46, 24 May 2020
Summary
This Documentation is a step by step guidance to convert your Raspberry Pi into a NAS Server for your Home Network.
Requirements
- at least Raspberry Pi 3B+
Description
Step 1: Updating the package repositories of your system
sudo apt update sudo apt upgrade
Step 2: Install Symbian
sudo apt install samba samba-common-bin
Step 3: Create the NAS folder
Option 1: Use the MicroSD Storage
sudo mkdir /home/SharedDirectory
Option 2: Use an externally mounted USB Drive
Searching for Mountable USB drives:
sudo fdisk -l
Create a mount folder:
mkdir /media/usb-drive
Mount the USB Drive
mount /dev/<device name> /media/usb-drive/
Step 3: Configure Samba
sudo nano /etc/samba/smb.conf
Add these lines and modify them as you need:
[Drive Name] comment = comment writeable = Yes browseable = yes path = /home/SharedDirectory create mask = 0660 directory mask = 0771 public = yes
Used Hardware
Raspberry Pi 3B+