|
DangerMouse
|
 |
« on: March 23, 2008, 02:11:58 PM » |
|
Hey all, newbie question time! Bare in mind that I dont really know what I'm talking about while reading this post  I'm considering installing a virtual machine to run a LAMP install on my Windows box, or even better just the Apache and PHP parts, sharing the Mysql database that already resides under Windows. The virtual machine will effectively only ever run as a server. Having no experience of this kind of thing, I'm curious if this is possible - how are IP addresses split between host and virtual machine for example. The functionality I'd like to achieve is to have the virtual machine server running away in the background and to continue to use my Windows environment predominantly, calling scripts on the virtual machine from the host browser for example. Is this how it works?  Totally clueless here. DM
|
|
|
|
|
Logged
|
|
|
|
perkiset
Olde World Hacker
Administrator
Lifer
   
Online
Posts: 5326
:sniffle: Humor was so much easier before.
|
 |
« Reply #1 on: March 23, 2008, 07:36:23 PM » |
|
Parallels and VMWare can both do it, it's pretty painless.
The networking is either bridged or shared, also configurable - meaning that your virtual box has it's own address (bridged) or you are using the host boxes' address (shared) - also painless.
Handy tip: back up your virtual when you have it just the way you like it. Then, if you f&*$ it up in the future, you copy your backed-up volume and presto! Back to normal.
Virtuals rock. I use a RedHat and a Windows virtual on my Mac and they're hot.
|
|
|
|
|
Logged
|
If I can't be Mr. Root then I don't want to play.
|
|
|
|
dink
|
 |
« Reply #2 on: March 23, 2008, 10:40:21 PM » |
|
Hey DM, here's a place where you can get started with no pain at all. http://bagside.com/bagvapp/index.htmlAfter getting your feet wet here you'll have a better idea of what you want. I have 5 virtuals going right now. Haven't decided which one will be *the* one yet, but it's fun.
|
|
|
|
|
Logged
|
[quote Nutballs] the universe has a giant fist, and its got enough whoop ass for everyone. [/quote]
|
|
|
|
DangerMouse
|
 |
« Reply #3 on: March 24, 2008, 08:14:34 AM » |
|
Cheers all, getting somewhere now  Brilliant link thanks Dink - just what I needed to get started. An easy way to *AMP5 that I took recently has been to install WAMP5 if your stuck with windows and want to do *AMP development... http://www.wampserver.com/en/Thats what I've been using until now jammaster, i've found it really effective and its only recently discovered things I can't do without a Linux environment I have complete control over - in this instance compiling extensions that don't have working Windows dll's. I've never bothered duel booting or setting up a LAMP server on my network, and really don't fancy the productivity drop I'd get if I ditched Windows completely (not to mention missing regular gaming!) - virtualisation seems to be a happy medium for now  DM
|
|
|
|
|
Logged
|
|
|
|
|
dink
|
 |
« Reply #4 on: March 24, 2008, 12:32:29 PM » |
|
The only area I can see where you might have a problem, DM, is your database situation.
I used almost all of the windoxen versions of AMP, and none of them was complete for the reasons you mentioned and a few more. Apache2Triad came the closest, xAmp was second, Wamp third, etc.
For the database stuff, I just did a big dump (like a backup in sql form), compressed it, copied it to my flash drive then opened my virtual, in this case it was ubuntu7.10 server, copied and decompressed, then ran the sql. Works.
Now I work with windoxy running and at least one ver of linux going in the virtual. I have way too many apps that only run in the win format to just shit-can the whole mess, and reports from smarter folk than I say that win doesn't run as well as a guest of linux as linux runs as a guest of win.
Although I gotta say that the ubuntu standard gui setup is much more pleasant than any win system since 3.1. Doesn't crash and is faster than prune juice thru Perk on Fri evening.
|
|
|
|
|
Logged
|
[quote Nutballs] the universe has a giant fist, and its got enough whoop ass for everyone. [/quote]
|
|
|
|
jammaster82
|
 |
« Reply #5 on: March 24, 2008, 01:42:57 PM » |
|
@@dink
Lol. How much ram are you working with and what speed machine? and how much ram dedicated towards rebuntu clutsy fibbon virtual?
|
|
|
|
« Last Edit: March 24, 2008, 01:46:43 PM by jammaster82 »
|
Logged
|
Of course Big Brother exists, he is the embodiment of the party..... Does he exist in the same way I exist?....... You, do not exist.
|
|
|
|
dink
|
 |
