In this section we will explore main services of Collie the default installation ships with several
services which are pre installed such as SSA h h chickpea and my rescue.
So now we'll see how to enable and disable these services.
Let's first start with the most common service used which is the SS H which is usually used to provide
remote access to computers over a safe and secure protocol that transfers data in an encrypted way.
So as we said earlier that SS each is already installed in the distribution of Collie.
So how to enable the service and started it's very easy.
We use this command service SS H start and then press enter.
Okay.
How do we know that the service is running.
Actually we will type the command next that
minus and B and then we type it out to the grep command and we tell the grep command that print the
lines that have SS H and here you go you will see that SS H which is running on for twenty two is currently
active.
So if you want to disable the service it's very easy.
Instead of stopping you stop click.
And again and let's use the same command.
Let's start and type it out to SS H and here we go.
The service is not running it Service want to explore is the very practical edge TTP service which is
mainly used to host the website in our case or you're the user to download or click on a file that is
hosted on a website in order to download it and install it on their computer.
So again if you want to start the service it's service Apache to start and if you want to see if the
service is running you go to the same that start command and instead of SS h you type 5G too.
And here you go you will see the service Apache to running on port 80.
He can stop the service as well by using stop instead of start.
So it's pretty straightforward service.
The name of the service then start or stop.
Now we will see how to install services that are not available in the distribution such as FTB.
So if you go for example service the service is called off as FTB D.
Store it will tell you that the services is not available so it's actually it's not installed.
How do we install it.
We use the command API T minus get install F S FTB D for daemon.
And here you go.
It will take some time to us all the service.
Let's wait for a while.
So the service is now installed.
If you want to run the service as we did before service F A V S FTD type and how to verify if the service
is running.
We use the Net stat command F as FTB and here we go.
You'll see that the FTB service is running port 21 FTB services on.
So actually we're not be using it in this lesson or this course.
So I'll jointly uninstall it.
But the purpose was just showing you how to install and uninstall services that are not available in
the original distribution.
If you want to uninstall it you go a B to get remove the S P D and it will remove the service directly
now.
So how to start and stop services but this doesn't come handy for you every time.
For example you want to Akali for example to start a website or restart your services so there is a
way that to enable these services from starting up at time for this purpose we will use the command
or script update minus I see the D S S H enable.
So this command will enable SS H to start automatically at boot time.
We can do the same for the HDTV protocol as well.
Patch to enable and you can guess if you want to disable the service instead of the Enable.
Just like replace it was the command of
disable so it's pretty straightforward pretty easy.
Just get your self control this commands before going on to the next video.
Thank you.