Beijing Institute of Electronic Technology (BESTI)
Real Inspection report
Course: Information Security system Design class: 1352
Name: Malmqvist No.: 20135235
Score: Instructor: Lou Jia Peng Experimental Date: 2015.12.8
Experiment level: Preview degree: Experiment time: 15:30-17:00
Instrument Group: Compulsory/Elective: compulsory test number: five
Experiment name: Simple embedded WEB server experiment
Experimental purposes and Requirements: (1) Mastering the process of implementing a simple WEB server in the ARM Development Board.
(2) Learn the SOCKET network programming on the ARM Development Board.
(3) Learn the use of the signal () function under Linux.
Experimental instrument:
Name |
Model |
Number |
Embedded development Platform |
Up-netarm2410-cl |
1 |
PC Machine |
|
1 |
First, the contents of the experiment:
1, learning to use the socket for communication programming process, to understand a real network communication application overall design, read the relevant content of the HTTP protocol, learn several important ways to use network functions.
2. Read and understand HTTPD. C source code. Add some additional features on this basis. Test the functionality of an embedded WEB server using a browser on a PC computer.
Second, the experimental steps:
1. Read and understand the source code
Enter the/HOME/BC/07_HTTPD directory,
Read and understand source code using VI Editor or other editor
2. Compiling the application
The makefile is modified first:
Then run make to generate the executable file httpd
3. Download and debug
Download the HTTPD to the Development Board using the NFS service and copy the test page for debugging
Enter the following code in HyperTerminal
4. Native Test
Enter http://192.168.0.121 in the desktop browser
(/192.168.0.121 is the IP address of the Up-cup S2410 Lab Board)
Third, the experimental summary:
This experiment is done very quickly, due to the previous several experiments, so the configuration of the environment variable is very familiar with, during a problem, make compile error, with the method in experiment 4 in/USR/SRC did not establish a Linux connection, and then change the makefile configuration, you can successfully compile , the mount of HyperTerminal does not appear to be wrong. This is the last experiment of this semester, the biggest harvest is not only in the experiment learned knowledge, but also learned that no matter what to do, should be careful, patience, rashness, can not be anxious!
The basic experiment of information security system design