Specifications
www.vmware.com
138
VMware GSX Server Virtual Machine Guide
Connecting to a Linux Guest from a Windows Host or Guest
To share the directory /home/user/shared, for example, on a Linux guest
operating system with a Windows host or guest operating system, follow these steps:
1. On the Linux guest operating system, back up the smb.conf file to a file called
something like smb.conf.orig.
cp /etc/smb.conf /etc/smb.conf.orig
2. Modify Samba on the Linux system to share the directory. To create the share,
add the following to /etc/smb.conf.
[SHARE_NAME]
path = /home/user/shared
public = no
writable = yes
printable = no (since you want to share files, not a printer)
3. Restart the Samba services to load the new settings. On the Linux guest
operating system, at a command prompt, type:
/etc/init.d/smb restart
On some Linux distributions, the command is
/etc/rc.d/init.d/smb restart
When the system restarts, the Samba service appears in the list of services
starting up.
Sharing Files Between Two Linux Systems
To share files between two Linux systems (where one machine is a host and the other
is a virtual machine, or both are virtual machines), you can use NFS on the system to
connect to and the nfsmount utility in the system from which you are making the
connection.
As with any Linux network, you can use NFS, FTP or Telnet to connect from one Linux
system (either virtual or physical) to another Linux system (either virtual or physical).