1
00:00:00,420 --> 00:00:03,400
You can test the application from the client system.

2
00:00:03,440 --> 00:00:06,450
Also, we will be using the C10 system again.

3
00:00:06,460 --> 00:00:10,440
We are going to use that elinks --dump http://ip address.

4
00:00:10,770 --> 00:00:18,480
of the site, it is going to display the data or you can use /index.php, you can specify the

5
00:00:18,690 --> 00:00:23,950
name of the application also, or we can use by the name also.

6
00:00:24,090 --> 00:00:30,720
So it is going to fetch the data and then when we are going to view the log file, it is going to give

7
00:00:30,720 --> 00:00:32,450
you the useful information.

8
00:00:32,790 --> 00:00:37,340
That means log files are your error log file is there.

9
00:00:37,800 --> 00:00:45,900
Then we have got, your access log files are there, both log files give you very useful

10
00:00:45,900 --> 00:00:50,340
information from which addres we have connected at what time we connected.

11
00:00:50,760 --> 00:00:56,760
And if there is some error, it is going to show up in our error log file.

12
00:00:56,970 --> 00:01:03,600
So let us go into your C10 system, from C10 system.

13
00:01:03,750 --> 00:01:09,510
What we are going to do, we are going to specify it is dumping the data.

14
00:01:09,810 --> 00:01:16,080
We can specify the IP address also 172.24.0.1.

15
00:01:16,890 --> 00:01:18,480
Again, it will dump the data.

16
00:01:18,840 --> 00:01:24,120
You can specify the name of the file also index.php sometime.

17
00:01:24,130 --> 00:01:27,330
It is useful when you have not given the name index.php.

18
00:01:28,200 --> 00:01:31,070
suppose you have given the file name ABC.

19
00:01:31,380 --> 00:01:37,920
So by default, when we are going to run this or this, that will not get display so we can check by using

20
00:01:37,920 --> 00:01:38,100
this.

21
00:01:38,100 --> 00:01:43,140
Command then we will like to see the log files.

22
00:01:43,500 --> 00:01:46,750
So we are going to open the tail.

23
00:01:46,770 --> 00:01:57,420
/var/log/httpd/error_log file is there.

24
00:01:57,690 --> 00:02:00,210
It is going to show the various errors.

25
00:02:01,460 --> 00:02:08,380
In our case, no error was there, then we have got access_log with us so we can view that log,

26
00:02:08,390 --> 00:02:17,600
also assess_log the file is, again all the log files regarding http are in /var/log/http

27
00:02:17,600 --> 00:02:18,350
directory.

28
00:02:19,490 --> 00:02:25,730
So it is showing us that we access from 10 system earlier.

29
00:02:25,730 --> 00:02:27,580
We have access from the one system.

30
00:02:27,740 --> 00:02:29,840
So it is going to show you the log file.

31
00:02:30,230 --> 00:02:32,840
So it was our LAMP application.

32
00:02:33,000 --> 00:02:35,960
We have not gone into very deep details.

33
00:02:36,230 --> 00:02:39,320
We just wanted to give you the introduction of LAMP stack.

34
00:02:39,740 --> 00:02:42,780
In our case, Lamp stack is working properly.

35
00:02:42,880 --> 00:02:45,890
our simple application is working properly.
