ubuntu 里面,共享文档

Guide: How to Share A Folder Between Ubuntu/Linux and Windows

转载:

Steps to Share a Folder in Ubuntu

Step 1: Open file manager and right-click on the folder which you want to share. Click on the option “Local Network Share” in the context menu.

Local Network Share Option

Local Network Share Option

Step 2: Click on the Share this folder checkbox in the Folder Sharing dialog.

This would install Samba packages in your system. Samba is used to share files and printers over the network between Windows and Unix systems.

Folder Sharing Option - Install Samba

Folder Sharing Option – Install Samba

Step 3: After samba installation, do the following to share a folder or directory.

sudo smbpasswd -a Username

username should be a valid user of the respective Ubuntu system.

You should be all set now to access the folder/directory.

 

关键的就是上面这一步,设置一个username进来。要是这个名字不起作用了,就得再执行一遍。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值