因为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
相关推荐
- 【2025黑五狂欢】美欧英同步大促!AMD锐龙9 9950X强势来袭 · PCIe 5.0疾速固态硬盘 · 万兆传输旗舰配置
- 台湾专属服务器,9个IPv4地址,独享2Gbps带宽,直连中国大陆极速畅享!
- 月付9美元独立服务器 | 即刻部署 | 纽约、洛杉矶、迈阿密三节点
- 高性价比之选:Intel Xeon E3-1230 v6 服务器 ($65/月) | 专属存储特惠方案 $94/月起 | 全系享首单立减10%
- 即时可用独立服务器:Ryzen 9 DDR5 ECC NVMe 满血性能,10Gbps极速网络,新品促销立省30%!
- 美国/新加坡机房 | 特殊IP段首发价$75/月起
- CanSpace Solutions:加拿大旗舰级托管服务商,为您臻选全托管专属服务器!
- *双 E5-2650L v2(256GB RAM)、2TB SSD、10GB DDOS。德克萨斯州达拉斯。$85/m(几乎消失)
服务器评测





