This recipe shows how the Raspberry Pi can be configured to become a file server on the local network.
The Raspberry Pi, with attached file storage, functions well as a file server. Such a file server could be used as a central location for sharing files and documents, for storing backups of other computers, and for storing large media files, such as photo, music, and video files.
This recipe installs and configures samba and samba-common-bin. The Samba software distribution package, samba, contains a server for the SMB (CIFS) protocol used by modern computers for setting up shared drives or shared folders. The samba-common-bin package contains a small collection of utilities for managing access to shared files.