Linux serverlinux web serverNETWORK ADMINISTRATIONS

How To Create NAS (Network Attached Storage) Server With Raspberry Pi 3 ? || NAS With Pi

Raspberry Pi is one of those computer tech which lets you do lots of things. The Special thing about the raspberry Pi is to use it for anything like physical Computing with GPIO Pins, You Can Also use it for creating Network Attached Storage or NAS for your Home to access the data across multiple computers wirelessly by creating NAS server with Pi.

What Does NAS Meant For You?

NAS stands for Network Attached Storage. NAS helps to share a files across heterogenous devices in a network. NAS uses a networking protocols like AFP, SMB which helps to create file sharing server.

By Default, NAS uses SMB server which is file sharing server helps others to access the files across multiple devices seamlessly in a network. If you have lots of computers its tedious to share a data across multiple devices through wires. So creating a NAS helps to access the files wirelessly across all of your computers which are connected to same network.

Ok Enough About the Theory :

Imagine if you have lots of devices connected to the same network. Its very tough to transfer the data from one device to another device wirelessly. So we will build a NAS Server so that all of the devices can talk to the server also they can see the files on the server with both read and write permissions. For Example if have an android device and I will copy all of my backup to the NAS Server so automatically other devices connected to the same network can have access to all the files.

Requirements :

1 x Raspberry Pi 3 (Recommended)
1 x Ethernet Cable
1 x Class 10 Micro SD
1 x External Hard Drive
1 x Dual Band WIFI Router

Command List:

To Update all the Repositories
sudo apt-get update

Samba Server Installation:
sudo apt-get install samba samba-common-bin

NTFS Package :
sudo apt-get install ntfs-3g

Creating a directory in root
sudo mount /External

Configuring samba
sudo nano /etc/samba/smb.conf

Add these lines at the bottom :

[RaspberryPi NAS]
comment = Pi Server
public = yes
writeable = yes
browsable = yes
path = /External
create mask = 0777
directory mask = 0777

Restating the Samba :
sudo /etc/init.d/samba restart

In this video I will be using a Raspbian Stretch lite which is command line based Debian – Linux Distribution which helps us to create NAS with Raspberry Pi. You Need an External Hard Drive For This so that you can access the hard drive wirelessly across your network to share/Backup/ Retrieve all the data across multiple computers.

~Follow Us On Social Media & Post Your Queries And Suggestions For any Future Videos at:

~https://www.facebook.com/kskroyal961
https://twitter.com/kskroyal961

~ Subscribe To Our Channel

~ Watch More Videos At:
YouTube.com/ksktech

Music used in the video :
Defqwop – Heart Afire (feat. Strix) [NCS Release]
NSC Release:https://www.youtube.com/watch?v=gJeh_dLjPN4
Blop Sound Effect : http://soundbible.com/2067-Blop.html
License: Attribution 3.0 | Recorded by Mark DiAngelo

source

by Ksk Royal

linux web server

Leave a Reply

Your email address will not be published. Required fields are marked *