基于WebServer的Linux远程登录系统的设计与实现

2017-11-15 23:12:34苏开红肖乐
电脑知识与技术 2017年28期

苏开红+肖乐

摘要:该系统设计的是一款基于WebServer的Linux远程登录软件,该软件适用于Unix内核的任何Linux系统。采用了B/S架构,使用Java和C语言作为开发语言,使用到的主要技术有:Java网络编程、多线程、模块化设计思想、C语言的多进程、Unix环境高级编程、伪终端编程。前台使用到的技术有:CSS、Html5、jquery。该系统以Web的形式展现在用户面前,使用方便快捷,用户只需打开浏览器即可登录连接,不需要安装客户端软件,大大方便了用户,节约了时间,也减去开发和维护客户端的成本。系统还具有扩展功能和扩展协议,以适应更加复杂的需求。软件系统拥有良好的稳定性和可靠性,是系统管理员和运维工程师与Linux服务器打交道的利器。

关键词:Java;Linux;远程登录;WebServer

中图分类号:TP311 文献标识码:A 文章编号:1009-3044(2017)28-0101-04

Abstract: This is a Linux remote login system Based on WebServer, the software can be used in the Unix kernel for any Linux system. Java and C language as the development language. The main technologies used in the system are: Java network programming, multi threading, modular design, multi process of C language, Unix advanced programming environment, pseudo terminal programming. Front desk Technology: CSS, Html5, jquery.

This system used the B/S framework in the form of Web display in front of the user, users can login only need to open the browser, do not need to install client software, which greatly facilitates the user, also save time and minus the cost of developing and maintenance of the client. The system also has scalability, can extend the function, but also can expand the protocol to adapt to more complex needs. The software system has good stability and reliability. It is a tool to deal with the Linux server personnel, whether it is a system administrator or maintenance engineer.

Key words: java; linux; remote login; WebServer

1 背景

在工作、生活当中,总有一批人与服务器打交道,他们或是系统管理员,或是运维工程师,又或是程序员。而与服务器打交道不可避免的事情就是远程登录。远程登录,就是以当前计算机连接登录远在他方的计算机(可以是局域网中的某台计算机,也可以是因特网上的计算机),从而可在当前计算机操作远方的计算机,比如人们熟知的Telnet,SSH等,这些传统的C/S架构的系统,使用起来虽然很简单方便,但是往往在使用之前需要安装一个客户端软件,客户端软件又受操作系统影响,不同的操作系统需要安装不同的客户端软件。这些问题不仅降低了用户的体验,还增加了开发、维护客户端的成本。而如今是WEB的天下,如果远程登录使用B/S架构的WEB来实现,还是比较有意义的。……

登录APP查看全文