PoiNtEr->: Share Folder between Ubuntu(linux) and Windows machine

                             Difference between a dream and an aim. A dream requires soundless sleep, whereas an aim requires sleepless efforts.

Search This Blog

Tuesday, June 21, 2011

Share Folder between Ubuntu(linux) and Windows machine

On Linux Machine
  install samba first
1:sudo apt-get install samba

   go to root directory
2:cd /
output: /
4:sudo mkdir realname
now change ownership
5:sudo chown vishal:vishal realname
you can check ownership by
6:ls -l
7:sudo smbpasswd -a vishal
enter your new samba password
8:sudo gedit /etc/samba/smb.conf

now add following line :
path = /realname
available = yes
valid users = vishal
read only = no
browsable = yes
public = yes
writable = yes

you can change above permission as you like by changing the values.

9:sudo /etc/init.d/samba restart

(above command will show your ip address of linux machine)
On window Machine
note ip address and put that in Window machine on RUn
put ip address in above given format in run.

thats it !!
now you can see realname folder in windows
use that folder to share things
HaPpy sharing :-)

No comments:

Post a Comment