1. Install Ubuntu Samba Configuration:
Sudo apt-Get Insall samba
Sudo apt-Get install smbfs
2. Create a shared directory:
Mkdir/home/suixiang/share
Sodu chmod 777/home/suixiang/share
3. Create the Ubuntu Samba configuration file:
1. Save the existing configuration file
Sudo CP/etc/samba/smb. conf/etc/samba/smb. conf. Bak
2. modify the current configuration file
Sudo gedit/etc/samba/smb. conf
Add at the end of smb. conf
[Share]
Path =/home/suixiang/share
Available = Yes
Browsealbe = Yes
Public = Yes
Writable = Yes
4. Create an Ubuntu Samba account
Sudo touch/etc/samba/smbpasswd
Sudo smbpasswd-A suixiang
Then you will be asked to enter the password of the samba account
If Step 4 is not displayed, the system prompts Session Setup failed: nt_status_logon_failure when you log on.]
5. Restart the Ubuntu Samba Server
Sudo/etc/init. d/smbd restart
Vi. Ubuntu Samba configuration test
Smbclient-l // localhost/share
7. Ubuntu Samba configuration and use
You can enter the IP address used in windows, and enter "\" + "ubuntu machine IP address or host name" + "\" + "share" in the folder"
Smbclient-l // localhost/share
The above suixiang is the user name of the system...