pc访问修改samba服务的文件慢解决
pc访问修改samba服务的文件慢解决
pc访问修改samba服务的文件慢解决
在网上查询后,大概有下面几种解决方案。
1: [global]
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
2:在 smb.conf 裡添加下面的語句就可以解決smb ports = 139
3:
修改 /opt/etc/samba/smb.conf,加入
[global]
read size = 512
socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=512 SO_SNDBUF=512 IPTOS_LOWDELAY
getwd cache = yes
follow symlinks = no
wide links = no
read raw = yes
write raw = yes
large readwrite = yes
getwd cache = yes
strict locking = no
fake oplocks = yes
oplocks = no
4:关闭防火墙和selinux
5.vhosts和/etc/sysconfig/network
主机名保持一致
评论暂时关闭