Samba is the http://www.aliyun.com/zixun/aggregation/13835.html ">ubuntu and Windows network sharing tools, such as sharing printers, transferring data files to each other."
Installing Samba
Installing Samba
sudo apt install samba
Kubuntu
Installing shared modules for system settings
sudo apt install kdenetwork-filesharing
Configuration
1.windows access to Ubuntu
The first step is to create a shared directory: for example, to create a/home/username/share first create this folder (this username is your username, in order to be easy to understand I wrote this, remember to change their own AH)
Code:
mkdir/home/User name/share (new share folder) chmod 777/home/username/share (set permissions on this folder so that all users can read and write to run)
Back up and edit smb.conf allow network users to access (develop a good habit of backing up at any time, at the critical moment you will find the original backup is how wise!) Code:
Add the following lines to the last side of the file, assuming that the user who is allowed to access is: new. and the folder's share name is Share # This is why we write this because we want to create an SMB user new and let XP users use this new to communicate with us. Of course, you can write your favorite name, just be consistent.
Code:
[Share]
Comment = Shared Folder with username and password
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.