Tuesday, August 28, 2007

Guide : Mount a linux directory from windows

From windows right click on the folder you want to share with your VMWare Web Server and share this as 'www' you will want to create a user and password within windows, I normally run with the username as 'linux' and password as 'linux'

NOTE: NTFS drives are only read only when mounted from Linux, alternatively create a FAT partition and use this so that you can write files to your windows machine from Linux.

Open up your fstab file in linux

'vi /etc/fstab'

then press '*' then 'a' to start editing

add a line at the bottom as follows

share a directory including a username and password for the user

//192.168.79.1/www /mnt/www cifs rw,user=linux,password=linux 0 0

No comments: