You may want to install Samba/CIFS in a linux host to share files with other Windows computer or to use as a media server with a networked media player.
If samba is missing, install it in the host machine (foomachine):
sudo yum install samba
Create a new smb user:
/sbin/smbpasswd -a foouser
Start / check status / restart samba service:
/etc/rc.d/init.d/smb start / status / restart
To make samba service run automatically at startup:
/sbin/chkconfig smb on
Type \\foomachine\foouser in Windows explorer and type the username foouser and the password to access your linux files.
To add other directories to share with samba, edit /etc/samba/smb.conf
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.