Posts

Showing posts from July, 2018

Adventures with Raspberry Pi - Part 2

Image
Continuing from the previous post, let us now put the Pi to some practical uses.
File Server The Pi can serve as a file server for home use. One could use it to store files for use across multiple computers, backup files, share media (songs, photos and videos) etc. As most of us use Windows at home, you can setup a Samba file server. You can read/write files easily from Windows computers.  In addition, there are Apps for iOS and Android, so you can access these files from mobile/tablets too.
You can SSH into the Pi and run the following commands to install Sambasudo apt-get updatesudo apt-get upgradesudo apt-get install samba samba-common-binYou could give all access to the Public folder under /home/pi/ folder using the command - chmod +777.Create a Samba user and password using the command - sudo smbpasswd -a piConfigure Samba as shown below -Edit the Samba configuration - sudo vi /etc/samba/smb.conf[share]Comment = Pi shared folderPath = /home/pi/PublicBrowseable = yesWriteable = Ye…