No nonsense ubuntu13.4w file sharing configuration

Source: Internet
Author: User
Non-nonsense ubuntu13.4w file sharing configuration goals: to achieve a mix of windows and linux operating systems can share files, and through the machine name to access each other install file sharing service 0. change the host name of the local machine, modify the host name in the/etc/hostname file and/etc/hosts file... non-nonsense ubuntu 13.4w file sharing configuration goals: to achieve a windows and linux operating system that can share files, and can access the installation file sharing service through the machine name 0. change the host name of the local machine, modify the host name in the/etc/hostname file and/etc/hosts file, replace it with the new name (both must be changed), and restart 1. install the required package: samba-common python-glade2 system-config-samba sudo apt-get install samba-config-samba winbind to install, others are included in dependency 2. add user sudo adduser share for sharing 3. start system-config-samba, and add sharing (select the sharing user first) in the graphical interface sudo system-config-samba 4. configure the password sudo smbpasswd-a share (assuming the user name is share) 5. modify etc/nsswitch. conf, find the following line: hosts: files mdns4_minimal [NOTFOUND = return] dns mdns4, add wins to the end, and change it to hosts: files mdns4_minimal [NOTFOUND = return] dns mdns4 wins (without this step, windows sharing cannot be accessed through the machine name and can only be accessed through ip addresses)
 
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.