How Ubuntu maps disks to Win7 using Samba

Source: Internet
Author: User


1. First install samba on Ubuntu. The specific steps are as follows: install samba: sudo apt-get install samba to install smbclient: sudo apt-get install to install smbfs: sudo apt-get smbfs 2. modify the configuration file sudo gedit/etc/samba/smb. conf edit smb. the conf file is changed; the security user is changed to the security user, then add [program files] comment = Shared Folder require passwordpath =/home/magic/sharepublic = yes www.2cto.com writable = yesvalid users = magiccreate mask = 0777 directory mask = 0777 force u at the end of the configuration file. Ser = nobodyforce group = nogroupavailable = yesbrowseable = yes save and restart samba, sudo/etc/init. d/samba restart 3. Set the user and password sudo smbpasswd-a magic and enter the password as prompted. 4. In the end, right-click a windows network neighbor and choose \ IP address \ Program Files. Enter the username and password as prompted. Author duanqz

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.