I have centOS 5.5 installed on virtual box it has no GUI so every thing is command based. I want to make a folder in centOS which i can share with my windows 7 host OS such that i can send files to and fro seamlessly. I am new to linux and i managed to install samba. I looked up some tips on net but i ended up getting confused and none of them worked. Can someone explain to me how i can do this in a straight forward way from how i can configure samba to how i can mount the folder such that it can be seen on the host operating system. I am completely lost.please help.
VirtualBox's shared folders feature will enable you to easily share folders between the host and client without having to install extra software on either one (other than the VBox Guest Additions).
First, install samba using yum:
yum install samba
Then specify the samba password for your user:
Now you have to configure samba:
Go to the end of the file and write this:
[shared_folder] valid users = your_user public = no path = /your/path/to/share printable = no writable = yes
Save the file, and restart Samba:
restart samba or /etc/init.d/samba restart
Now you can go to Windows and create a shortcut to