Sharing files on Linux Ubuntu server

Sharing files on Linux Ubuntu server. In this tutorial you will learn how to configure your Ubuntu server to share files with other system in the network
We need to install the Samba
sudo apt-get install samba
Ensure you have access to your home directory by changing the permission.
sudo chown -R demo /home/demo
Go to your home directory
cd
Make a directory that will be shared on the network
mkdir Share
Configure Samba
sudo nano /etc/samba/smb.conf
Go to the end of the file and paste this code
[Share]
path = /home/demo/Share
available = yes
valid users = demo
read only = no
browsable = yes
public = yes
writable = yes
Restart samba service
sudo service smbd restart

0 comments:

Copyright © 2012 My Linux Code