因为Linux内核支持读写Fat、NTFS、Vfat、Fat32等文件系统,因此在Linux下访问Windows中的资源只需直接使用Linux中专门负责与Windows主机互通有无的工具Samba就可以实现了。过程可以分为以下三步:
第一步:安装Samba组件
在光驱中插入小红帽的第二张安装光盘后,依次单击“主菜单” “系统设置” “管理/删除应用程序”菜单项,(如图1所示)在打开的“软件包管理”对话框中找到并勾选“Windows文件服务器”项后单击“更新”按钮,接下来请耐心等待Samba软件包的安装完成。
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘http://bbs.shareunion.net/forum_storage/linux/20060131/200613110505376577801.jpg’);}” alt=”” src=”http://bbs.shareunion.net/forum_storage/linux/20060131/200613110505376577801.jpg” onload=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=0>
图1
第二步:启动Samba服务
安装好Samba之后还需要启动Samba服务才行,请依次点击“主菜单” “系统设置” “服务器设置” “服务”,在弹出的窗口选中“SMB”服务并点击工具栏上的“开始”按钮即可(如图2)。
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘http://bbs.shareunion.net/forum_storage/linux/20060131/20061311050543177802.jpg’);}” alt=”” src=”http://bbs.shareunion.net/forum_storage/linux/20060131/20061311050543177802.jpg” onload=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=0>
图2
第三步:访问共享资源
到了这一步我们既可以用命令行的方式来使用Samba服务,也可以任意打开一个窗口,在地址栏中通过输入“smb://192.168.1.21”并按“Enter”键回车的方式来访问特定计算机中的共享资源。要注意的是,在弹出的“需要验证”对话框中一定要输入有权限访问此远程计算机的用户名和密码才能对远程计算机的共享资源进行相应权限的操作,如图3所示。稍后就可以看到远程计算机中的共享资源了(如图4)。
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘http://bbs.shareunion.net/forum_storage/linux/20060131/200613110505431277803.jpg’);}” alt=”” src=”http://bbs.shareunion.net/forum_storage/linux/20060131/200613110505431277803.jpg” onload=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=0>
图3
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘http://bbs.shareunion.net/forum_storage/linux/20060131/200613110505462577804.jpg’);}” alt=”” src=”http://bbs.shareunion.net/forum_storage/linux/20060131/200613110505462577804.jpg” onload=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=0>
图4
图解linux下访问windows
转载请注明出处:服务器评测 » 图解linux下访问windows
相关推荐
- *[15% 折扣]托管机器人有限责任公司 |德克萨斯州达拉斯/弗吉尼亚州阿什本 |裸机服务器 |1-10Gbps
- *▌新鲜烘焙主机▐▌仅需 39 美元起▐▌#Super 便宜
- ✨ Heymman 服务器 • 119 美元 • 双 E5-2697 v4 • 36 核 • 512GB RAM • 1.88TB NVMe • 10 Gbps
- 专用服务器促销 – 高达 40% 的折扣!安全的亚利桑那州位置!
- 提前付款,在专用托管上节省大笔费用!!预付款时获得双倍折扣
- *[托管内部]台湾/香港专用服务器 $29/月
- 美国、英国、德国和新加坡专用服务器 ★ 未计量带宽 @ 1Gbps ★ IPMI ★
- 马来西亚专用服务器★可靠 + 高性能 + 价格合理