Nowadays it is common to have multiple computers
in one house with music videos and multiple
files spread between them.
Another way to organize your stuff is to keep
everything on a centralized server aka file
server in this miniProject we will create
a file server using a raspberry pi.
Let's get started.
For this miniProject, we will need a raspberry
pi preferably raspberry pi 3 for its builtin
wireless LAN and USB ports, a 5V USB power
supply, microSD card and microSD card reader.
First download raspbian from raspberrypi.org.
Insert microSD card in microSD card reader
and connect it to your home machine.
Following that open etcher and burn raspbian
on microSD card.
Once done copy raspbian root directory address
open terminal cd into raspbian root directory
and modify file named interfaces in etc/network
directory to look like one on the screen.
Once done create an empty file name ssh in
raspbian boot directory.
Finally takeout microSD card from reader and
put it in your raspberry pi.
Following that power ON your raspberry pi.
Find IP address of raspberry pi using application
like angryIP scanner.
Once you know IP address of raspberry pi.
You can remote login into raspberry pi using
ssh and obtained IP address.
Create a directory named Share that contains
directory named niniProjects in the home directory.
We will use this directory for file server
demo.
Samba is the name of the software that lets
you easily share files over network on raspberry
pi we can install it with sudo apt-get install
samba samba-common-bin.
Once samba is installed we need to edit configuration
file so it knows where to look.
Open it with sudo nano /etc/samba/smb.conf
and to the bottom of this file add setting
shown on the screen.
Once done save this file and exit.
Finally reset the samba password using sudo
smbpasswd -a following by a user name, following
that restart it with sudo /etc/init.d/samba
restart and we are DONE.
Open up file browser on your machine, click
on connect to server and type smb:// followed
by IP address of your raspberry pi and you
should see miniProjects folder in the next
window.
That's it guys if you liked this video don't
forget to like share and subscribe to this
channel I will see you soon with another video
till then make a FILE SERVER.
