File Server Overview

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
21 hours 25 minutes
Difficulty
Intermediate
CEU/CPE
21
Video Transcription
00:00
>> Hey Cybrarians and welcome back to
00:00
the Linux plus course here at Cybrary.
00:00
I'm your instructor, [inaudible].
00:00
In today's lesson, we're going to have
00:00
an overview of file servers.
00:00
Upon completion of today's lesson,
00:00
you're going to understand the purpose of
00:00
file servers and we're going to
00:00
differentiate between the NFS
00:00
and Samba file server packages.
00:00
In most organizations,
00:00
there's going to be a need to share
00:00
files between employees,
00:00
and Linux provides a few options
00:00
to share files on a local network.
00:00
Linux uses what's called a
00:00
client-server model to do this,
00:00
which means that a centralized file Server
00:00
is what actually holds the files.
00:00
Then multiple clients could
00:00
access those files on the server,
00:00
and behind the scenes, you,
00:00
the Linux administrator,
00:00
controls the access and
00:00
permissions to those files
00:00
>> that live on the file server.
00:00
>> When we're talking about Linux, there are
00:00
two different file server packages to consider.
00:00
One is NFS and the other one is Samba.
00:00
Remember this about NFS.
00:00
NFS uses port 2049,
00:00
or more specifically, NFS version 4 uses 2049.
00:00
If you have an older version of NFS,
00:00
like NFS version 3,
00:00
you may also see it using port
00:00
111 which is used for rpcbind.
00:00
Keep in mind, for the exam,
00:00
you may see a question about this.
00:00
Port 2049 is used.
00:00
If it's an older version of NFS,
00:00
it may also use port 111.
00:00
In general, NFS or Network File System is
00:00
a protocol that's used for sharing files in a network.
00:00
You're largely going to see
00:00
>> NFS v3 or NFS v4 used today.
00:00
>> Now Samba. Samba is another type of
00:00
file service that we can see in Linux,
00:00
and Samba uses a bunch of different ports.
00:00
Ports 137, 138, 139,
00:00
as well as port 445.
00:00
Remember, ports 137 through 139 and port 445 for Samba.
00:00
The Samba software specifically allows
00:00
Linux systems to share files with Windows systems.
00:00
Windows systems can use NFS,
00:00
but the default is Server Message Block
00:00
or SMB for sharing files.
00:00
Someone got clever and say S and B,
00:00
add a couple A's, and that spells Samba.
00:00
That's how we have Samba. Well,
00:00
with that, we reached the end of this lesson.
00:00
In this lesson, we talked about the importance of
00:00
file services to share files in a network,
00:00
and we talked about the two common file services
00:00
in Linux, NFS and Samba.
00:00
Thanks so much for being here and I look
00:00
forward to seeing you in the next lesson.
Up Next