嵌入式 WEB 服务器摘 要Linux 操作系统是一个开放源代码的免费操作系统,它不仅有安全、稳定、成本低的特点,而且很少发现有病毒传播。近年来,随着 linux 操作系统在我国的不断普及,越来越多的服务器、工作站和个人电脑开始使用 linux 软件。基于 linux 具有稳定、可靠、安全和强大的网络功能这些优点,本文选择在 linux 环境下实现一个 Web服务器。本文讨论了 HTTP 协议实现了数据的传输,阐述了采纳 linux 套接字编程接口的方法实现 HTTP 协议的方案,详细分析了客户端和服务器之间的通信过程。本文在 linux系统下实现一个 Web 服务器程序,在局域网内,将此服务器程序在一台计算机上运行,使网内其它计算机访问这台服务器时,实现客户端和服务器以 HTTP 协议进行请求和响应的功能。此外还编写了 Web 浏览器。Web 服务器实现的全部代码采纳 linux 下的 C 语言编程,可进一步提高系统运行速度,并且增强了系统的安全性和可靠性。Web 浏览器代码是采纳 C++和 Qt 的编程,界面设计是用 Qt 实现的。关键词:嵌入式;linux 操作系统;HTTP 协议;Web 服务器;Socket;Internet;QtEmbedded WEB serverABSTRACTThe Linux operate system is a free operate system which opens asource code.Not only it has characteristics such as safe,stability,and the low cost,but also it seldom dissemiantes the Virus. In recent years,along with the Linux operatesystem in our country makes widely available continuously,more and more servers,work stations and personal computer start using Linux software.As the Linux operting system has the function of stable reliable,safe and formidable network,to realize a Web server in the Linux environment is the best choice.This paper introduces design and implement of Web server in Linux operating system. The problem of how to realize data transmission by HTTP protocol which based on Linux is valuable to research. This paper expounds realizing scheme for HTTP protocol, and gives out protocol communication module,wih the method of Linux socket programming intefface, a...