Network filesystem, which is.
Also stands for NAFS, this is one of the biggest and major topics, and I am including this lesson
and are in our module of disc's because it is actually about sharing your desk or sharing your directory
or sharing your files with other computers and other users.
So network file system, as I have explained you previously, there are different type of file system
like 62 63 except for this NTFS and Windows are Fatfat a file system that's also in windows.
Just like that.
There is another file system that is called netbook file system.
Now, this file system, again, it's not local to your computer.
It's called NASS, which is also a network attached storage.
So Nafez is part is one of the protocol as part of NASSE.
So let's see.
NFL stands for Network File System, a file system developed by Sun Microsystems.
Sun Microsystems.
If you guys don't know this, this was a company who actually had one of the biggest operating system
called Solaris.
That Solaris operating system runs on Unix environment and it still exists.
But now Sun Microsystems is being bought out by Oracle anyway.
Our focus is not Sun or Oracle.
Our focus is NFC, which is one of the Linux or Unix services to share your file system between servers.
Now, it is a client server system that allows users to access files across a network and treat them
as if they've resided in a local file directory.
It's just that simple.
When you mounted from one system to another, the other system will see it as if it actually mounted
locally on its own system.
Now, for example, if you are using a computer linked to a second computer via an office, you could
access files on the second computer as if they resided in a directory on the first computer.
This is accomplished through the process of exporting.
So you export from the server that is sharing the file system, the process by which an NFL server provides
room more clients to access to its files and mounting the process by which client?
Which is the other computer, the other end client map and first shared file system.
So this is how basically NFC works.
And I hope you understand, if you do not understand and you still confuse what NFC is, please don't
worry.
I'm here.
Don't worry about it.
I will take you every step of the way and I will show you how NFC works.
OK, so now let me show you real quickly through the pictures to the diagram, because picture speaks
a thousand words, right?
So you have a machine, a computer.
It's probably nowadays it could be either Linux or could be Unix or could be Windows.
This machine wants to attach a file system that is being shared from another computer.
So what it does is it sends an NFL request.
That NFC request goes to a server that is hosting that file system.
So if their file system is hosting, let's say, ABC file system or whatever the name of the file system
that is being hosted on this server, then based on the rules that are defined on the server, meaning
the policies which server to share with which server to trust and all that, once that is satisfied,
then the server is going to send approved request back to its client and it's going to say, hey, I
know you're asking me to share my file system with you.
Now, first of all, let me see if the file system that you want me to share with you, if I am authorized
to share.
First of all.
Second, if you are authorized to view that file system and of course, there are other options that
can be defined, which we will discuss later on going on network file system, what are the steps that
we need to do?
Well, there is a server that is going to share its file system and then there is a client which is
going to mount that file system.
So what are the steps we need to take on the server side, so in this in these slides, I'm actually
going to show you what are the steps we need to take?
Once I'm done with this slide, then actually I will log into the machine and we'll do the real work.
So steps are first on the server side.
Now we need to install NAFS packages.
And those Nafez packages are Neff's Dash utils, Leyb, Neff's ID map.
These are the two packages that you need on your latest RedHat or S.O.S version seven servers.
Most likely they are installed in your machine, but the way you could check it, you could check it
by running R.P.M. minus Kiewa and grumping for Neff's and you will see if these packages are installed.
We will check that together.
So no worries.
Next thing we have to do it once these packages are installed, enable and start NFR services.
So you know that every enabling any service, meaning you are telling that service to start at boot
time.
So you want these two services to start at boot time.
That's why we are using the option enabled.
Once we enable them, then I'm going to start the services AAPC Bind, NFC Server, Stat D and NFC ID
map.
These are for services that I want to start.
I put them all in one line, but make sure you, when you are running your command, they shouldn't
be in one line because it will give you an error.
I am trying to save some space here.
That's why I'm putting everything in one line.
OK, moving on then create an official directory and assign permissions.
So once we are on the servers, we're going to create a directory.
Or if you already have a directory that you want to share, then you don't need to do this part where
you have to create and assign permissions.
So in in our lab, we are assuming that we are creating or we are sharing a new file system, a new
directory.
So I'm going to name it my pretzels and I'm going to assign the permissions of that to my pretzels.
So my presell, I just picked a name you could pick anything.
I like this word pretzels, because that's one of my favorite lines from Seinfeld that says these pretzels
are making me thirsty.
So I just picked that name anyway.
Then we have to modify the permissions for that my pretzels directory.
Then we had to modify the export etsi export file because the reason we wanted to modify that is because
if we want to have this file system to be shared, I have to have certain option in it.
So as you could see, I have put in the IP address one I to 168, one seven.
It means I want my pretzel to be shared only with the server that has this IP and it will have the read
write permission.
So let's look at them one by one.
So here is my NAFS here.
That's the NFC that I'm sharing.
Then here is the IP address of the client machine from which I'm going to share my file system with.
Now what if you want to share with everybody, then you could just simply put start the asterisk.
Yes.
Then next thing, read and write.
You are giving permission to your clients to read their file system as well as write to it.
Then there's another option.
Sink.
Sink is telling that all changes to the to the according to our system are immediately flushed to the
disk.
Their respective right permissions write operations are being waited for.
So don't wait any longer.
When you're writing to this file system thermocline, just write it to the disk right away.
Then the last option we have right here says route on the client machine will have the same level of
access to the files on the system as a route server.
So the route server, which this NEFA server is coming from, will have the same permissions as a client.
So that's what is saying.
So now of course this is for one horse because we have specified the hostname or the IP address.
But if you want to specify everybody, not just one computer, then you will use Linux.
My Linux Shear.
Oh sorry.
This is not my Linux here.
You have to change it to my pretzels.
I had it using before my Linux here, but to make it more meaningful, I changed it to my pretzel anyway.
If the Meilin next year, whatever the next year is.
Asterisk and the entire line of options, that is to give it to everybody, then once that is done,
you edited the ETSI export file, then you export the file system by running the command export F.
S space minus R b.
So what are these different options are is to republish everything that is inside of the export and
B is to show a verbose mode.
So I hopefully you understand this is the first configuration on the server side, the server which
is trying to share its file system.
So in our in our example, our NFR server is our our server, our lab server that we have built for
this training.
And remember, the hostname for the lab server is my first Linux VM.
Right.
This is the that's the one we created.
Right.
So let me go to my Linux VM and.
Let me log in real quick.
OK, and just do hostname, you see my first Linux VM, this is the Linux VM that we've been working
on, right.
So this is going to be our NFC server where we will create our file system to be shared with other servers.
OK, so now we will export it.
We will enable sorry, we will install the packages, enable these services, start the services, create
what we need to create, what we need to share, change permissions, then modify the ETSI export file
to have that shared.
Moving on to the next slide.
Now steps for Nafez Klein configuration.
Now of course you have one server, which is my Linnik, my first Linux VM.
Right, that server configuration.
Now we are going to create another machine that will actually mount that file system on its mounted
point, whatever that you need to define.
So what are we going to do is we're going to install these packages youm install.
And if, as you tell RBC Byrn same packages as Nafez Server, then we're going to start once the packages
are installed, enable and start RBC buying service.
You have to make sure only this service that has to be up and running RBC Binde start, then make sure
there is no firewall or IP tables running in your system, the client.
Then we will do a short mount command to see what is available for and for me to mount, then create
a point like mkdir slash mount slash app or slash model slash, let's say Kramer, whatever that you
want to do.
You could do that just like that.
I have it right here.
So mount the filesystem like mount the name of the IP address of the NFL server, slash my pretzels
which is the shared filesystem mount to Kramer or Maon to app or whatever the main point that you want
to make, then verify the amount of filesystem by running the command D.F. minus H and to unmount that
file system is unmount slash mode slash creamer.
So that's it folks.
Enough talking now I'm sure you probably heard a lot of things.
Now let's do the real work.
Let me go back to my NFR server configuration and that's where we're going to start off it.
So I am going into my Linux machine and the Linux machine is my first Linux VM, how I am logged in,
who am I and which directory are men and which host I am on.
Verified everything perfect.
Now go ahead and become root.
OK, we are rude now before you install these packages, you can run R.P.M. Command to verify if these
packages already exist or not.
And you see, it tells you that Neff's as util and Hleb and efforts ID map are already installed.
Now, if you try to install it with Jumpman, let's say youm install and a first dash util utils.
It will go out under the repository, but he'll say right here, see this package and if a util already
installed and has the latest version perfect.
So we we we've been through the first install benefits package.
OK, done.
Second thing we need to enable.
The AAPC bind and FSR service so took the command to do that system ctl enable aapc binde.
Perfect.
You get the problem back, it means it worked, then you do the same thing by doing a Parakey instead
of RBC buying the first dash server because it's first dash server, right?
Yes, hit enter.
OK, created symbolic link.
This, this, this.
Why didn't created before.
Maybe we have already or I have already enabled that RBC bind previously and that's why the link was
there.
But anyway I am enabling this NFL server for the first time and that's why it's saying create a symbolic
link which is what it's supposed to do.
OK, anyway, so now the time to start the service system.
We'll start our PC binde.
OK, it started C didn't give me any error message if if I wanted to check the status of that service,
lose status, system status, RBC Bind and you'll see it says right here, active, loaded and running.
This is what we want to see.
Perfect.
Now, next service I want to start is.
And first dash server.
See, right here, it says, and at first Sova.
Enter.
They should start the service, our PC dash that D right, let's confirm our PC dash that D Yes, hit
enter.
OK is up and running perfect and I could just do start again started.
I'll check the status running.
OK, perfect.
Next one.
And first, I'd map D.
It started now let's check the status.
Active and running, perfect.
Now it's time.
To create our shared file system, so I'm going to go into my CD slash directory, you see, I am in
Slash, Slash Slash now I'm going to create a directory called Make This are my.
Pretzels.
OK, I am and slash atleast mysel, and you will see it is created right here, could do less minus
l tr to see it at the bottom.
Now I need to assign the proper permission so I'll do change mod AI for all.
Plus are W X my pretzels.
Hit enter.
See these all the rights.
OK, perfect.
Now I already have my directly.
Let let me go into my pretzels.
OK, what's inside my pretzel?
Nothing right now, OK?
I could create a couple of files like touch A, B, C.
All right, perfect.
Also create a file called Touch Kramer and I could echo into that file d prêt.
Results are making me thirsty.
And I'm going to output to Kramer Kramer file.
Perfect.
Let's echo Kramer file cat sorry, Cat Kramer file and you will see these people are making me thirsty.
Now, this directory, my pretzels has how many files for ABC and Kramer.
So that's good enough for our testing.
Now, what we need to do, next thing we had to edit the ETSI exports.
So why etsi exports?
Since we are doing that for the first time, you will see this file is empty.
Be very careful to modify it.
I always what I will do as I always do copy at sea exports and then etsi exports.
Underscore, I put a date in like 08, 08, 2020, so this way, if I make a mistake, I could always
copy it back to its original version.
So now I could go into Vietnam.
But anyway, this was empty.
So now what I want to export, first of all, what I'm trying to export, I am going to export.
Slash my.
Pretzels, OK, perfect.
Who am I exporting it to?
I wanted to export it to everyone.
If you wanted to export it to your other Linux machine, which we will build later on, and you want
you have the IP and you want to come back here and specify the IP, you could do it.
But for now, I'm just going to do it now.
Then I have to specify.
Asterisked.
Parentheses are w read, write, comma, sync, comma, no underscore route, underscore squash.
And that's it.
This is what we need.
So if you guys.
Need to know the exact instruction, I will try to put it in this entire instructions right here, you
see on my slide, I'll put it into the the notes folder.
The notes section.
OK, so now that file is edited, go ahead and save that file.
Perfect.
What do we need to do, the lasting export, that file system.
OK, go ahead and type the command export for us system dash are we again are stands for to republish
everything.
Whatever's in there.
Publish it again.
I don't really care.
And envy is the verbose mode hit enter.
And now it is telling you that exporting it is exporting the file system to everybody.
And a file system is my pretzels.
OK, so you have created it.
Your NFS server is ready.
It is exporting to other machines.
Now the question is I do not have another Linux machine to test mounting this file system to another
machine.
So what I'm going to do is I am going to build another machine, which is going to be client, and I
will show you how to build that.
This the whole thing I'm going to do by building this another Linux machine.
I'm going to do it really fast.
I'm going to fast forward it, because since you guys have already have experience of creating another
Linux virtual machine, so I'm going to go do it really fast.
So right now, if you could see, if I go into my Oracle VM virtual box, then I'm going to go and create
new I'm going to name it Monck.
Moncks Monks' is a name of Seinfeld show that there that's a restaurant where everybody goes, so it's
like a shared environment.
I'm using this as a client name.
So Moncks and Windows, Microsoft Windows, I'm going to pick Linux because you're building a Linux
machine and now pick Linux two point sixty three X for x 64 bit.
Now, go ahead, click next.
Memory size leave with default.
Create new disc, your desk dynamically created next to you already know that the size of the disk that
will be created is eight gig leave a default create it is created now.
Moncks VM is created now go ahead and power on.
This is asking you, where is your ISO image, remember, we actually downloaded our Centocelle image,
if you do not have that ISO image right now, it's OK.
You can go ahead and download again from the Internet.
And once you have that download to come back and start again from this lesson on how you could selected
and I'm sure you know this, how to select it.
So here, go ahead and pick the location.
I already have the location picked and it is this window Sento seven.
I'm going to click open and start now.
This is going to start the installation.
It's by default.
Tells you this test media and install the center.
So go ahead, hit up Baraki and click on install S.O.S and hit enter.
OK, from this time, from this point on, I am going to fast forward the entire installation.
Because you notice I am going to pick the minimum install, what minimum install means that there is
not going to be any GUI installed?
I don't really need guey at this time.
I just want to test my mounting and at first filesystem.
And that's why I'm going to leave a D for the installation destination.
You click on it and select the desk and leave everything as is automatically configured petitioning.
Go up and click done and then come down.
You'll see the network hostname.
This is not connected.
Click on it.
Go up, turn this on, and now give it a hostname.
I picked a VMOs name is Moncks.
I'm going to use the same name Moncks Click apply and it'll say the current host name is Moncks.
Go up.
Click Done.
So everything is set up, America's New York Times on you could pick a different time zone according
to your region, language installation source, local media software, installation, minimum.
As I said, we don't need a GUI and we don't need any other extra softwares come down installation destination.
We picked that already, which is the default.
Everything is default.
And now go ahead and click begin installation.
Once it begins installation, click on Root Password.
Specify the password.
If it's weak, you will have to enter, you have to click done twice.
User creation, I don't want to create any user right now.
OK, so now you see it is going through the installation process of installing 303 packages and right
now it is at 15 packages.
So it's going to take time.
I'm going to fast forward again from here.
And when we come back, we should have a built up machine.
All right, everyone, our machine, the second machine client wonk's is being built.
Go ahead and log in as route.
So now check the I.P. address of this machine.
OK, it does not have the number of utilities that you need to check the config, but there is another
command that we learned previously.
It's IP, IP, ADR, yes.
So you notice you have an IP address of 10 to 15.
So if your IP address is different in the other servers, let's check our server.
My IP address here is if config.
It is one nine to 161 to 18, and it's IP address the other machines, IP is different.
The reason?
Is we have to change the setting on the virtual box or does the machine go to setting a network and
you see this right here is attached to that changes to Bridgitte network adapter and Brodkin extreme
gigabit Ethernet.
If you have a Wi-Fi, you pick that one click, OK?
Now, it should have a new address if it doesn't, and run the command system, CTL Restart Network.
It has restarted now you check IP, ADR and you will see the new IP I have right here is 190 to 161
to 11.
So from here.
Make sure you do press it right click to get out of this machine box so you could go ahead and ping
192 168 down one to 11 just to make sure you're not one 11.
Make sure you're keeping it.
Yes.
You see you getting a response back.
Perfect.
So now let's go back to our machine.
Also try to do Penk www.youtube.com to make sure your machine can get to the Internet.
Yes, it can clear the screen now.
We'll get back to our lesson where we have to actually go to the client.
So you have to install it.
And if, as you tell our PC bind.
Yum install.
And first, dash util.
If one package, 15 dependancy go ahead and hit, why, as yes, it.
Perfect.
It's finished now, the next thing we have to do, aapc bind, yum, install our PC.
Bind one word and this time do minus y option, OK, says it's already installed perfect, so we don't
need any of these more packages.
So now what next?
We have to start that RBC buying service.
Seduce instead of service, you have to do System CTL because service is an older command that works
with redhead's sex or to a sex start or PC binde.
It has started, you could check by doing our PC and you'll see it is up and running now.
Let's make sure the firewall or IP table's not running.
P.S. minus if you up.
Firewall.
Or IP table.
So we see the.
Both know only firewalled is running, so let's stop that so system CTL, stop firewall D.
This is going to stop that also disabled that service to start at.
OK, it is to say she'll mount.
Chaumont, from which machine show Mount minus E, what is the IP address of our other server and if
a server machine?
So let's go to our other unifiers machine and check our IP address if config or IP address, whichever
the command you prefer, it's one nine to 161 to 18.
So let's go back and do Chaumont 192 168, one 18 and this should return.
What is being shared from that server?
OK, it's saying unable to receive error number one one three, no route to host.
So let's ping first 68 one to 18 copying it.
But I cannot it's not showing me the amount.
Let's check on the server side if the server side is running IP tables.
So there is a firewall on the server side that is running, we have to disable that.
OK, so now that what does it say?
Well, let's check on the Clydeside side again and see if he could be the sheer amount.
Perfect.
Now we see the sheer amount.
So now let's go to our document, we have verified it.
Now we have to create a directory where you have to mount it on our client.
Let's clear the screen and now create a directory.
We call it mkdir underlayment.
We'll call Kramer.
All right.
So let's do this mysel.
Amanti will see the creameries to do the Mount Mount.
192, 168, about 118.
Colon slash my.
Pretzels.
And map it where map it to mount slash Cramer.
OK, we got the problem back perfect, it means it did Mount Hood, DF, minus H or type defenestration
and you'll see right at the bottom.
Is coming up as amante Mount Kramer.
Now, if I go to Slash and Kramer and myself here you see I have the same files now that I created on
my server, which is right here.
And if you go to my pretzels, I left myself here.
So these are the file system.
So now, if I wanted to write something to this, let's say from the client side, I'm going to create
a file called Touch David hit Enter.
Verified and it created on the client side.
Now let's see if it shows up on the server side and you see it showing up on the server side.
The last thing that I want to cover here is you verified it if you wanted to unmount that from the client.
Then you could just simply do you mount slash amante, slash Kramer, you could mount the multipoint
or you can mount the filesystem whichever way you like.
So when you hit enter, it's going to say device is busy.
Why?
Because you are already inside of that directory.
So you get out of the directory to hit enter.
Now you are not in that directory now Parakey and do the zoom out and it has unmounted do def minus
eight and you will see it is not there.
It is gone.
So guys that's how you do that.
And first try it.
It's a very, very important lesson and a lot of people ask for NFL services and I am including this
and this training because a lot of students have asked me on first.
So that's why I decided to create that for you.
All right, guys, good luck.
Hello, everyone, and welcome to this somber topic.
This is where we going to cover the download installation and configuration of Sambar.
Let's take a look at Zomba.
Is Zambada the tool or utility that allows sharing of Linux resources, such as files and printers with
other operating systems?
So it works exactly like NAFS, but the difference is nafs years within a Linux or Unix like system
where ESSOMBA is shared with other operating systems, for example, Windows and Mac.
Now let's take a look at an example where a computer, a shear's is filesystem with computer B using
Sahba, then computer B will see that -- file system as if it is mounted at its local file system.
So here's a client that c this is the client, let's call it client B or server B, it sends a mount
request.
Hey, you want to get your shared file system and that request goes to the server, which is sharing
that Zomba share.
Now this server has to run the server the same password in order to accept those request.
If it is running that service or that process, it verifies it and then it sends the approval back to
the client and then Klein can mount that file system.
Moving on, let's take a look at the SMB versus the SIFF.
Sambor shares its file system through a protocol called SMB, which stands for Server Message Block,
which was invented by IBM next.
And another protocols used to share Sambor is through Stiff's, which is common Internet file system
invented by Microsoft and NSB, which is which stands for Net BIA's name server SIST became the extension
of SMB and now Microsoft has introduced a newer version of SMB version two and three that are mostly
used in this industry.
So let me put in a very simple, simple language or simple term.
That is, most people, when they use either SMB or civs, basically they are talking about the same
exact thing.
All right.
So let's take a look what exactly we're going to cover in terms of the technical side of the installation
and configuration of Sambor.
First we're going to do is we're going to take a snapshot of the VM, where we going to install the
Sambor just in case things go wrong or things don't work or we mess up some other configuration files.
We could always revert back to the original state of the VM.
Then we're going to install the Zomba packages.
We're going to enable Sahba to be allowed through firewall, and that is only if the firewall is running.
You could also disable the firewall and we will cover that part as well.
But please make sure you get the proper permission to disable the firewall on your Linux machine.
If it's running in production, then we create some Bashir directory and assign its permissions.
Also will change the SLA security context for the sound bushier directory.
And again, you can also disable AC Linux completely.
So this way you don't have to create those security context.
But again, please confirm with your system administrator your security team, if you're running their
Linux machine in production retirement, then we will modify the ETSI Sambor SMB Dukkha file to add
new shared file system.
Also, please make sure you make a backup file for this SMB config.
Then we'll verify the settings once the packages are installed, will enable and start the Sambor services
which are SMB and M.B and then will Mount Isa Bushier on Windows client will also Maunsell Bashir on
Linux Clide using the system.
And the last is we will also have some additional instructions for you on creating secure some bushier
meaning if you want to share the sambar file system by allowing but by prompting the use of his username
password that is also covered in my instructions.
All right, without further ado, let's get right into my Linux machine.
Now, please note I have one Linux machine that is going to be acting like a server.
There's going to be another Linux machine that's going to be acting like a client.
And I also have my Windows machine where I'm going to mount that sound bushier.
And that Windows machine is where I'm running my virtual box.
OK, so let's start doing the actual technical stuff where we could actually install the samba server
and go through all these steps.
So I have my Linux machine right here, which is going to be acting as a server.
This is where I'm going to install my sambar server.
So my machine name is my first Linux.
And I have also an instruction guide with me, which I have written down all the instructions, so I'm
going to take all the instructions from there, which I by the way, I have I'm going to also attach
with what, this lecture so you can find a resource on this lecture as well and download that PDF of
or for some instruction.
It is right here for me.
And now let me go here and I'm going to follow the step by step installation instruction.
So it says first.
Please, please make sure to take a snapshot of UVM.
Yes, that's so very important.
So I'm going to go into my Oracle box and this is my first Linux VM.
I'm going to take a snapshot and I'm just going to call.
Before.
Sumba.
OK, again, the reason we are taking this in case things go wrong, we could always come back to this
state.
All right, so now the snapshot is done.
Let's go ahead and close this out.
Next up is.
Become route, we are already logged in as route.
And I do ID, that's my route account me make this window a little smaller.
Now I need to install youm installed Zomba, Sumba, Dash client and somebody common all these three
packages I could install in one go.
So Kopi come here.
Right.
Click and paste.
I'm going to fast forward that, so this way we could save some time.
OK, so the sambar package installation have been completed, you could verify by running R.P.M. that
quick comment and grab for Sumba and you're going to find all those three packages that we just installed.
All right.
Next thing is enable Zomba to be allowed through firewalls.
Now, if you have a firewall running and you cannot disable, then you have to add these values to your
firewall.
Now, in my system, I usually this is my lab system, so I keep my firewall turned off.
I could also verify by checking system, CTO status firewall, the.
Status.
OK, as you notice, it says status is loaded and active, it is inactive, it's dead, so it's not
running.
So if you if you are running a firewall in your environment, you could add these parameters.
So next the next step is to stop and disable the firewall.
If you do not want to use your firewall, you could follow these steps and disable the firewall or IP
tables, both of those things.
But for me, it's not running.
So I'm going to move on to the next step now, create a Sambor share directory and assign permission.
And that is let's create this directory, which we want to share.
So that is mkdir minus P Sumba.
Slash more pretzels.
That's just a pretzel.
It's a it's a word that I got it from a Seinfeld show where they would say, hey, these pretzels are
making me thirsty.
So it's just that now we are sharing these pretzels.
So I'm putting the pretzel ward in December southwest here.
All right.
So it's just the name you could pick any name, by the way.
Let's go and create it.
It is created.
Now, I'm going to go ahead and assign some permissions so everyone could read.
Right, and execute, so no more pretzel.
OK, now.
Let me just make this a little bigger.
Next up is ownership's so right here, if you notice, let me make this a little smaller.
You have to change the ownership if you go to Sambor.
Sorry, if you go to slash KDDI slash and do a less minus Alti, are you going to notice the Sambi is
on Birute?
We want to change its ownership permissions to nobody.
All right.
So ChangeOne minus R, which is recursive.
Nobody Colen.
Nobody for the group as well.
And to samba and more pretzels.
OK, so that is done, let's verify it.
It still says root.
Oh, maybe.
Let me see Sumba.
Oh, it changed the more pretzels we have to do the same thing for Zombi as well.
OK.
At least one TR and now you're going to see some by itself.
Has the same permission, so let me just change that as well here, so change ownership and that is.
Just removed that, so it will be a recursive ownership change.
All right, next step is also you need to change to see any security.
So now for me, AC Linux, let's see if SC Linux is running in my system.
So I'll do AC status and you're going to notice that I have that enabled, so I want to disable it.
That's again, that's for my lab environment.
I could do whatever you want, but if you are running in production, please check with your security
folks, check with your system administrator before you disable anything.
So I'm going to go in then I need to disable all going to V.I. at CSC Linux config file.
I come down to see Linux and where you see enforcing, take out the enforcing and replace it with disabled,
then save the file.
And then simply I just need to reboot.
Oops.
OK, so the entire reboot is going to take maybe two to three minutes, so I'm just going to fast forward
from here.
OK, let's check if he had the system back, so click on this little icon and click on Restart Session.
Yep, we got it back, so log in as route.
Now, we have disabled AC Linux, but let's verify if it has been the type C status and you're going
to see a Linux status equal disable, beautiful.
All right.
Moving on now, it's time to modify Etsy Sambar config file and add new shared policies to make sure
to create a copy of their Sambi file.
Very good idea.
So let's go to AC Sambar and in here I have a file called SMB Duncalf.
Before I modified, I wanted to make a backup, so I'll create a copy.
SMB Ducobu SMB carved Orridge.
I usually pick that name or I put it the date on it.
It depends what how you want to create a copy.
So now I'll go ahead and modified and simply I want you to go ahead and delete everything below the
comment section.
So from global just keep hitting delete ddd.
OK, from here I want you to just simply copy this entire all these contents and pasted here.
But at the same time I want you to pasted it.
It looks nice.
OK.
Work group, equal work group that goes with Windows Net biasness.
We're going to go with a security user map to guest DNS proxy.
No, these are some default setting.
If I get into each of these parameters, what exactly each of them mean, it's going to take me a really
long time.
But my so my advice to you is just simply go ahead and take all these parameters and just simply paste
it into your SMB Dukkha file.
OK, so anonymous is going to be the actual share that's going to show up and the path is going to be
Sambor more pretzels, right?
This is the system that we created to be shared.
Is it possible?
Yes.
Is it writable?
Yes.
Guesses is OK.
Yes, only serried only know.
So all these permissions are set there.
Everybody could use it.
Everybody could browse it.
Beautiful.
Now go ahead, escape and save out of it.
Now it is saved.
Now I want you to run this command called Test PJR, which, which, which is actually going to test
all the parameters that we have for Zomba to test or hit enter.
It's going to ask you please enter to see a dump of your service service definition hit enter and nothing,
no errors are coming up.
Perfect.
Now let's move on.
Now we are on the part where once the package are installed and able and start anaphase services.
Sorry, not NFR Sambar Services.
OK, and that is system ctl start.
OK, first enable let's enable it the reason we enable it.
So it could start when when the system reboots.
So enabled SMB.
OK, that is enable let's enable LMB.
OK, that is done now let's start both services, the system will start.
That is started when you do not get anything back.
It means it has started and the same thing with an empty portfolio started if you want to check the
status on boats so you could just type Sis's system, CTL status, SNB, it had better and you're going
to see the X status active, active.
And it's running the same thing you you're going to see when you do for and maybe.
There you go, see active status, active, and it is running.
OK, perfect.
Moving on now, it's time for us to mount that file system on the Windows machine.
So, first of all, let me go to the shower and my share or somber more pretzel.
Right.
That was the name of the shower.
So now I want to create a file any like touch apples, for example, since I created this file called
Touch Apples.
OK, so now I will go in and to my windows machine.
This is my Windows machine.
I'm going to click on Start.
And right here, as this search program and files, I'm going to type in backslash backslash 192 168
one ninety five.
The reason I'm typing 95 is because that is the IP of my machine right here.
He is going to see see right here, one eight two one sixty one down ninety five.
So that's what I'm going to type.
OK, so it's already been written there for me.
Click on it.
And right here, the share comes up, an anonymous double click on it and you're going to see the file
called Appel's.
This is the same file that you have shared from this system.
Now go ahead and create a file from the Windows machine so you would know it is showing up on the Linux
machine as well.
So go ahead and write, click and create new and pick the text document.
Once you click on the text document, put in a name, let's say Yuta.
Hit Enter now go back to the Linux machine, which your in your own Zomba more pretzel.
Beautiful.
And now let's do a less monarchal TR and you're going to see the Yuta is actually there and it is created
by nobody.
The reason APL's was created by route because I was logged in, I am logged in as root.
Who am I.
So who am I to root.
So that's why you see it.
If I had been logged in as nobody it would have been created under nobody.
So there's your Jodhaa file as you could create as many files here.
It will show up here.
So that's how you're sharing these files.
System from one from Linux machine to Windows machine is in it cool.
Yes it is.
Now let's take a look at what if you want to use the same Sambor and you want to mount the same file
system on another Linux machine as using some Bashir, you could do that as well.
So I have my another Linux machine right here and I'm calling it Linux S.O.S seven.
That's my name of my Linux client.
Maybe you have a different name.
Maybe you had the ones that we created earlier.
If you remember, we created a second machine called Moncks.
You could use that as well.
All right.
So that's the machine as a clean machine.
For that, I'm going to have to install sip's utility and Zomba client.
So simply become RWD, which I am, and then I'm going to copy this entire line.
And come here, right, click on this machine and it will automatically paste everything that I have
copied from that word document.
Go ahead and hit enter.
OK, it says package of utility already installed and latest version that is already running, and the
second one is Sambor client, this is already installed running the latest version.
Nice.
The reason it's saying that because I did go through this practice before I created this video.
So anyway, so the package is there.
If you if if that package is if these packages don't exist on your machine, then it will go it will
install all of these two packages on your machine anyway.
So now if I need to mount these bushier right here into my other Linux machine, the Klein machine,
then I have to install those packages.
And also I have to create a mouse point where I'm going to mount that.
So for that, I'm going to create a directory of multipoint director and I'm going to call it Make Dyax
and T some Bushier.
And in this case, I have already created that.
If I go to CTM and T.
Let me see if I have it or not, no, I don't, so I'll go ahead and create a directory, make dear
Sumba.
Sure, it's just a name I'm picking, you could pick any name.
OK, now I'm going to go ahead and mount that this year.
So here's the entry for my Mount Mount Dashty sifts TS for which file system?
And Cuppy.
Once I copy it, I'm going to pasted right here.
Let me make this a little bigger.
So now you're going to notice Mt. minus T stiff's, which is a filesystem, one eye to 161.
Ninety five is the IP address of this machine right here.
And let's go back.
Slash Anonymous, this is the anonymous file system that we created, an SMB Dukkha file, and here
is our Maon point.
Where are we mounting it on?
That's pretty much it.
Go ahead, hit enter.
As soon as you're going to hit, enter is going to prompt you for a password and you probably going
to be thinking, hey, I didn't create any password.
Yes, you did not.
So what do you have to do?
Just simply go ahead and hit enter.
Don't put any password, don't put any keys.
Simply hit enter once you did that.
Now I want you to do D.F. minus H and you're going to see right here are Hmoud Point has been mounted
over sifts and there it is.
This is the point.
Now let's go into that point.
KDDI slash amante some basher's duelist minus L and you're going to see apples and yata.
You could also create another file right here and you could call it a dedi.
Yeah.
All right.
So it is created.
Now you notice you have three files.
Now let's go to the clean machine and you're going to see three files here, too.
Now let's go to the Windows machine where we had that open.
I think I closed it.
So let me go back.
192 to 168 at one point ninety five.
And here's a share and you're going to see these three files.
One, this is the one I created on Windows.
This is the one I agreed on the Linux machine.
This is the one I created on the actual server where the sambar server is running.
All right.
So this is exactly what I wanted to share with you.
I really hope you learned a lot.
You're now at this point, you know how to create a somber server and how to share a file system.
Now, for those who wants to create a file system through a secured way, like to prompt a user to put
in as username and password for those.
I have these instructions right here which says Samba's secure sambar server.
So please go through these instructions in my attachment, a resource guide that will be with this video
and then you will be able to share the file system through your username and password.
All right.
Good luck.