

Now you need to create a shared directory that will be accessible by other PCs/mobiles connected to the same network. You can put it anywhere, but in this tutorial, it will be at the top level of the root file system of the Pi’s microSD card. The download and installation process will start and it will take a while depending on your internet speed.
#Home server raspberry pi samba install#
Sudo apt-get install samba samba-common-bin Open a Terminal and type: sudo apt-get update Update your repository index, make sure that the operating system is fully updated, and install Samba using apt-get. Samba is available in Raspbian’s standard software repositories.

Before purchasing, check online whether the SD card is fully compatible with Raspberry Pi or not. If you want to keep your Samba file server compact and portable, install Raspbian on a 128Gb or 256GB SD card. However, if you want extra storage, simply mount a large USB drive and create a Samba entry for it. The SD card must have a reasonable amount of free storage space without requiring any extra steps to make it accessible.
