File sharing is an important network requirement, especially in an enterprise environment. We know that file sharing between Windows hosts is simple and can be done through your network Neighborhood. But the operating system of host in enterprise environment is more complicated, including Linux, Unix and so on. So how do you achieve file sharing between Windows and Linux? An effective emancipation scenario is to deploy Samba on a Linux platform to achieve such shared requirements. The following author builds the environment, illustrating the detailed technical details of the deployment of Samba in Linux.
Environment description
Linux system: Red Hat 9.0
Windows system: Windows XP SP2
First, Samba service deployment
1. Samba Installation
(1). Verification
Samba is a tool for Linux system integration that allows users to choose to install during Linux installation. Verify that the system has samba installed and can be viewed with the following command:
[Root@localhost root]# Rpm-qa |grep Samba
If, as shown below, Samba is already installed:
samba-swat-2.2.7a-7.9.0
samba-2.2.7a-7.9.0
Redhat-config-samba-1.0.4-1
samba-common-2.2.7a-7.9.0
samba-client-2.2.7a-7.9.0
You can see from Figure 1 that the author's Linux has been installed with samba. (Figure 1)