How to Set samba server in Ubuntu Note: ubuntu 12.04 has installed the latest samba server, and does not require installation. If you use a version earlier than 12.04, it is best to upgrade samba as follows. In version 12.04, you do not need to perform the following operations to uninstall samba and smbclient, samba-common $ sudo apt-get remove smbclient $ sudo apt-get remove samba install the Ubuntu samba server: sudo apt-get install sambasudo apt-get install smbfs start configuration: samba configuration file:/etc/samba/smb. conf can modify the configuration file to set samba sharing. If you are not used to using the configuration file, you can also use the graphical interface to install the Ubuntu samba graphic management interface # sudo apt-get install system-config-samba to start the samba graphic management interface # restart samba after sudo system-config-samba is configured # sudo/etc/init. d/smbd restart let's talk about the IP Address Configuration (taking my own computer as an example): I access the Internet by using ADSL, the IP address connected locally in windows is automatically obtained, and the IP address is: 192.168.1.45 check whether the IP address of eth0 in linux is 10.0.2.15. If the IP address of eth1 is 192.168.1.42, eth1 is the IP address of the linux local connection, that is, the IP address of the samba server. Then, ping the linux IP address in windows to check whether the IP address can be pinged. If the IP address cannot be pinged, disable the firewall and try to disable the LINUX firewall. Command: # ufw disable note: ufw is a firewall operation command in linux. For related operations, you can view the Command help and ping the linux IP address in windows to check whether the ping is successful.