WEBVTT

00:01.150 --> 00:07.560
In Linux terminology, there was an application that runs in the background waiting for you to use it.

00:08.040 --> 00:11.130
So your Linux system has dozens of services pre-installed.

00:11.730 --> 00:19.620
Of this, the most known, most well-known is the big you choose a punch web server, which is used

00:19.860 --> 00:22.650
for creating, managing and deploying web servers.

00:22.950 --> 00:27.420
But there are so many more for the purposes of this lecture.

00:27.850 --> 00:28.330
Um.

00:30.930 --> 00:39.720
Uh, is of this lecture on services I have selected just for that are, uh, of particular importance

00:39.720 --> 00:43.500
to the hacker Apache Web server open access.

00:44.400 --> 00:48.730
Uh, my scale and posterior escrow for serious, you know.

00:49.170 --> 00:55.200
So in this lecture, you will learn how to set up a web server, uh, with, uh, physical aspi with

00:55.200 --> 01:02.620
open storage and access with the my skill set in storage or hacking information with PostgreSQL.

01:03.240 --> 01:05.760
So starting, stopping and restarting services.

01:06.210 --> 01:11.850
So before we begin to work with these, uh, for critical, uh, circle our services, let's start by

01:11.850 --> 01:15.660
examining how to start, stop and restore services in Linux.

01:16.260 --> 01:22.080
Some services come as stopped and start with a graphical user interface and color Linux, much as you

01:22.080 --> 01:28.770
will, uh, on an operating system like Windows or Mac Home, where some services require, uh, use

01:28.770 --> 01:31.450
of the command line, which we will look at here.

01:31.470 --> 01:35.580
So here and here is the basic syntax of service this year.

01:35.580 --> 01:38.640
Service, uh, server is here.

01:39.120 --> 01:40.200
Serve its name.

01:41.920 --> 01:47.770
Name, start, uh, start, stop or restart.

01:49.170 --> 01:49.560
Yes.

01:51.390 --> 01:59.900
So this is the basic syntax of managing services who start the epic two server web server or hashed

01:59.910 --> 02:00.960
ITBP servers.

02:01.500 --> 02:05.340
You will enter here server service here.

02:05.790 --> 02:07.830
Apache2 to start.

02:10.360 --> 02:17.920
And enter your password, carry a password here to stop the server override service.

02:19.460 --> 02:20.410
Perpetual.

02:22.230 --> 02:22.680
Stop.

02:24.810 --> 02:29.340
Like that and enter your comment, you password, actually.

02:30.360 --> 02:35.640
So usually when you make a configuration change to an application or service by altering its plaintext

02:35.640 --> 02:42.570
configuration file, you need to restart the service to capture, um, the new configuration.

02:42.900 --> 02:44.400
He'll make that risk card.

02:44.670 --> 02:45.720
Here it is.

02:45.720 --> 02:47.970
You will enter here this comment.

02:48.390 --> 02:54.630
So not now that you understand how to start, stop and restart services from the command line.

02:54.810 --> 03:01.020
So let's move onto the four more subcritical critical linked services to hackers.

03:01.560 --> 03:05.040
So let's create and how should you be a server which appear to have server?

03:05.490 --> 03:10.350
So the official web server is probably the most commonly used service on the Linux systems.

03:10.890 --> 03:15.310
So a pitch is formed over 60 percent of the world's web servers.

03:15.310 --> 03:22.230
So any self-respecting Linux administrator should be familiar with it as they could aspiring to hack

03:22.230 --> 03:22.860
web sites.

03:23.190 --> 03:28.980
It's critical to understand the inner workings of a patch, websites and the bacon database of these

03:28.980 --> 03:29.460
sites.

03:29.940 --> 03:38.400
So you can also, uh, you can also use a patch to set up your own server from which you called serve,

03:38.520 --> 03:46.560
um, malware via cross-site scripting accesses to anyone who visits your site or you call cloning websites

03:46.560 --> 03:49.250
and redirect traffic to your site.

03:49.260 --> 03:52.000
The abuse of the domain name system DNS.

03:52.710 --> 03:58.170
So in either of these cases, your basic knowledge is of a pitch is required.

03:58.530 --> 04:03.110
So let's start and batch if you have a color, uh, running on your system.

04:03.450 --> 04:04.860
Apache is already installed.

04:05.190 --> 04:09.150
So many other Linux distros have it installed by default as well.

04:09.420 --> 04:15.330
If you don't have a patch installed, you can download and install it from the repositories by entering,

04:15.660 --> 04:17.850
uh, sudo aptitude.

04:17.850 --> 04:24.600
Install and install a patch to and enter your password here.

04:25.140 --> 04:31.910
As you can see here, there's a I have an update to do, so I will update here.

