Ubuntu15.04 Install Samba Service

Source: Internet
Author: User

After installing the Samba server, it is easy to implement Windows and Linux for communication. Installation steps: 1, install the Samba service under the Ubuntu system:

nii@ww:~$ sudo apt-get install Samba
2, off the Ubuntu firewall
nii@ww:~$ sudo service UFW stop
3. Configure smb.conf Files Step 1 Advanced into the directory of the configuration file, and then switch to Administrator rights
nii@ww:~$ cd/etc/samba/
nii@ww:/etc/samba$ su
Step 2 First back up the smb.conf, in case of improper operation, you can also restore the file back
root@ww:/etc/samba# CP smb.conf Smb.conf.bak
Step 3, with Vim, opens the smb.conf and changes 193 lines to 200 lines as shown in the following illustration:

4, add samba add a root user

root@ww:/etc/samba# smbpasswd-a root
new SMB password:
Retype new SMB password:

Enter the password, I am here to enter the root user, you can enter a different user name. 5. Restart Sam Service

root@ww:/etc/samba# Service SMBD Restart
6, the last window under Windows to run the input \ Plus IP is good, for example, my is:
\\192.168.142.191\root

In the pop-up window, enter the user name and password just added, you can access the Linux file directory. As shown in figure:


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.