In Linux terminology, there was an application that runs in the background waiting for you to use it.
So your Linux system has dozens of services pre-installed.
Of this, the most known, most well-known is the big you choose a punch web server, which is used
for creating, managing and deploying web servers.
But there are so many more for the purposes of this lecture.
Um.
Uh, is of this lecture on services I have selected just for that are, uh, of particular importance
to the hacker Apache Web server open access.
Uh, my scale and posterior escrow for serious, you know.
So in this lecture, you will learn how to set up a web server, uh, with, uh, physical aspi with
open storage and access with the my skill set in storage or hacking information with PostgreSQL.
So starting, stopping and restarting services.
So before we begin to work with these, uh, for critical, uh, circle our services, let's start by
examining how to start, stop and restore services in Linux.
Some services come as stopped and start with a graphical user interface and color Linux, much as you
will, uh, on an operating system like Windows or Mac Home, where some services require, uh, use
of the command line, which we will look at here.
So here and here is the basic syntax of service this year.
Service, uh, server is here.
Serve its name.
Name, start, uh, start, stop or restart.
Yes.
So this is the basic syntax of managing services who start the epic two server web server or hashed
ITBP servers.
You will enter here server service here.
Apache2 to start.
And enter your password, carry a password here to stop the server override service.
Perpetual.
Stop.
Like that and enter your comment, you password, actually.
So usually when you make a configuration change to an application or service by altering its plaintext
configuration file, you need to restart the service to capture, um, the new configuration.
He'll make that risk card.
Here it is.
You will enter here this comment.
So not now that you understand how to start, stop and restart services from the command line.
So let's move onto the four more subcritical critical linked services to hackers.
So let's create and how should you be a server which appear to have server?
So the official web server is probably the most commonly used service on the Linux systems.
So a pitch is formed over 60 percent of the world's web servers.
So any self-respecting Linux administrator should be familiar with it as they could aspiring to hack
web sites.
It's critical to understand the inner workings of a patch, websites and the bacon database of these
sites.
So you can also, uh, you can also use a patch to set up your own server from which you called serve,
um, malware via cross-site scripting accesses to anyone who visits your site or you call cloning websites
and redirect traffic to your site.
The abuse of the domain name system DNS.
So in either of these cases, your basic knowledge is of a pitch is required.
So let's start and batch if you have a color, uh, running on your system.
Apache is already installed.
So many other Linux distros have it installed by default as well.
If you don't have a patch installed, you can download and install it from the repositories by entering,
uh, sudo aptitude.
Install and install a patch to and enter your password here.
As you can see here, there's a I have an update to do, so I will update here.
It's actually not.
A big update is, uh, 76 kilobytes, uh, update.
So it will, uh, complete now.
So.
Uh, the Apache Web server is often associated with the my school database, which we will look at in
the next lectures.
And these two services are very often paired with a scripting language such as Pear or IBM to develop
web applications.
This combinations of Linux, Apache, Uh, Maya, Skill, Linux and Pure Peril forms a powerful and
robust platform for the development and deployment of web based applications known as like a ampm.
So these are the, uh, most widely used tools for developing websites in the Linux fold, and they
are very popular in the Microsoft tool.
So, uh, where they are generally referred to as double ampere.
Uh uh, with the We Stand W for standing for windows.
So the first step, of course, is to start a patch.
-- on.
So let's get started.
So in Kaleem Co, two applications here.
Um, services here.
OK, services.
Here and typically, yeah, or we can just, uh, accomplish the same from the common line by entering,
uh, services, uh, attached to actually.
Ross, yes, this service attached to start here.
So we start a virtual service, know that the pitch is running, it should be able to serve up actually
its intercom on there, so it should be able to serve up its default web page.
So open our web browser here.
Yeah, it's uh, actually as Firefox, Mozilla, Firefox and enter the localhost domain or localhost
domain here.
Here, uh, local or state here.
And this you can see here, our local host is working for a local who is the same as 127.0.0.1 here.
As you can see here, there's, uh, redirecting to the same, um, web page because we just started
our special, uh, web server here as you can see our pitch to to be in default page.
So this is the default page used to test the correct operation of the Pitch Tool server after installation
on Debian systems.
If you can read this message, it means that the Apache, uh, Charlotte Observer installed at this
site and is working properly.
So let's edit the index hushed image file, a patch default web page is them is at see the Verge Double
W W Hashed email and cached the email here.
And as you can see, there's an index of steam.
So this is default web page we see in here so you can edit the unnecessary email file to serve up whatever
information you want.
So let's create our own here.
So pseudo here.
Actually, we don't need to the right mouse pad index that harsh team.
As you can see, we opened our eyes.
It's $3 million, so we don't operate normally when you write this file, so.
Um, so.
Not at the default, the pitcher has exactly the text that was displayed when we opened our browser
to localhost.
But in the extreme of form of this, you can see it appears to default.
Page four See it!
So.
All we need to do is to edit or replace this file, to have our web server display the information we
want, for example.
We can change it.
We will change it completely.
But for example purposes, I will change it, for example, um uh, hacking, uh, training course.
Uh, take that chrome, for example, that Chrome and let's restart our server here.
Make sure.
Making training, as you can see it here in training.
Uh, code-switching title of it, which is unless change inside of latex actually as well.
Page the.
So here.
Here.
And tears well.
So let's check ups, I'm sorry.
Here.
So now.
We can change, actually.
Here, that sentiment and as you can see, her acting training course, technical come here.
We changed it here.
So let's add the latest victim of file and add an existing file.
No, that we have this web server up and running at the index extremophile open so we can add whatever
text we like to the web server to serve up.
So we will create some simple entertainment blogs.
So let's create this page here.
Um, with the latest here and uh, let's open our tech search.
So Teemo, uh, by the tank here.
By this is actually increase it a the remote by the body and the list calls it your buddy here, uh,
clothes or you other team as well.
So here it's of either one.
Uh, here here.
And.
We're actually in the wrong here, and he was born here, so.
So, for example, uh.
Take pills is, uh, taking it's best to learn from.
Take bins here, for example.
So, um.
For example, this paragraph here as well.
Up here.
If you want to learn hacking.
Uh, tech is not calling you to me, but come here, for example, and let's add another, uh, paragraph,
uh, paragraph here.
So.
Uh.
You are the you are in the best place to learn something.
Or hacking spatial.
Here.
So once you enter the text, exactly or you can change, uh, whatever you want here.
Uh, save file here by, uh, control plus save is, uh, clicking in keyboard here.
Or you can save you're just clicking on this here.
So let's restart it unless you can see here.
Um, see what happens?
So then we get your browser runs again and enter, uh, localhost or your IP and look alive here this
year.
As you can see here, we change it.
So, um, now let's.
To learn, uh, how open is to.
And um.
Something here, for example, my escape less well here and other information here.
So and in later lectures, there was a creator Raspberry Pi application as well.
So our lecture is done here.
So Linux has no services that are in the back run until the user needs them.
So the Apache Web server is the most widely used, but a hacker for the familiar with my eskdale a situation
post a squirrel here for various tasks, too.
So you will learn more more and more MySchool about my skills and Apache server here.
So this is just this wasn't just basic example here.
So in this lecture, we cover the absolute basics of getting started with these services.
Once you are comfortable, comfortable with your learning system, I urge you to go out and explore
each of these services further.