How to Set samba server in Ubuntu

Source: Internet
Author: User

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.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.