Ubuntu: Samba for the network share to install
To a folder on the network, you must first install the service "samba" from the official package sources on your computer:
- You can therefore open a Terminal, in which you can make a right click on the Desktop and then "Terminal" to select open.
- Now you need to bring your System up to date: first, Enter the "sudo apt-get update" and then "sudo apt-get upgrade".
- Then you need to install Samba. To do this, type the command "sudo apt-get install samba" in the console.

Ubuntu: share folder
Ubuntu: folders on the network
After you have installed the service, you need to configure it for a network share. With the here described example configuration, you share a folder, on the each Write in their network and has the rights to:
- You first backup the default configuration of samba with the command "sudo mv /etc/samba/smb.conf /etc/samba/smb.bak". The fuse is well suited as a reference book, because it is pretty well commented.
- Next, you must create a new configuration file with "sudo gedit /etc/samba/smb.conf", create it.
- Then, insert the following lines into the configuration. Replace the "|"characters in each case by an [Enter].
- [global] | workgroup = smb security = share - | share modes = yes |
- [homes] | comment = Home Directories | browsable = no read only = no | create mode = 0750 |
- [public] | path = "Here is the location of the folder, such as: /media/storage/" | public = yes | writable = yes | comment = smb share | printable = no | guest ok = yes |
- You save the configuration.
- Finally, you just have the samba service with "/etc/init.d/samba restart" to restart.
- The network share is now available under "\\YOUR-IP-address\public" accessible.
Read also, how to you Ubuntu setting up an FTP Server.