Installing samba
August 7th, 2022
Categories: Linux, Ultimate Raspbian
I’m going to explain how to install and configure a shared folder hosted in our Raspberry Pi to be accessed from our Windows PC by using Samba.
- Installing samba packet by typing the following command:
sudo apt-get install samba samba-common-bin - Creating a backup for the configuration file:
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf2 - Editing smb.conf file:
workgroup = <WorkGroup>
wins support = yes
read only = noFolders at home are shared by default, but if you want to add another folder, you’ll need to add the following lines:
[home]
comment = Home at Rasp3
path =/home/pi
browseable = yes
writeable = yes
only guest = no
public = no - Adding a password for the user pi:
sudo smbpasswd -a pi - Restarting the service to load the new configuration:
sudo /etc/init.d/samba restart
Next step: Installing LAMP
Leave a comment
| Trackback
Null Games