setup a file share server on a Raspberry Pi with an external hard drive

Published: 01 January 1970
on channel: Heikki Koivisto
6,038
42

Here is how to of setting up a file share server on a Raspberry Pi with an external hard drive: involves configuring the Raspberry Pi to share files over a network using a protocol SMB (Server Message Block). This allows other devices on the network to access and modify files stored on the external hard drive connected to the Raspberry Pi.

The general steps to set up a file share server on a Raspberry Pi with an external hard drive include:

1. Installing an operating system on the Raspberry Pi.
2. Connecting the external hard drive to the Raspberry Pi and mounting it.
3. Installing and configuring a file sharing protocol such as SMB
4. Creating user accounts and setting permissions for shared folders and files.
5. Testing the file share server to ensure it is accessible from other devices on the network.

Here some commands:
fstab:
/dev/disk/by-uuid/4C840A2A840A175C /mnt/mydrive auto nosuid,nodev,nofail,x-gvfs-show 0 0
smb.conf
[myshare]
comment = My shared folder
path = /mnt/mydrive
browseable = yes
read only = no
guest ok = no
create mask = 0755
directory mask = 0755
valid users = pi

sudo smbpasswd -a username


Watch video setup a file share server on a Raspberry Pi with an external hard drive online without registration, duration hours minute second in high quality. This video was added by user Heikki Koivisto 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 6,038 once and liked it 42 people.