0%
安装samba
配置samba
1
| sudo nano /etc/samba/smb.conf
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| [global] read raw = Yes write raw = Yes socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072 min receivefile size = 16384 use sendfile = true aio read size = 16384 aio write size = 16384
[sambashare] comment = Samba on Ubuntu path = /home/username/sambashare read only = no browsable = yes
|
1
| sudo service smbd restart
|
设置用户名密码
1
| sudo smbpasswd -a username
|