Easily learn how to setup filesharing in linux using samba. Just read this great tutorial title Easily Compile and Configure Samba. It will touch base on how to compile samba, create your own configuration file, how to secure your samba server, and how to activate swat.