CentOS How virtual machines set up shared folders and map network drives under Windows

Source: Internet
Author: User
Tags centos linux

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.