SMB (Server Messages block, information service blocks) is intended to share files between Ubuntu virtual machines and Windows.
The specific configuration process is as follows:
(1) Installing the SMB appsudo apt-get install samba apt-get install cifs-utils do not know if Ubuntu is installed by default, but cannot find the startup item in/ETC/INIT.D, so it can only be re-loaded again.
(2) Adding Samba userssudo useradd SMB//Add SMB System user sudo smbpasswd-a SMB//Modify password
(3) Modify the configuration fileModify/etc/samba/smb.conf, add: [root] comment = root directories browseable = yes writeable = yes Path =/valid users = SMB (user name)
(4) Restart Samba serverSudo/etc/init.d/samba Restart to this step, the server configuration is complete, and the information on this service can be accessed on Windows.
access on Windows:(1) In the start---run, enter the IP address of the Samba server to access the data on the server.
(2) If you are working with a file and have permission problems, you can modify permissions directly on a file or directory.
Configuration of the "Linux" Ubuntu 14.04 Smba Server