Experiment 5 simple embedded Web server Experimental report 20135303 20135326

Source: Internet
Author: User

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

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.