Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
How to set up samba server in Ubuntu note: Ubuntu has installed the latest samba Server. you do not need to install it. 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, smbclient, samba-common... how to set up samba servers in Ubuntu. note: ubuntu 12.04 has installed the latest samba server, and does not need to be installed. 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.
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to email@example.com. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
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:
and provide relevant evidence. A staff member will contact you within 5 working days.