Hello, everyone, and welcome to this somber topic.
This is where we're going to cover the download installation and configuration of Sambar.
Let's take a look what Zomba is Sambi, the Linux 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 as it shares 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 sambar server, 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 other 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 sifts became the extension of SMB and now Microsoft has introduced 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 Stiff's, 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 SC 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 apartment, 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 ESSOMBA services
which are SMB and and M.B and then will Moundsville Bashir on Windows Clide will also Maunsell Bashir
on Linux Clydes using the stiff's.
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 Sambor 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.
First, 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 I.D., that's my route account me make this window a little smaller.
Now I need to install youm installed Sahba 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
Kuai Comment and Gref 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 firewall.
So 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, it's 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 sound barrier 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 key, 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 last year.
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, so right here, if you notice, let me make this a little smaller.
You have to change the ownership.
So if you go to Zomba, 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 two Sambor and more pretzels.
OK, so that is done.
Let's verify it.
It still says root.
Oh, maybe let me see Sambar.
Oh, it changed the more pretzels we have to do the same thing for Zombi as well.
OK.
At least one shelter 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 Linnet security.
So now for me, AC Linux, let's see if I Linux is running in my system.
So I'll lose 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 I 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 a log in as route.
Now, we have disabled Selznick's, but let's verify if it has been the type C status and you're going
to see a Zelenik status equal disabled.
Beautiful.
All right.
Moving on now, it's time to modify Etsi Sambor config file and add new shared pile system.
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 modify it, I wanted to make a backup so I'll create a copy.
SMB Tarkoff Assembly.
Dr. 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 name.
We're going to go with Sento, 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 is going to take me a very 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 arousable?
Yes.
Is it writable?
Yes.
Guesses.
OK, I only as a read only.
No.
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 has saved.
Now I want you to run this command called Test PJR, which which which is actually going to test all
the parameters that you have for Zomba to test or hit enter.
It's going to ask you please enter to see a dump of your service, a 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 NFC 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 enable SMB.
OK, that is enable this, 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 or has started, if you want to check the status
on boats.
So you could just type Sis's system, CTL status, SMB, it had better and you're going to see the status
active, active and is running the same thing you're going to see when you do for an 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 shower was sambar.
More pretzel, right?
That was the name of the shower.
So now I wanted to create a file any like touch apples, for example.
So 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 one
sixty eight one ninety five.
The reason I'm typing ninety five is because that is the tip of my machine right here.
He is going to see see right here.
One eye to 160 of one 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, this here 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 you're in your own Zomba more pretzel.
Beautiful.
And now let's do a less Manaslu 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 Jodha 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 Bushier, you could do that as well.
So I have my another Linux machine right here.
And I'm calling it Lennix 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 SIFF utility already installed and latest version that is already running, and
the second one is Sambor client, this is already installed and 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 mount point where I'm going to mount that.
So for that, I'm going to create a directory of multipoint directory.
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 KDDI and T.
Let me see if I have it or not.
No, I don't, so I'll go ahead and create that 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 Ciftci here.
So here's the entry for my Mount Mount Dashty stiff's TE's.
For which filesystem?
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 Dakkar file and here is our Maon point.
Where are we mounting it on?
That's pretty much it.
Go ahead and 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 point has been mounted over
sip's and there it is.
This is the point.
Now let's go into that Mawn point KDDI slash amante some Brashares 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 DDR.
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 to 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 Essomba server and how to share a file system.
Now, for those who want 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 Sombath Secure Sambar Server.
So please go through these instruction in my attachment, the 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.