你好,欢迎来到经管之家 [登录] [注册]

设为首页 | 经管之家首页 | 收藏本站

一种远程管理Linux系统工具的设计与实现_计算机专业论文

发布时间:2015-01-22 来源:人大经济论坛
计算机专业论文范文 摘 要 现在,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 become 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. The communication 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 manage the system remotely. Key words: Linux;System Servers;C/C++;GTK;System Call;Socket 目 录 1引言1 1.1课题背景1 1.2国内外研究现状1 1.3本课题研究的意义1 1.4本课题的研究方法1 2GTK编程1 2.1GTK简介1 2.2常用的GTK构件3 3Linux系统调用6 3.1Linux系统文件6 3.2如何从文件中读取数据6 3.3进程和线程的使用7 4基本的套接口编程7 4.1概述7 4.2简单的网络编程8 5程序设计和流程图10 5.1设计思路10 5.2服务程序10 5.2.1流程设计10 5.2.2功能模块11 5.3客户程序20 5.3.1设计思路20 5.3.2程序设计20 6系统测试30 结 论31 参考文献31 致 谢32 声 明33
经管之家“学道会”小程序
  • 扫码加入“考研学习笔记群”
推荐阅读
经济学相关文章
标签云
经管之家精彩文章推荐