分类号:TP315 U D C:D10621-408-(2007)5813-0
密 级:公 开 编 号:2003032079
成 都 信 息 工 程 学 院
学 位 论 文
基于 Linux 的远程管理系统客户端的实现
论文作者姓名:
徐斌
申请学位专业:
网络工程
申请学位类别:
工学学士
指导教师姓名(职称):
方睿(副教授)
论文提交日期:
2007 年 06 月 05 日
基于 Linux 的远程管理系统客户端的实现
摘 要
本系统分析了 Linux 操作系统的特点、远程管理的各种方法和 Webmin,并
给出了一个远程管理 Linux 服务器的具体实现方法。利用 PHP 语言来构建了一
个远程管理系统 —— PHP Webmin,以 Web 的形式来实现 Linux 服务器的远程
管理,简化了管理难度,并使管理方式更为灵活,从而达到了减轻系统管理员压
力,方便系统管理员管理服务器的目的。
在此系统中实现了文件操作管理、远程运行 shell 命令、对系统进程的监控、
对系统的关机/重启、对系统用户/组的操作、rpm 包组的管理、对网络参数的查
看与配置、对常见服务器的基本管理等功能。系统管理员可使用系统中的各功能
模对整个 Linux 服务器进行日常管理。此系统能够应用于对小型 Linux 服务器的
远程管理。
关键词:Linux;远程管理;Webmin;PHP
The implement of Client of the system of remote
management based on Linux
Abstract
The characteristics of the operating system of Linux, every method of remote
management and Webmin are analyzed and the details of implement of one of remote
management Server methods are given. The remote management system - PHP
Webmin is constructed by the language of PHP. The remote management is done
through the pages of Web, so it makes the remote management more simple and
flexible and the administrator feel less pressed and manages the Server more
conveniently.
There are many functions, such as the management of operation of files, using
command of shell remotely, watching the system, shutting down and rebooting the
system, the operation of users and groups of system, the management of groups of
packets of rpm, the checking of the parameters of network and the management of the
familiar Server have been implemented in the system. The administrator can manage
the Server of Linux by using the functions of this system. This system can be applied
to the remote management of small Server of Linux.
Key words: Linux; telecontrol; Webmin; PHP
目 录
论文总页数:23 页
1 引言............................................................................................................................................1
1.1 背景....................................................................................................................................1
1.2 当前现状............................................................................................................................1
1.3 选题意义............................................................................................................................1
1.4 设计模式............................................................................................................................2
2 LINUX 远程管理分析 ..............................................................................................................2
2.1 LINUX 操作系统 ..................................................................................................................2
2.1.1 Linux 究竟是什么? ..................................................................................................2
2.1.2 学习 Linux ...................................................................................................................2
2.2 LINUX 远程管理 ..................................................................................................................3
2.2.1 远程管理方法 ..............................................................................................................3
2.2.2 Webmin 初解 .................................................................................................................4
2.2.3 PHP Webmin - A simple webmin on PHP ................................................................5
3 需求分析....................................................................................................................................5
3.1 任务概述............................................................................................................................5
3.1.1 目标 ..............................................................................................................................5
3.1.2 工作模式 ......................................................................................................................6
3.1.3 运行环境 ......................................................................................................................6
3.1.4 编程语言 ......................................................................................................................6
3.1.5 用户特点 ......................................................................................................................6
3.2 具体需求............................................................................................................................6
3.2.1 功能需求 ......................................................................................................................6
3.2.2 系统流程 ......................................................................................................................7
4 总体设计....................................................................................................................................8
4.1 模块划分与功能设计........................................................................................................8
4.2 功能模块的初步设计........................................................................................................8
5 详细设计..................................................................................................................................10
5.1 服务器设计......................................................................................................................10
5.1.1 更改 Apache 配置 ......................................................................................................10
5.1.2 服务器特殊配置 ........................................................................................................11
5.2 命令操作模块设计..........................................................................................................12
5.2.1 功能描述 ....................................................................................................................12
5.2.2 界面设计 ....................................................................................................................12
5.2.3 工作流程 ....................................................................................................................12
5.3 系统操作模块设计..........................................................................................................13
5.3.1 功能描述 ....................................................................................................................13
5.3.2 界面设计 ....................................................................................................................13
5.3.3 工作流程 ....................................................................................................................15
6 系统安装使用与测试..............................................................................................................19
6.1 服务器设置......................................................................................................................19
6.2 使用系统..........................................................................................................................19
6.3 测试..................................................................................................................................19
6.3.1 基本测试 ....................................................................................................................19
6.3.2 功能测试 ....................................................................................................................20
结 论..........................................................................................................................................21
参考文献..........................................................................................................................................21
致 谢..........................................................................................................................................22
声 明..........................................................................................................................................23