Use Samba to share WIN2000 and Linux Files-Linux Enterprise applications-Linux server applications. For more information, see the following. With the popularity of Linux, sharing files in Linux has become a concern for users. In fact, almost all Linux distributions provide a good tool named Samba, which allows you to easily share files. Samba is an application based on the SMB protocol. The current version is 2.3.x. Samba is powerful, but it is easy to use. The reason is that its configuration file is too large and not easy to understand. New users and skilled users are discouraged from it. However, if only file sharing is implemented, it is easy to configure Samba. You only need to familiarize yourself with several operations. Here is an example to illustrate these operations.
Suppose you are familiar with basic Linux operations and use the VI editor.
Now we have three PCs, one with Win 2000 installed, named test2000, with Shared Folder share. The other two with Linux installed, and the other with testsamba, there is a directory/pub on it; the other is testlinux, and there is a directory/pub on it. The goal is to share/pub on testsamba for use in test2000 and test_linux.
Perform the following operations on test_samba.
Find smb. conf in/etc/and open it in VI Editor:
CODE: # vi/etc/smb. conf or vi/etc/samba/smb. conf |