04:31.920 --> 04:33.240
It's actually not.

04:33.240 --> 04:37.710
A big update is, uh, 76 kilobytes, uh, update.

04:37.920 --> 04:41.010
So it will, uh, complete now.

04:43.090 --> 04:43.450
So.

04:45.160 --> 04:52.390
Uh, the Apache Web server is often associated with the my school database, which we will look at in

04:52.390 --> 04:53.440
the next lectures.

04:53.860 --> 05:03.340
And these two services are very often paired with a scripting language such as Pear or IBM to develop

05:03.340 --> 05:04.300
web applications.

05:04.600 --> 05:12.280
This combinations of Linux, Apache, Uh, Maya, Skill, Linux and Pure Peril forms a powerful and

05:12.280 --> 05:19.330
robust platform for the development and deployment of web based applications known as like a ampm.

05:19.870 --> 05:26.200
So these are the, uh, most widely used tools for developing websites in the Linux fold, and they

05:26.200 --> 05:28.900
are very popular in the Microsoft tool.

05:29.350 --> 05:34.720
So, uh, where they are generally referred to as double ampere.

05:35.050 --> 05:39.790
Uh uh, with the We Stand W for standing for windows.

05:40.210 --> 05:43.690
So the first step, of course, is to start a patch.

05:43.690 --> 05:44.170
-- on.

05:44.170 --> 05:45.370
So let's get started.

05:45.820 --> 05:49.690
So in Kaleem Co, two applications here.

05:50.230 --> 05:52.210
Um, services here.

05:54.310 --> 05:56.110
OK, services.

05:57.450 --> 06:05.880
Here and typically, yeah, or we can just, uh, accomplish the same from the common line by entering,

06:06.180 --> 06:10.710
uh, services, uh, attached to actually.

06:12.480 --> 06:18.240
Ross, yes, this service attached to start here.

06:18.690 --> 06:25.270
So we start a virtual service, know that the pitch is running, it should be able to serve up actually

06:25.320 --> 06:29.490
its intercom on there, so it should be able to serve up its default web page.

06:29.490 --> 06:31.950
So open our web browser here.

06:32.150 --> 06:41.190
Yeah, it's uh, actually as Firefox, Mozilla, Firefox and enter the localhost domain or localhost

06:41.190 --> 06:42.630
domain here.

06:45.300 --> 06:48.150
Here, uh, local or state here.

06:48.720 --> 06:59.020
And this you can see here, our local host is working for a local who is the same as 127.0.0.1 here.

06:59.040 --> 07:07.230
As you can see here, there's, uh, redirecting to the same, um, web page because we just started

07:07.230 --> 07:11.910
our special, uh, web server here as you can see our pitch to to be in default page.

07:12.210 --> 07:18.180
So this is the default page used to test the correct operation of the Pitch Tool server after installation

07:18.360 --> 07:19.530
on Debian systems.

07:19.980 --> 07:25.710
If you can read this message, it means that the Apache, uh, Charlotte Observer installed at this

07:25.710 --> 07:27.840
site and is working properly.

07:29.700 --> 07:40.470
So let's edit the index hushed image file, a patch default web page is them is at see the Verge Double

07:40.470 --> 07:44.400
W W Hashed email and cached the email here.

07:44.400 --> 07:46.510
And as you can see, there's an index of steam.

07:46.530 --> 07:54.360
So this is default web page we see in here so you can edit the unnecessary email file to serve up whatever

07:54.360 --> 07:55.460
information you want.

07:55.470 --> 07:57.060
So let's create our own here.

07:57.360 --> 07:58.740
So pseudo here.

07:59.520 --> 08:05.160
Actually, we don't need to the right mouse pad index that harsh team.

08:06.920 --> 08:09.050
As you can see, we opened our eyes.

08:09.320 --> 08:14.600
It's $3 million, so we don't operate normally when you write this file, so.

08:16.200 --> 08:17.250
Um, so.

08:18.840 --> 08:24.180
Not at the default, the pitcher has exactly the text that was displayed when we opened our browser

08:24.390 --> 08:25.170
to localhost.

08:25.380 --> 08:29.250
But in the extreme of form of this, you can see it appears to default.

08:29.590 --> 08:30.870
Page four See it!

08:32.900 --> 08:33.260
So.

08:35.340 --> 08:42.480
All we need to do is to edit or replace this file, to have our web server display the information we

08:42.480 --> 08:43.380
want, for example.

08:43.680 --> 08:44.660
We can change it.

08:44.940 --> 08:46.300
We will change it completely.

08:46.340 --> 08:55.620
But for example purposes, I will change it, for example, um uh, hacking, uh, training course.

08:56.160 --> 09:02.670
Uh, take that chrome, for example, that Chrome and let's restart our server here.

09:03.890 --> 09:04.410
Make sure.

09:08.390 --> 09:10.670
Making training, as you can see it here in training.

09:11.390 --> 09:17.840
Uh, code-switching title of it, which is unless change inside of latex actually as well.

09:18.650 --> 09:19.580
Page the.

09:22.090 --> 09:22.990
So here.

09:24.120 --> 09:24.660
Here.

09:27.600 --> 09:29.250
And tears well.

09:32.030 --> 09:34.520
So let's check ups, I'm sorry.

09:40.220 --> 09:40.520
Here.

09:41.790 --> 09:42.540
So now.

09:44.070 --> 09:46.800
We can change, actually.

09:49.610 --> 09:55.100
Here, that sentiment and as you can see, her acting training course, technical come here.

09:55.520 --> 09:57.730
We changed it here.

09:57.740 --> 10:02.990
So let's add the latest victim of file and add an existing file.

10:03.260 --> 10:09.260
No, that we have this web server up and running at the index extremophile open so we can add whatever

10:09.860 --> 10:13.400
text we like to the web server to serve up.

10:13.910 --> 10:16.700
So we will create some simple entertainment blogs.

10:17.090 --> 10:19.190
So let's create this page here.

10:19.640 --> 10:25.160
Um, with the latest here and uh, let's open our tech search.

10:25.160 --> 10:29.750
So Teemo, uh, by the tank here.

10:29.750 --> 10:40.320
By this is actually increase it a the remote by the body and the list calls it your buddy here, uh,

10:40.380 --> 10:42.890
clothes or you other team as well.

10:43.490 --> 10:47.390
So here it's of either one.

10:47.660 --> 10:48.860
Uh, here here.

10:48.860 --> 10:49.430
And.

10:51.180 --> 10:57.420
We're actually in the wrong here, and he was born here, so.

11:00.410 --> 11:02.870
So, for example, uh.

11:04.950 --> 11:13.830
Take pills is, uh, taking it's best to learn from.

11:14.070 --> 11:16.050
Take bins here, for example.

11:16.530 --> 11:17.060
So, um.

11:19.940 --> 11:22.070
For example, this paragraph here as well.

11:24.010 --> 11:25.220
Up here.

11:27.110 --> 11:30.950
If you want to learn hacking.

11:31.960 --> 11:41.680
Uh, tech is not calling you to me, but come here, for example, and let's add another, uh, paragraph,

11:42.040 --> 11:43.390
uh, paragraph here.

11:43.810 --> 11:44.410
So.

11:46.290 --> 11:46.890
Uh.

11:48.400 --> 11:56.700
You are the you are in the best place to learn something.

11:58.630 --> 12:01.210
Or hacking spatial.

12:02.680 --> 12:03.010
Here.

12:04.410 --> 12:10.800
So once you enter the text, exactly or you can change, uh, whatever you want here.

12:11.680 --> 12:18.540
Uh, save file here by, uh, control plus save is, uh, clicking in keyboard here.

12:18.540 --> 12:22.380
Or you can save you're just clicking on this here.

12:22.680 --> 12:25.650
So let's restart it unless you can see here.

12:26.340 --> 12:28.230
Um, see what happens?

12:28.470 --> 12:34.950
So then we get your browser runs again and enter, uh, localhost or your IP and look alive here this

12:34.950 --> 12:35.190
year.

12:35.190 --> 12:37.830
As you can see here, we change it.

12:38.010 --> 12:40.680
So, um, now let's.

12:42.910 --> 12:45.550
To learn, uh, how open is to.

12:46.240 --> 12:48.220
And um.

12:54.050 --> 12:59.570
Something here, for example, my escape less well here and other information here.

13:06.100 --> 13:11.410
So and in later lectures, there was a creator Raspberry Pi application as well.

13:12.220 --> 13:15.340
So our lecture is done here.

13:15.520 --> 13:20.850
So Linux has no services that are in the back run until the user needs them.

13:20.920 --> 13:28.140
So the Apache Web server is the most widely used, but a hacker for the familiar with my eskdale a situation

13:28.210 --> 13:31.420
post a squirrel here for various tasks, too.

13:31.840 --> 13:38.560
So you will learn more more and more MySchool about my skills and Apache server here.

13:39.070 --> 13:43.570
So this is just this wasn't just basic example here.

13:44.050 --> 13:49.900
So in this lecture, we cover the absolute basics of getting started with these services.

13:50.260 --> 13:55.270
Once you are comfortable, comfortable with your learning system, I urge you to go out and explore

13:55.270 --> 13:56.920
each of these services further.
