Set anonymous sharing under Ubuntu-Linux Enterprise Application-Linux server application information. The following is a detailed description. Linux has been around for a long time, and the virtual machine carrying WinXP has been installed for a while, so there has been no file transfer between the Linux host and the Windows virtual machine. Sharing is the simplest and most commonly used method for file transmission. It is best to share files anonymously, which is very convenient. In school, security is not very important.
Ubuntu provides the "shared folder" configuration in system> system management. However, after the folder needs to be shared, it cannot be accessed normally in Windows. The following describes how to implement anonymous access:
First, confirm that samba has been installed. This should be fine in ubuntu, because the first time you open the "shared folder" in system management, you will be prompted to automatically download and install samba.
Configure the samba configuration file
Sudo gedit/etc/samba/smb. conf
Follow the instructions below:
[Global]
# Working groups displayed in WINDOWS
Workgroup = workgroup
# Computer name displayed in windows
Netbios name = baileyking
# Samba server Introduction
Server string = welcome
# There are many authentication and login methods. If you select share, you do not need to set the user and password.
Security = share
# The directory name displayed in windows
[Download]
# Set the location of the shared directory
Path =/home/download
# Whether it is writable
Wirteable = yes
# Browsed or not
Browseable = yes
# Log on with a guest user as an anonymous account
Guest OK = yes
There are a lot of things in this description. What you need to change is to remove the annotator ";" before the line of security = user, and then change the user to share. Other content can be automatically configured in "Shared Folders.
After setting this parameter, restart the system by using sudo/etc/init. d/samba restart. In Win, you can see and access it directly.
If you cannot see Windows under Windows, check if you can see the shared folders of other Windows systems. If you cannot see them, the Windows Network is not configured. The configuration method can also be set through the settings of the home and small office network in the network connection settings.
You can also press Ctrl + l in the ubntu File Manager to open the address bar and enter smb: // The computer name or IP address of your machine to check whether the configuration is complete.
In fact, this should be the most basic usage of ubuntu, but it is quite difficult to find it online. Many experts have taken a very professional approach to answer such questions. They usually list a lot of details about how to use samba servers to make beginners confused. I am more and more aware of the importance of the basic usage instructions in Linux basic documentation.
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