"The Foundation of Information Security system Design" experiment Five

Source: Internet
Author: User

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:
    1. Master 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.
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.