Chia sẻ file giữa hệ điều hành Windows và Linux theo nhiều cách.
Ứng dụng: Trong chia sẻ file thông thường giữa 2 máy tính cá nhân hoặc tự động truyền file giữa 2 server Windows và Linux. Có 3 giao thức chính là Samba, NFS và CIFS.
1. Samba
Windows systems share resources such as file systems and printers using a protocol called Server Message Block (SMB). In order for a CentOS 6 system to serve such resources over a network to a Windows system and vice versa it must, therefore, support SMB. This is achieved using technology called Samba. Samba is a free software re-implementation of the SMB/CIFS networking protocol.
http://www.techotopia.com/index.php/Sharing_Files_between_CentOS_6_and_Windows_Systems_with_Samba
2. NFS (Network File System)
CentOS 6 provides two mechanisms for sharing files and folders with other systems on a network. One approach is to use technology called Samba. Another option is NFS. NFS allows the file system on one Linux computer to be accessed over a network connection by another Linux or UNIX system.
Linux to Linux
http://www.techotopia.com/index.php/Using_NFS_to_Share_CentOS_6_Folders_with_Remote_Linux_and_UNIX_Systems
Windows to Linux
http://www.atomia.com/blog/2011/12/02/how-to-create-a-nfs-share-on-a-windows-2008-r2-server
3. CIFS (Common Internet File System)
The Common Internet File System (CIFS) is the standard way that computer users share files across corporate intranets and the Internet. An enhanced version of the Microsoft open, cross-platform Server Message Block (SMB) protocol, CIFS is a native file-sharing protocol in Windows 2000.
http://www.howtogeek.com/176471/how-to-share-files-between-windows-and-linux/
http://geekswing.com/geek/linux/mounting-windows-shares-on-linux-using-sambacifssmbfs/
Không có nhận xét nào:
Đăng nhận xét