The configuration files for doing this reside in /Library/Application Support/VMware Fusion/vmnet8/ (the NAT interface is called "vmnet8" hence why configuration for it is here), specifically dhcpd.conf and nat.conf. These files may be read-only (even for root), so make sure to give root write permission before you edit them.
Any changes to these files requires that the following be executed before they take effect:
As explained by this blog entry you can edit the dhcpd.conf file to configure VMWare Fusion's DHCP server to assign specific IP addresses to a VM based on its MAC address. You should see something like this in your dhcpd.conf file:
For our IP address assignments, we want to pick an IP address that is outside of the range that is set above. So in my case I picked 192.168.87.100 and 192.168.87.101 for two VMs that I wanted to configure.
So if we were to configure two VM's to have fixed IP addresses, we would add something like this to the dhcpd.conf file:
I put entries in my /etc/hosts to point to these, so I don't have to remember IP addresses:
# Ubuntu VM 192.168.87.100 uvm # Windows XP VM 192.168.87.101 wvm
Port forwarding
To make services in NAT-configured VMs available outside of the host OS, we need to set up port forwarding. To do this edit the nat.conf file. Add entries under[incomingtcp] if you are forwarding a TCP connection and under [incomingudp] for a UDP connection. There are examples in this file, but to go along with our above examples, we might do something like this:
[incomingtcp] # Forward host port 2222 to SSH on Ubuntu VM2222 = 192.168.87.100:22# Forward Remote Desktop connections to Windows VM3389 = 192.168.87.101:3389 [incomingudp] # Forward Remote Desktop connections to Windows VM3389 = 192.168.87.101:3389
Restarting VMWare services on host
Don't forget that after we make any of the above changes, we need to restart the VMWare services using this command:
You've decided to make your site "printer-friendly". You read the article on what it means to be printer friendly, but now you have to decide how you want to do it. There are several options:
Make a copy of every page or article - and manually remove all the non-printer-friendly stuff. Use a (CGI, PHP, JavaScript, other) script to remove the non-printer friendly stuff on the fly. Write a style sheet for print. The drawback to option one should be fairly obvious to most people. It is very labor intensive and requires that for every page on your site, you create a second, duplicate page.
Option two is the most common choice right now, because it mitigates the problems of option one, and with a small change in how you write your Web pages, you can set it up for every page on your site. But if you don't have access to CGI or you just don't feel comfortable with programming, this method can be challenging, if not impossible.
Cascading Style Sheets to the Rescue
Luckily, CSS was not written with just Web pages in mind, and with just a few extra codes you can create a printer style sheet that removes all the non-friendly options on your page and even takes into account issues such as typography and readability. And you don't have to write two different copies of your page or do any programming to build it.
Defining a Style Sheet for Print
As with screen style sheets, you use the /link/ element to define the print style sheet your Web page should use: link rel="stylesheet" type="text/css" href="print.css" media="print"
The only difference between this link element and the link to your screen style sheet is the attribute: media="print" Most style sheets are written for the screen, so the media can be left off, or written as: media="screen"
Building the Style Sheet
When you build a print-friendly style sheet, you need to keep in mind all the rules that were defined in the previous article:
Change colors to black on white. Change the font to serif. Watch the font size. Underline all links. Remove non-essential images. Remove navigation. Remove some or most of the advertising. Remove all JavaScript, Flash, and animated images. Change these rules into CSS: Black on white with 12-point, serif fonts: body { color : #000000; background : #ffffff; font-family : "Times New Roman", Times, serif; font-size : 12pt; }
Underline links: a { text-decoration : underline; color : #0000ff; } I also like to make the links blue, to stand out on color printers.
Remove Non-Essential Images, Ads, Navigation, and Scripting The best way to do this is to put
elements around each section of your page. For example, you might have the following sections:
top, bottom, left, and right navigation internal advertising content other elements Define each of them with a
element:
Then, in your style sheet, get rid of the ads, navigation, and other information: #navigation, #advertising, #other { display : none; }
The print.css Style Sheet
The print.css style sheet would look like this: body { color : #000000; background : #ffffff; font-family : "Times New Roman", Times, serif; font-size : 12pt; } a { text-decoration : underline; color : #0000ff; } #navigation, #advertising, #other { display : none; }
Save print.css in the same directory as the file, include the link rel="stylesheet" type="text/css" href="print.css" media="print" in the head of your document, and your page will print perfectly while displaying however you would like.
OH Oooh oh ooOH OH, yeaah yeah yeaah Yeaaah hey. OH Oooh oh ooOH OH, yeaah yeah yeaah Oh oh oh oh oh oh (I-I-I-I need your therapy) oh oh oh oh oh oh (I-I-I-I need you to come and lay hands on me) oh oh oh oh oh oh (I-I-I-I need your therapy-therapy-therapy) oh oh oh oh oh ….. (heeey) He lays me on the couch and says “how has your day been? Tell me your problems; I'll help you solve them. Come on let's talk about it” He sits next to me and smiles. Listens to all of my words, Relaxes all of my nerves.
Like breathe in (breathe in) Let it go (shout it out) Take deeps breathes and real slow, calm down. Close my eyes (soft spoke) Ease my mind (take control) From my body please Work your Psychology
You're taking good care of me Always been there for me Boy I can't bear to leave Cause I need your therapy
You've given me everything So much I ever could need Without you I'm so weak in the knees I need your therapy
Oh oh oh oh oh oh (I-I-I-I need your therapy) oh oh oh oh oh oh (I-I-I-I need you to come and lay hands on me) oh oh oh oh oh oh (I-I-I-I need your therapy-therapy-therapy) oh oh oh oh oh ….. (hey)
He puts his hand on my lower back his face in my neck and Says something to make me laugh Makes me forget I was mad His touch feels so right It's like he's reading my mind I need him all the time
Like breathe in (breathe in) Let it go (shout it out) Take deeps breathes and real slow, calm down. Close my eyes (soft spoke?) Ease my mind (take control) From my body please (?) Work your Psychology
You're taking good care of me Always been there for me Boy I can't bear to leave Cause I need your therapy
You've given me everything So much I ever could need Without you I'm so weak in the knees I need your therapy
Oh oh oh oh oh oh (I-I-I-I need your therapy) oh oh oh oh oh oh (I-I-I-I need you to come and lay hands on me) oh oh oh oh oh oh (I-I-I-I need your therapy-therapy-therapy) oh oh oh oh oh ….. yeaah yeaah
When it feels like I'm losing power When I feels like a wilting flower The way you touch me says I'm there for you It heals me just to hear you say “I Love You”
You're taking good care of me Always been there for me Boy I can't bear to leave Cause I need your therapy
You've given me everything So much I ever could need Without you I'm so weak in the knees I need your therapy
You're taking good care of me Always been there for me Boy I can't bear to leave Cause I need your therapy
You've given me everything So much I ever could need Without you I'm so weak in the knees I need your therapy
I was born to love you With every single beat of my heart Yes, I was born to take care of you Every single day...
chorus: I was born to love you With every single beat of my heart Yes, I was born to take care of you Every single day of my life
You are the one for me I am the man for you You were made for me You're my ecstasy If I was given every opportunity I'd kill for your love
So take a chance with me Let me romance with you I'm caught in a dream And my dream's come true It's so hard to believe This is happening to me An amazing feeling Comin' through
chorus
I wanna love you I love every little thing about you I wanna love you, love you, love you Born - to love you Born - to love you Yes I was born to love you Born - to love you Born - to love you Every single day - of my life
An amazing feeling Coming through
chorus
Yes I was born to love you Every single day of my life
Go, I love you babe Yes I was born to love you I wanna love you, love you, love you I wanna love you I get so lonely, lonely, lonely Yeah, I want to love you Yeah, give it to me
First I was afraid I was petrified Kept thinking I could never live without you by my side But I spent so many nights thinking how you did me wrong I grew strong I learned how to carry on and so you're back from outer space I just walked in to find you here with that sad look upon your face I should have changed my stupid lock I should have made you leave your key If I had known for just one second you'd be back to bother me
Go on now go walk out the door just turn around now 'cause you're not welcome anymore weren't you the one who tried to hurt me with goodbye you think I'd crumble you think I'd lay down and die Oh no, not I I will survive as long as i know how to love I know I will stay alive I've got all my life to live I've got all my love to give and I'll survive I will survive
It took all the strength I had not to fall apart kept trying hard to mend the pieces of my broken heart and I spent oh so many nights just feeling sorry for myself I used to cry Now I hold my head up high and you see me somebody new I'm not that chained up little person still in love with you and so you felt like dropping in and just expect me to be free now I'm saving all my loving for someone who's loving me