| Author |
Message |
patrick
Joined: 02 Feb 2009
Posts: 10
|
| Posted: Tue Jan 03, 2012 1:50 pm Post subject: Virtual Machine for testing? |
|
|
I would like to deploy a new linux distro to the linode I am using. Since this is going to knock out the currently running system, I would love to do a test run on a local machine in a VM.
If I install debian 6.0.3 in a VM, how closely does that match a fresh deployment of "Debian 6" from linode?
Also, I am aware you can do a full disk image backup of a current linode, but there is little chance of such a disk image booting in a VM, is there?
Also also, can anyone comment on the currently available Stackscripts that include an installation of wordpress? The linode one says it is a year old. Is it still good/safe to use? |
|
| Back to top |
|
hoopycat
Joined: 30 Aug 2008
Posts: 1294
Location: Rochester, New York
|
| Posted: Tue Jan 03, 2012 10:14 pm Post subject: |
|
|
I usually just create a second Linode and test it there, then swap the IP address over to it once it is ready to go.
In the outbound direction, it's not easy getting a disk image from a Linode booting on a "traditional" architecture; the lack of a boot sector, partition table, bootloader, and kernel are all surmountable, but it becomes one heck of a yak-shaving adventure.
Transferring a disk image to a Linode can go better, but you end up with a lot of extra stuff you don't need (i.e. a boot sector, a partition table, a bootloader, and kernel). There's instructions on that in the Library, under the Advanced section if I recall correctly. |
|
| Back to top |
|
Cromulent
Joined: 20 Oct 2010
Posts: 24
|
| Posted: Wed Jan 04, 2012 6:41 am Post subject: |
|
|
I just create multiple virtual machines on my desktop machine using Virtualbox and then use the bridged networking option to test out how to use multiple virtual machines together in a given configuration.
Works well and is completely free. You can also use snapshots so that you can return to previous configurations as well. |
|
| Back to top |
|
Cromulent
Joined: 20 Oct 2010
Posts: 24
|
| Posted: Wed Jan 04, 2012 8:41 am Post subject: |
|
|
| Oh just to add to my above post make sure that your virtual machines have a static IP address. This should be pretty easy to configure using your router where you set static IP addresses based on the MAC address of the network controller which is connecting to the DHCP server. |
|
| Back to top |
|
| |