We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 Ubuntu 上安装 Samba:
sudo apt-get update sudo apt-get install samba
在 Ubuntu 上创建一个共享文件夹并设置权限:
mkdir /home/your_username/shared sudo chown nobody:nogroup /home/your_username/shared sudo chmod 0777 /home/your_username/shared
在 Ubuntu 上配置 Samba,编辑 /etc/samba/smb.conf 文件,添加以下内容:
/etc/samba/smb.conf
[shared] path = /home/your_username/shared read only = no guest ok = yes
在 Ubuntu 上重启 Samba 服务:
sudo service smbd restart
在 Windows 上,打开文件资源管理器,输入:
\\your_ubuntu_ip_address\shared
就可以看到共享的文件夹并进行文件传输。
注意:请将 your_username 和 your_ubuntu_ip_address 替换为实际的用户名和 Ubuntu 的 IP 地址。
your_username
your_ubuntu_ip_address
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在 Ubuntu 上安装 Samba:
在 Ubuntu 上创建一个共享文件夹并设置权限:
在 Ubuntu 上配置 Samba,编辑
/etc/samba/smb.conf
文件,添加以下内容:在 Ubuntu 上重启 Samba 服务:
在 Windows 上,打开文件资源管理器,输入:
就可以看到共享的文件夹并进行文件传输。
The text was updated successfully, but these errors were encountered: