Linux 和 windows 共享文件

Linux side:

#create share folder.

sudo nano /etc/samba/smb.conf

shared\] // please notes this is the name which shared for others path = /home/adley/shared available = yes valid users = adley read only = no browsable = yes public = yes writable = yes #add credicial sudo smbpasswd -a adley #restart smbd sudo systemctl restart smbd #check share folder if work a. testparm b. sudo mount -t cifs //localhost/shared /mnt/samba-test -o username=adley,password=你的Samba密码 c. sudo umount /mnt/samba-test #windows 下 打开共享文件 1. 确保 windows 的smb 服务开启了 2. open the share folder \\\\\\172.21.67.193\\shared 输入 Linux 上设置的 Samba 用户名(\`adley\`)和密码,即可访问和读写文件。 3. "此电脑" → 选择 \*\*映射网络驱动器\*\*

相关推荐
嵌入式×边缘AI:打怪升级日志14 分钟前
全志T113 Tina-SDK 配套工具链开发应用(从Makefile到CMake再到Autotools)
linux
嵌入式×边缘AI:打怪升级日志19 分钟前
全志T113嵌入式Linux开发环境搭建(VMware + Ubuntu 18.04)详细步骤
linux·ubuntu
云栖梦泽1 小时前
Linux内核与驱动:14.SPI子系统
linux·运维·服务器·c++
福大大架构师每日一题1 小时前
openclaw v2026.4.24 发布:Google Meet 深度集成、DeepSeek V4 上线、浏览器自动化与插件架构全面升级
运维·架构·自动化·openclaw
yipiantian2 小时前
在Claude项目中实现跨目录访问Skills
linux·运维·服务器
Agent产品评测局2 小时前
生产排期与MES/ERP系统打通,实操方法详解 —— 2026企业级智能体自动化选型与实战指南
java·运维·人工智能·ai·chatgpt·自动化
cen__y2 小时前
Linux07(信号01)
linux·运维·服务器·c语言·开发语言
MT5开发2 小时前
Linux安装MariaDB
linux·运维·mariadb
Lentou2 小时前
日志轮询策略
linux·服务器·网络
Yoyo25年秋招冲冲冲3 小时前
【亲测可用】ubuntu系统下安装Openclaw+配置飞书
linux·ubuntu·ai·飞书·openclaw