Interconnection and sharing between ubuntu and windows

Source: Internet
Author: User
Ubuntu and windows interconnection and sharing windows access ubuntuwww.2cto. com1.ubuntu install sambaShell code sudoapt-getinstallsamba2. modify/etc/samba/smb. conf file Conf code [global] workgroupWO... ubuntu and windows interconnection and sharing windows access to ubuntu www.2cto.com 1. ubuntu installs samba Shell code sudo apt-get install samba 2. modify/etc/samba/smb. conf file Conf code [global] workgroup = WORKGROUP server string = % h server (Samba, Ubuntu); wins support = no wins server = (in ipconfig/all, or directly fill in the gateway ip address) dns proxy = no name resolve order = lmhosts host wins bcast security = share usershare allow guests = yes [share] path =/home/ubuntu/available = yes browseable = yes public = yes writable = yes www.2cto.com 3. restart the service Shell code sudo restart smbd sudo restart nmbd * smbd is the samba file sharing service * nmbd is the windows name resolution service 4. in this way, you can ping windows and view the unbutu shared file --------------------- ubuntu accesses windows 1. install the service Shell code sudo apt-get install cifs 2. mount Shell code sudo mount-t cifs // hostname/share/mnt/path/to/name-o username = user

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.