title | date | tags | categories | |||
---|---|---|---|---|---|---|
Ubuntu配置samba |
2021-05-29 09:35:00 -0700 |
|
|
sudo apt install samba
sudo nano /etc/samba/smb.conf
[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
sudo service smbd restart
sudo smbpasswd -a username