实现通过网络来共享文件夹,进行上传下载,推荐安装共享samba
2022-10-17
admin
163
sudo apt-get install -y samba
sudo vi /etc/samba/smb.conf
[xavier]
comment = share folder
browseable = yes
path = /home/xavier
create mask = 0664
directory mask = 0775
valid users = xavier
force user = xavier
force group = xavier
public = yes
available = yes
writable = yes
sudo smbpasswd -a nvidia
sudo service smbd restart