1
00:00:00,570 --> 00:00:07,460
Now we will be discussing how to work with the LAMP stack so what is LAMP stack,

2
00:00:07,830 --> 00:00:18,960
Linux, Apache, Mariadb, PHP, that mean we can use that mysql also, but mysql and mariadb are based on almost

3
00:00:18,960 --> 00:00:19,340
same code.

4
00:00:19,650 --> 00:00:25,840
So these day Redhat based systems instead of mysql, mariadb is used.

5
00:00:26,310 --> 00:00:32,850
So, LAMP mean, LAMP, that mean on linux system.

6
00:00:33,120 --> 00:00:37,170
We have installed the apache also for databases.

7
00:00:37,170 --> 00:00:42,870
We are going to use Mariadb and for creating the dynamic page or application, we are going to use

8
00:00:43,110 --> 00:00:43,760
PHP.

9
00:00:44,070 --> 00:00:50,520
So here we will be just having the introduction of this lamp stack that we are going to create.

10
00:00:50,520 --> 00:01:00,630
One small application in PHP will be using the Mariadb database and we will be using the Apache server and all

11
00:01:00,630 --> 00:01:02,670
this we have implemented in linux.

12
00:01:02,850 --> 00:01:06,320
So it will give us the working example of Lamp stack.

13
00:01:06,360 --> 00:01:08,970
So it will help us in understanding the lamp stack.

14
00:01:09,420 --> 00:01:15,900
We are not going into great details about the lamp stack because this course is more about Apache Web

15
00:01:15,900 --> 00:01:16,320
server.

16
00:01:16,680 --> 00:01:24,110
But since apache is one major part of lamp stack, so we wanted to cover how this lamp stack works.

17
00:01:24,330 --> 00:01:33,030
So in this case we have again, we are going to use the lab in which we will be having the one IP address

18
00:01:33,030 --> 00:01:39,240
on this master.example.com, that is 172.24.0.1, here.

19
00:01:39,250 --> 00:01:41,040
We are going to implement the.

20
00:01:41,040 --> 00:01:48,660
apache, mariadb, php these packages we have already installed during the lab setup that mean

21
00:01:48,660 --> 00:01:50,040
Linux was already there.

22
00:01:50,040 --> 00:01:51,120
We installed the apache.

23
00:01:51,120 --> 00:01:54,690
We also we installed the Mariadb and PHP Also.

24
00:01:55,440 --> 00:02:02,160
Now here, instead of creating the index.html file, what file we are going to create, we are going

25
00:02:02,160 --> 00:02:06,680
to create the index.php file and in host file.

26
00:02:06,870 --> 00:02:14,160
We are going to make entry 172.24.0.1 and it will be the www.example.com www

27
00:02:14,160 --> 00:02:17,130
in all the three system.

28
00:02:17,580 --> 00:02:21,780
And here we will be using two configuration files.

29
00:02:22,110 --> 00:02:30,090
/etc/httpd/conf/httpd.conf and another file which is related to the PHP, that

30
00:02:30,090 --> 00:02:34,830
is /etc/httpd/conf/php.conf.

31
00:02:35,250 --> 00:02:38,720
And then we will go to the client, from Client.

32
00:02:38,730 --> 00:02:47,310
We can use this elinks dump command www.example.com to view the Page or we can with the slash we can

33
00:02:47,310 --> 00:02:49,020
specify the page also.

34
00:02:49,170 --> 00:02:56,610
So that is going to be our lab setup for understanding this Lamp stack.
