LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2010, 04:51 PM   #1
hornetbzz
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Rep: Reputation: 0
Question looking for advice about VM's


Hi,

I have 5 machines, all under Nux OS (One nux as firewall, one Debian's like, one Ubuntu 9.04, one Ubuntu 10.04 and one Debian Lenny).

All web and various servers installed on the Debian'machine. I recently made a huge shell mistake (remote rm with an empty data in a cronjob, well done ...) and had to reinstall from scratch the Debian's machine. Great fun with special Apache and PHP compiled.

So I spent quite a lot of time to set up some back up cronjobs on all these machines.

And I tried to install a VM (virtual box on the Debian machine) as it looks like to offer some significant advantages, like adding another distro, or ... enabling easy backups, as it would be an entire (virtual) disk.

I've installed the VM and it looks running on the Debian machine.

=> Questions: Assuming this would be a good choice, how to access and manipulate the VM from a remote machine on another subnet on my LAN ..? (could not find a detailed HOWTO for noobs)

Thx in advance
 
Old 08-03-2010, 05:05 PM   #2
jumpunjak
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
great to see some success

Quote:
Originally Posted by hornetbzz View Post
Hi,

I have 5 machines, all under Nux OS (One nux as firewall, one Debian's like, one Ubuntu 9.04, one Ubuntu 10.04 and one Debian Lenny).

All web and various servers installed on the Debian'machine. I recently made a huge shell mistake (remote rm with an empty data in a cronjob, well done ...) and had to reinstall from scratch the Debian's machine. Great fun with special Apache and PHP compiled.

So I spent quite a lot of time to set up some back up cronjobs on all these machines.

And I tried to install a VM (virtual box on the Debian machine) as it looks like to offer some significant advantages, like adding another distro, or ... enabling easy backups, as it would be an entire (virtual) disk.

I've installed the VM and it looks running on the Debian machine.

=> Questions: Assuming this would be a good choice, how to access and manipulate the VM from a remote machine on another subnet on my LAN ..? (could not find a detailed HOWTO for noobs)

Thx in advance
am excited although just getting started
 
Old 08-03-2010, 08:38 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Access to a VM is transparent for the most part. Only thing you may need to be aware is the three basic ways one can setup the virtual network. One is bridged, another is nat and another is local. Local would only allow VM's to network. Remember the VM application has a router software sort of hidden for both nat and local. I tend to use nat so you have to watch your routes to any VM.
 
Old 08-03-2010, 08:54 PM   #4
lartman
LQ Newbie
 
Registered: Jan 2004
Location: Sydney, Australia
Distribution: RHEL
Posts: 22

Rep: Reputation: 17
Quote:
Originally Posted by hornetbzz View Post
=> Questions: Assuming this would be a good choice, how to access and manipulate the VM from a remote machine on another subnet on my LAN ..? (could not find a detailed HOWTO for noobs)
Setup the VM network in bridge mode and you can access the VMs over the network the same way as a physical box.
 
Old 08-04-2010, 02:41 PM   #5
hornetbzz
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Thx guys.

In the case I would use that VM to embed an Apache web server (inc. an FTP server as well, PHP, MySql, Ajax and so on..), what would be the best way between a bridged or a natted "virtual router" ?

(I understand "nat" but did not experienced yet a bridge connection, so NAT looks easier for me, but a bridge might be a better choice)

Thx in advance
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox crashing vm's on purpse? manwichmakesameal Linux - Virtualization and Cloud 3 12-14-2010 09:04 AM
how to provide vm's access to FC SAN through the host HBA module? chakoshi Linux - Virtualization and Cloud 8 04-13-2010 03:22 PM
multiple public ip support in Cloud VM's sparkshankar Linux - Virtualization and Cloud 6 11-04-2009 09:34 AM
How do I connect Linux to VM's Windows via serial ports ? mrguo Linux - Hardware 0 01-17-2009 09:11 PM
linux cluster to run win vm's stairwayoflight Linux - Networking 1 01-09-2007 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration