Using Samba to share files in Ubuntu 16.04

Source: Internet
Author: User

Yesterday afternoon, the company gave me a photo of the annual meeting to share to everyone, first of all I think of is the FTP building, feel a bit of trouble point.

Thinking twice, the desktop is windows, so decided to use Samba to build a share, very simple.

My needs: can only see, can not be deleted or modified!

sudo apt-get install sambasudo apt-get install smbclientsudo apt-get install Samba-common System-config-samba Python-glad E2 Gksu
#修改配置文件mkdir-P/home/yancongadmin/20160114 Annual Meeting sudo vim/etc/samba/smb.conf #添加一下内容 [Share]comment=this is Linux share directorypath=/home/yancongadmin/20160114 Annual Meeting Public=yes #公共writable =no #不可写
Sudo/etc/init.d/samba start
Access the shared directory under Windows, click to run, enter \\192.168.0.203\share so that you can access the shared directory share with anonymous users.

Just so simple to meet my needs, a simple sharing setup is complete.

It's done in a few minutes.

This article is from "Zen Sword as" blog, please be sure to keep this source http://yanconggod.blog.51cto.com/1351649/1892797

Using Samba to share files in Ubuntu 16.04

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.