Beijing Institute of Electronic Technology (BESTI)
Real Inspection report
Course: Information Security system Design Basic class: 1353
Name: 20135303 Wei Hao Qing
School Number: 20135326 King can also
Score: Instructor: Lou Jia Peng Experimental Date: 2015.12.03
Experiment level: Preview degree: Experiment time: 15:30~18:00
Instrument Group: Compulsory/Elective: Compulsory Test number: 5
Experiment Name: 2.7 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 |
Computer |
|
1 |
Embedded development Platform |
Up-netarm2410-cl |
1 |
Experiment contents, steps and experience:
1. Configure the lab environment
2. Read and understand the experimental source code.
Go to the 07_HTTPD folder and use the VI Editor to read the source code.
3. Compiling the application
4. Download and debug
Use the NFS service mode to download the HPPTD to the Development Board and copy the test page for debugging. (Forget it here)
Use the following command:
Mount-t nfs-o nolock 192.168.0.234:/home/bc/host (instructions in the manual using the/root/bc/host command)
Enter the./httpd command after entering the 07_HTTPD directory
5. Native debugging
Enter http://192.168.0.121 in the desktop browser to observe the results of the connection request in the client's browser and the print information for the server on the Development Board
Problems encountered during the experiment and solutions
An error occurred during the use of make compilation, such as:
Workaround:
There are two workarounds, one is that the server code is compiled with a cross compiler, the client code is compiled with GCC, and the other is to modify the makefile file.
We are taking the second approach, such as:
Experiment 5 simple embedded Web server Experimental report 20135303 20135326