« Reply #6 on: March 24, 2008, 04:19:00 PM » |
|
I have 2 gigs on an AMC board. Think the speed is 1.87 gigs. Might be wrong there, tho. I have a full gig set aside for the virtual(s). Way overkill, but it's a just-in-case deal. "clutsy fibbon" Oh shit. A new one. Where's the download link. Quick get me a straight line to the rar.  I get a kick outa some of the geeks that run all over themselves to be the first to blog about the latest issue of the glamour os.
|
|
|
|
|
Logged
|
[quote Nutballs] the universe has a giant fist, and its got enough whoop ass for everyone. [/quote]
|
|
|
|
jammaster82
|
 |
« Reply #7 on: March 24, 2008, 04:29:23 PM » |
|
Am curious, perk can you do a virtual mac inside of ur mac?
if so can i then run it and have a mac on my windows?
|
|
|
|
|
Logged
|
Of course Big Brother exists, he is the embodiment of the party..... Does he exist in the same way I exist?....... You, do not exist.
|
|
|
perkiset
Olde World Hacker
Administrator
Lifer
   
Online
Posts: 5326
:sniffle: Humor was so much easier before.
|
 |
« Reply #8 on: March 24, 2008, 04:42:57 PM » |
|
Parallels HINTS that they have successfully gotten OS-X running in a virtual... but there's nothing out yet. An interesting project tho, would be to grab the hackintosh os-x loader and put it in a virtual... hmmm... try this - I'll bet you can do it... http://lifehacker.com/348653/install-os-x-on-your-hackintosh-pc-no-hacking-required/
|
|
|
|
|
Logged
|
If I can't be Mr. Root then I don't want to play.
|
|
|
perkiset
Olde World Hacker
Administrator
Lifer
   
Online
Posts: 5326
:sniffle: Humor was so much easier before.
|
 |
« Reply #9 on: March 24, 2008, 04:50:24 PM » |
|
Just looked at that blog post again and the comments are strong - there's a guy who's got OS-X running on his Toshiba tablet... that's pretty killer IMO. Doesn't seem like there's much love for running it as a virtual - there are people who've tried it there and say it is too doggy. But running natively it seems to do OK.
|
|
|
|
|
Logged
|
If I can't be Mr. Root then I don't want to play.
|
|
|
|
jammaster82
|
 |
« Reply #10 on: March 25, 2008, 01:44:17 PM » |
|
im gonna try that one day...
can i play your parallel images with this vmx player?
how do i make my own .vmx images?
|
|
|
|
« Last Edit: March 25, 2008, 01:53:03 PM by jammaster82 »
|
Logged
|
Of course Big Brother exists, he is the embodiment of the party..... Does he exist in the same way I exist?....... You, do not exist.
|
|
|
perkiset
Olde World Hacker
Administrator
Lifer
   
Online
Posts: 5326
:sniffle: Humor was so much easier before.
|
 |
« Reply #11 on: March 25, 2008, 02:02:25 PM » |
|
dunno - I didn't think that virtuals were a standardized format so that any player could play a parallels image... have you researched that at all?
|
|
|
|
|
Logged
|
If I can't be Mr. Root then I don't want to play.
|
|
|
|
dink
|
 |
« Reply #12 on: March 27, 2008, 08:33:52 PM » |
|
bagside/bagside
|
|
|
|
|
Logged
|
[quote Nutballs] the universe has a giant fist, and its got enough whoop ass for everyone. [/quote]
|
|
|
|
dink
|
 |
« Reply #13 on: March 28, 2008, 11:28:46 AM » |
|
this is so balls awesome. If that means you think it's pretty spiffy, then I agree.  Ya, ram is cheap now days. Leave part of the innertubes alive for the rest of to play with.
|
|
|
|
|
Logged
|
[quote Nutballs] the universe has a giant fist, and its got enough whoop ass for everyone. [/quote]
|
|
|
|
DangerMouse
|
 |
« Reply #14 on: March 28, 2008, 01:27:52 PM » |
|
Thats what I'm using at the moment, although had to compile PHP, Apache manually as the 'lamp-server' package didnt work as advertised. D<
|
|
|
|
|
Logged
|
|
|
|
|