Why do you do this?
Recently in the Linux software development, but also want to use Windows under the Programming tool "Source Insight."
Second, the installation environment
Native System: Windows 7 flagship
Vmware:vmware Workstation 9.0
Centos:centos 6.4
Network adapter set to: NAT conversion
Third, see if Samba is installed
Command: Rpm-qa|grep Samba
Output results:
Samba-client-3.0.33-3.28-1.el5
Samba-common-3.0.33-3.28-1.el5
Here, by the way, the basic packages needed to build a Samba server:
1. Samba--> This package contains the main daemon files (SMBD and NMBD)
2. Samba-common--> provides Samba's main configuration file (smb.conf), smb.conf Syntax Checker (testparm), etc.
3. samba-client--> when Linux is the Samba client, it provides a set of required tools and instructions.
Now, see, the Samba main program is not installed at all.
You can also use the Service SMB Status command to see if the command is installed, and if you return to the "smb:unrecognized service", the service is not installed.
Iv. installation of "Samba"
Samba is a freeware software that implements the SMB protocol on Linux and UNIX systems, consisting of servers and client programs.
Here I only introduce the installation process,
For more information, please refer to the 16th chapter of "The Linux private kitchens of Bird", the second of File server: SAMBA server
You can install Samba over a CD or network
1, through the network installation
I was using the network installation, although a bit slow, but relatively simple and convenient.
Command: sudo yum install Samba
Just a single order is OK.