方辉++曲俊杰
摘 要: 对服务器进行管理和维护是网络管理员的重要工作,但由于服务器通常不在本地,且Windows与Linux操作系统之间存在文件资源共享问题。VNC可以实现远程使用X-Window控制Linux系统,而Samba可以实现Linux与Windows系统中资源共享,文章通过实际操作进行了测试验证。结果表明,这种集成管理提高了Windows和Linux的操作使用效率,是异构网络环境下很好的解决方案。
关键词: VNC服务; Samba服务; 用户控制; Linux
中图分类号:TP311 文献标志码:A 文章编号:1006-8228(2016)11-48-03
Research on Windows users controlling Linux system via VNC and Samba
Fang Hui, Qu Junjie
(Guangxi Crop Genetic Improvement and Biotechnology Lab, Nanning, Guangxi 530007, China)
Abstract: The management and maintenance of the server is the important work of network administrator, but the server is not usually in the local, and the Windows and Linux operating system file resource sharing is also a problem. VNC can remotely use X-Window to control Linux system, and Samba can realize the resource sharing between Linux and Windows systems, this paper tests and verifies through the actual operation. The results show that this integrated management improves the operational efficiency of Windows and Linux, and it is a good solution in heterogeneous network environment.
Key words: VNC server; Samba server; user control; Linux
0 引言
一个局域网内通常安装有不同操作系统的服务器,为了保证各种不同的服务器正常有效的运行,对网络服务器进行管理和维护是网络管理员最重要的日常工作。由于网络服务器通常分布在单位机房的多个不同位置,一个个直接登录操作非常麻烦,所以常常要借助远程控制的方式对这些服务器进行操作。在Windows平台下,通常是直接采用 终端服务的方式实现远程控制,而在Linux平台下,采用Telnet和SSH只能实现基于字符界面的远程控制,操作方便性远远没有X-Window方便,采用VNC(Virtual Network Computer)服务可以实现远程使用X-Window操作Linux系统。此外,由于经常需要将网络服务器和用户个人电脑中的某些文件资源进行共享,而Windows与Linux之间一般不能直接进行文件资源共享,因此就需要在Linux系统中安装Samba软件包。本文介绍利用VNC实现远程使用X-Window控制Linux系统,同时利用Samba实现Linux系统文件资源共享,所用实验环境为:服务器操作系统Centos 6.3,客户机操作系统Windows 7。
1 VNC与Samba简介
VNC是一款优秀的远程控制软件,由著名的 AT&T的欧洲研究实验室在2002年开发的轻量级远程控制计算机软件。……