LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-11-2007, 11:38 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Advantage in running a virtual machine


Hi folks,


Virtural box is new to me.
www.virtualbox.org

Its idea is not new to me. I'm also aware of Vmware but never testing it.

In my old days when I was running RH/Mandrake, etc. there were few applications running on Linux. Therefore I have to run "wine" installing Windows application on Linux box to keep me alive. Nowadays we have tons of application available on Open Source for Linux/Unix. Some of them you can't even find equivalent on Windows World.

I can't resolve what will be the purpose running several OS on the same PC (I don't run Windows). Even if I can build servers running on different OS on the same PC. What will be its advantage? The CPU resource has to be shared resulting in slowing down the speed of each server.

Please shed me somelight. Yours advice would be appreciated. TIA


B.R.
satimis
 
Old 06-12-2007, 05:45 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Porting the software
testing programs's in diferent OS
running different kernels.
having many virtual OS simultaneously
 
Old 06-12-2007, 05:50 AM   #3
FMC
Member
 
Registered: May 2007
Location: São Paulo
Distribution: Gentoo & Debian
Posts: 97

Rep: Reputation: 15
Supose that you have a system like AMD 3800, 4GB RAM, HD 300GB and you want to host about 100 websites.

Well, your machine is wonderfull for the job, so you can have a virtual machine running IIS, another running apache, another running some MTA and so on!

This is pretty good for a production enviroment, you take advantage of your entire hardware, also, you create an abstract layer between hardware and software. With VMWare, for example, you can change a virtual machine from one machine to another with a simple drag ´n drop operation, this is perfect for hardware manutention, upgrade and everything.

Well, there is a lot of good things in virtualization, I just mentioned an example!

[]´s, FMC!
 
Old 07-16-2007, 11:22 AM   #4
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi FMC,


Tks for your advice.


Quote:
Supose that you have a system like AMD 3800, 4GB RAM, HD 300GB and you want to host about 100 websites.

Well, your machine is wonderfull for the job, so you can have a virtual machine running IIS, another running apache, another running some MTA and so on!
Whether to run each package, such as apache, mysql, php, etc. on its own platform? What will be the advantage? Can I run apache on CentOS, mysql on OpenBSD, php on Slack, etc.? OR the OS must be the same? How to connect them together?

About HD, do I need partition it first before installing the OS and packages? OR just keep it untouched and partition it when needed cutting the required size for use leaving the remaining portion untouched?

Quote:
This is pretty good for a production enviroment, you take advantage of your entire hardware, also, you create an abstract layer between hardware and software.
Could you please explain in more detail on abstract layer? TIA


Quote:
With VMWare, for example, you can change a virtual machine from one machine to another with a simple drag ´n drop operation, this is perfect for hardware manutention, upgrade and everything.
Could you pls provide more detail on "you can change a virtual machine from one machine to another with a simple drag ´n drop operation". Tks.


B.R.
satimis
 
Old 07-16-2007, 12:09 PM   #5
FMC
Member
 
Registered: May 2007
Location: São Paulo
Distribution: Gentoo & Debian
Posts: 97

Rep: Reputation: 15
Quote:
Originally Posted by satimis

Whether to run each package, such as apache, mysql, php, etc. on its own platform? What will be the advantage? Can I run apache on CentOS, mysql on OpenBSD, php on Slack, etc.? OR the OS must be the same? How to connect them together?
The advantage is that you can run Windows with IIS, apache on Linux and so on, also, if - for example - your mysql server start to take too much resources, it wont hang everything else. You can even restart the MySQL machine without stopping other services.

Quote:
Originally Posted by satimis
About HD, do I need partition it first before installing the OS and packages? OR just keep it untouched and partition it when needed cutting the required size for use leaving the remaining portion untouched?
It will depend of the VM host software you´re using, but usualy you do not need to partition everything.

Quote:
Originally Posted by satimis
Could you pls provide more detail on "you can change a virtual machine from one machine to another with a simple drag ´n drop operation". Tks.
Lets imagine that you have 100 machines, all of then with VMWare pretty well configured and integrated. You have to change one machine by another becouse it is broken, you just drag´n´drop the VM to another machine and so you can do your manutention without stopping some client service.

[]´s, FMC!
 
Old 07-16-2007, 03:12 PM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
I believe it also adds an extra level of security. Say you're browsing the internet from Windows using Internet Explorer. Even with up-to-date firewalls, antivirus and antispyware software it's still easy to get infected by enough viruses and spyware that the os would need to be reinstalled. If the infected os were running as a guest virtual machine the host would be unaffected.Unless you're hacked by something that can trace the IP address from the guest to your host.
 
Old 07-17-2007, 09:30 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
HI FMC,


Tks for your advice.


I haven't run Windows for prolonged time. IIRC reboot is required if adding a software on it or even changing some config on the OS. On reboot other OS will also be affected. How to overcome this difficulty.


On installation, I suppose VMWare/qemu/VirtualBox goes first before the OS. If I'm wrong please correct me. Tks.


Quote:
Lets imagine that you have 100 machines, all of then with VMWare pretty well configured and integrated. You have to change one machine by another becouse it is broken, you just drag´n´drop the VM to another machine and so you can do your manutention without stopping some client service.
Sorry I'm not quite clear of your advice here.

Suppose one machine broken I need to re-install the OS. Whether install the new OS on another partition w/o config and drag-n-drop the old VM on it? In this way would the bug also be carried onto the new machine?


B.R.
satimis

Last edited by satimis; 07-17-2007 at 09:44 AM.
 
Old 07-17-2007, 09:34 AM   #8
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by dracolich
I believe it also adds an extra level of security. Say you're browsing the internet from Windows using Internet Explorer. Even with up-to-date firewalls, antivirus and antispyware software it's still easy to get infected by enough viruses and spyware that the os would need to be reinstalled. If the infected os were running as a guest virtual machine the host would be unaffected.Unless you're hacked by something that can trace the IP address from the guest to your host.
Hi dracolich,


Tks for your advice.


satimis
 
Old 05-14-2009, 11:08 AM   #9
adolfo158
LQ Newbie
 
Registered: Jul 2007
Posts: 3

Rep: Reputation: 0
Lightbulb Maibe you can give me a hint

<<Deleted>> the member has started a new thread with his question.

Last edited by pixellany; 05-14-2009 at 02:47 PM. Reason: duplicate
 
Old 05-14-2009, 07:50 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If you've got MS in a virtual machine on top of Linux, you just reboot the virtual machine.
Host is not affected.
 
Old 05-14-2009, 07:55 PM   #11
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
And now there's Portable-VM's like slack and dsl, tomorrow, the world!

( http://www.linuxquestions.org/questi...d.php?t=725812 )

( http://www.linuxquestions.org/questi...d.php?t=725967 )
 
  


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
file sharing between a virtual machine and the host machine okok Linux - Networking 3 06-21-2013 12:42 AM
LXer: Running Solaris 10 (11/06) Virtual Machine on CentOS 5.0 (VMWare Server 1.0.3) LXer Syndicated Linux News 0 05-25-2007 12:46 AM
Virtual Machine phantom_cyph Linux - Software 7 05-24-2007 08:05 AM
Problems running Slackware 11 on Virtual Machine from WMWare Workstation 5 Daniel-UFF Slackware 1 11-09-2006 07:30 AM
NIC installation in fedora running as virtual machine naufal Linux - Networking 3 09-22-2006 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:49 PM.

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