【ubuntu24.04】安装配置samba服务

1 安装samba服务

sudo apt update
sudo apt install samba

2. 创建共享文件夹

选择一个目录作为共享文件夹。如果目录不存在,可以使用以下命令创建:

bash
复制代码