Samba
Samba the Linux and Unix implementation SMB/CIFS (aka, Windows File Sharing). If it is not included in a given OS distro, it can be installed easily to share files to XBMC (among other uses). Samba/SMB is often a good choice due to it being highly compatible with other computers, regardless of the OS.
Contents[hide] |
1 Installing
- Gentoo
emerge samba
- Debian/Ubuntu
sudo apt-get install samba
1.1 Compile from source
Installing Samba regardless of distro
wget http://us4.samba.org/samba/ftp/samba-latest.tar.gz
tar -xvf samba-latest.tar.gz
cd samba-{version}
./configure
make install
tar -xvf samba-latest.tar.gz
cd samba-{version}
./configure
make install
2 Configuring
Note: The example below is for a public share.
Samba's configuration is stored
/etc/samba/smb.conf
. All the following items should be placed in that file.2.1 Global configuration
[global]
workgroup =>
workgroup =
netbios name =
server string =
log file = /var/log/samba/log.%m
max log size = 50
map to guest = bad user
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
dns proxy = no