Win7 vmware ubuntu 11.10 file sharing through samba

Source: Internet
Author: User

Win7 vmware ubuntu 11.10 implements file sharing through samba. In fact, it shares files with virtual machines. The simplest method is to create a USB flash disk. This is to configure samba (the installation won't go into the software center .. Directly), it seems that only virtual machines can be shared to the host's sub-Environment: win7 32-bit VMware 8 ubuntu 11.10 function: win7 access the ubuntu shared folder www.2cto.com 1. install samba $ sudo apt-get install smbfs 2. start samba $ sudo service smbd start 3. create a shared folder $ cd ~ $ Mkdir share $ chmod 777-R share 4. configure samba $ sudo cp/etc/samba/smb. conf/etc/samba/smb. conf_back $ gedit/etc/samba/smb. conf is added under the line "# security = user": security = user username map =/etc/samba/smbusers, and the line "workgroup = WORKGROUP" is changed: workgroup = MSHOM www.2cto.com Add the following three lines below: display charset = UTF-8 unix charset = UTF-8 dos charset = cp936 Add the following lines at the end of the file (Chinese to replace ): [Share] comment = Shared Folder With username and password path =/home/user name/share public = yes writable = yes valid users = user name for access create mask = 0700 directory mask = 0700 force user = nobody force group = nogroup available = yes browseable = yes 5. set the access permission sudo smbpasswd-a. If the "user name allowed to access" does not exist, add the user first: the User Name www.2cto.com $ sudo gedit/etc/samba/smbusers that sudo useradd allows access to add this line: new = "network username" 6. restart samba sudo smb D restart sudo nmbd restart 7. Access win + r under win7 and enter \ ubuntu ip to open the shared directory in ubuntu. Author dengzhangtao

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.