分类号:TP315 U D C:D10621-408-(2007)5814-0
密 级:公 开 编 号:2003032071
成 都 信 息 工 程 学 院
学 位 论 文
基于 Linux 的远程管理系统服务器端的实现
论 文 作 者 姓 名 :
孙泽玺
申 请 学 位 专 业 :
网络工程
申 请 学 位 类 别 :
工学学士
指导教师姓名(职称):
方睿(副教授)
论 文 提 交 日 期 :
2007 年 06 月 10 日
基于 Linux 的远程管理系统服务器端的实现
摘要
该课题基于 Linux 操作系统,主要目的是使系统管理员的远程管理工作更加
方便、简单和友好。实现的主要功能有文件操作、命令操作、系统操作、进程操
作和网络操作,这些基本上涵盖了系统管理的各个方面。在设计上,采用了 B/S
结构,使得该系统可以方便的进行升级和方便用户从各种平台上对服务器进行访
问;采用了安全访问技术,使得访问和管理更加安全;采用了简单和美观的界面
显示技术,使得用户的浏览快捷和舒适。
该课题开发的系统需要安装运行在 Linux 系统的上,系统管理员可以在远程
利用浏览器进行登录,通过验证后就可以方便的对系统的运行状态进行查看,对
系统进行管理,对网络进行配置,对数据进行分析,要注意的是登录到本系统必
须用远程服务器的 root 权限和密码,而且为了保证系统的安全,防止出现意外
事件,管理员只能操作特定的任务。该课题的主要意义在于可以运用 PHP 进行系
统管理,开发的系统可以使系统管理员方便的管理远程系统。
关键词:远程管理;B/S 结构;安全访问;Linux;PHP
The implement on the server of Linux-based remote
management system
Abstract
The main purpose of the topic based on the Linux operating system is to enable
remote management of the system administrator more convenient, simple and friendly.
The main functions achieved are file operations, command operations, system
operations, process operations and network operations, that are basically covers the
management of the system in all its aspects. In design terms, it uses the B / S structure,
which makes it easy and convenient for users upgrading and visiting from a variety of
platforms; it uses the Safe Access technology, which make management and visiting
more secure; it uses a simple and beautiful interface display technology that enables
the user to browse it fast and comfortable.
The system developed in the topic need be installed on the Linux operating
system. System administrators can use the remote browser for landing, after validating
successfully, then can facilitate the operation of examining the system state, manage
the system, configure network, analysis data. It should be noted that the landing on the
system must use the root password of a remote server, and to ensure the safety of the
system to prevent accidents, administrators can only operate a specific tasks. The
main significance of the topic lies in the using PHP to manage system, and that
development of the system will enable the system administrator to facilitate the
management of remote system.
Key words: Remote Management; B/S structure; Safe Access; Linux; PHP
目 录
论文总页数:23 页
1 引言........................................................................................................................................1
1.1 课题背景............................................................................................................................1
1.2 国内外研究现状................................................................................................................1
1.3 本课题研究的意义............................................................................................................1
1.4 本课题的研究方法............................................................................................................2
2 需求分析................................................................................................................................2
2.1 任务概述............................................................................................................................2
2.1.1 开发目标........................................................................................................................2
2.1.2 开发工具.........................................................................................................................2
2.1.3 开发环境.........................................................................................................................3
2.1.4 开发人员.........................................................................................................................3
2.1.5 运行环境.........................................................................................................................3
2.1.6 条件限制.........................................................................................................................3
2.2 功能分析............................................................................................................................3
2.3 工作流程............................................................................................................................4
2.4 性能分析............................................................................................................................5
3 总体设计................................................................................................................................5
3.1 系统架构............................................................................................................................5
3.2 模块划分............................................................................................................................6
4 具体实现................................................................................................................................7
4.1 安全访问模块....................................................................................................................7
4.2 文件操作模块..................................................................................................................10
4.3 命令操作模块..................................................................................................................11
4.4 进程操作模块..................................................................................................................13
4.5 系统操作模块..................................................................................................................14
4.6 网络操作模块..................................................................................................................16
5 系统测试..............................................................................................................................18
5.1 安全访问模块..................................................................................................................18
5.2 文件操作模块..................................................................................................................18
5.3 命令操作模块..................................................................................................................19
5.4 进程操作模块..................................................................................................................19
5.5 系统操作模块..................................................................................................................19
5.6 网络操作模块..................................................................................................................19
结 论..........................................................................................................................................20
参考文献..........................................................................................................................................20
致 谢..........................................................................................................................................22
声 明..........................................................................................................................................23