文档介绍:分类号: U D C:D10621-408-(2007)5913-0
密级:公开编号:2003032045
成都信息工程学院
学位论文
一种远程管理Linux系统工具的设计与实现
论文作者姓名:
程富超
申请学位专业:
网络工程
申请学位类别:
工学学士
指导教师姓名(职称):
刘嘉勇(教授)
论文提交日期:
2007年06月10日
一种远程管理Linux系统工具的设计与实现
摘要
现在,Linux已经是应用比较广泛的操作系统之一,在其系统中有很多的服务。为了实现远程配置和管理Linux中的各种服务,需要有一种远程管理Linux系统的工具软件,Webmin就是一种较好的B/S模式软件,而该课题以C/S模式实现。该工具主要功能实现对Linux系统用户和组的添加、修改和删除;对系统应用服务(如:DNS、FTP、Apache、系统启动服务管理)进行管理和配置,这些服务的远程配置主要是通过修改服务配置文本文件来实现的。该远程管理工具选用C/S模式设计,在客户端,采用GTK编程来实现操作界面;在服务器端,选用Linux系统的文件调用函数来读写配置文件中的数据;采用Sock TCP编程来实现客户端和服务端之间的数据通信。通过系统测试后,完成预期的目标,但是需要进一步完善程序和考虑安全性后,方可应用于实际的远程管理。
关键词:Linux;系统服务;C/C++;GTK;系统调用;Socket
The Design and Implementation of a Remote Management Tool for Linux
Abstract
The operating system of Linux has e one of the most popular operating systems nowadays. It provides many kinds of service. In order to configure and manage the service remotely, the tool of remote management of the operating system of Linux is needed. Webmin is a good tool of software based on the model of B/S. This design is implemented based on the model of C/S. The main functions of the system include addition, modification, deletion of users and groups of Linux operating system and configuration and management of the service of application of the system, such as the DNS, FTP, Apache and the management of booting service. The remote management of service is implemented by modifying the files of configuration. The model of C/S is selected by this system. In the Client, the operating interface is made by the programming of GTK. In the Server, the functions of transferring of files of Linux operating system are used to write and read the data of the configuration files. munication of Client and Server is implemented by the programming of Sock TCP. The testing demonstrates that the system has reached the prospective goal. But lots of improvements should be made and the problems of security should be considered more. After being modified and perfected, the system can be used to