Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 231085

Re: VMWare Sharing

$
0
0

I wanted to share what I did to get around this. It worked nicely, just in case someone else stumbles upon this same question:

 

Setup Samba to Share on Ubuntu:

 

Edit this file:

emacs /etc/samba/smb.conf

 

Replace the "share definitions" section at the end with (replacing 'YOURHOSTNAME' with the name of your host):

 

[YOURHOSTNAME]  comment = Shared Folder  path = /home/username/shared  create mask = 0644  directory mask = 0755  writeable = yes

 

Create a user (replacing "username' with your user account name):

 

smbpasswd -a username

 

Create the path set as the share point and restart Samba:

 

mkdir /home/username/shared
chown username:username /home/username/shared
/etc/init.d/samba restart

 

Then in the Macintosh:

  • Finder: Go > Connect to Server
  • Name: smb://yourhostname

 

————————

I also wanted to use Ubuntu as a webserver for Fusion 7. That's documented elsewhere, but I had trouble finding it. So here's what I did.

 

Setup a Host in Ubuntu:

 

Configure Apache in Ubuntu

 

Then configure hosts in your /etc/hosts file with localhost IPs

 

127.0.0.1 www.example.com

 

Configure /etc/hosts in Mac OS X with the same host name but the IP of your VM Ware OS:

 

xxx.xxx.xxx.xxx www.example.com.

 

Where xxx.xxx.xxx.xxx are derived by running ifconfig on the Ubuntu command line.

 

ifconfig

 

Look for the eth0 inet addr. That's the number you want to place in xxx.xxx.xxx.xxx of your /etc/hosts Mac OS X file.


Viewing all articles
Browse latest Browse all 231085

Trending Articles