The foundation of Information Security system design experiment five simple embedded Web server experiment
- Class: 1452
- Name: 20415208 Cai No 20145235 li Tao 20145230 Xung Jiawei
- Date of experiment: 2016.12.1
- Time: 10:10-12:30
- Experiment Number: 5
- Experimental Purpose:
- Master the process of implementing a simple WEB server in the ARM Development Board.
- Learn the SOCKET network programming on the ARM Development Board.
- Learn the use of the signal () function under Linux.
Experiment content Read and understand source code
Go to the/ARM2410CL/EXP/BASIC/07_HTTPD directory and read the source code using the VI editor or other editor.
Compiling the application
Run make to generate the executable file httpd.
Make error, need to create a bin folder
Make error because the terminal was closed before, re-source a bit can be made
Download Debug
Use the NFS service to download the httpd to the Development Board and copy the test page for debugging, in this case the index test page.
Native test
Enter http://192.168.0.111 (111 for the IP address of the Up-cup S2410 Lab board) in the desktop browser to observe the connection request results (2.7.8) in the client's browser and the print information for the server on the Development Board.
Enter HTTP://192.168.0.121/to get the result of the connection request from the client's browser.
Desktop Page Results
"The Foundation of Information Security system Design" experiment Five