PoiNtEr->: windows

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

Search This Blog

Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

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 /
3:pwd
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 :
[sharedname]
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


10:ifconfig
(above command will show your ip address of linux machine)
 
On window Machine
note ip address and put that in Window machine on RUn
 
1:Win+R
                     \\XXX.XXX.XXX.XXX\
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 :-)