LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-14-2014, 02:22 PM   #1
npinn001
LQ Newbie
 
Registered: Jul 2010
Posts: 10

Rep: Reputation: 0
Server base install and Kernel importance, and KVM or Virtualbox


Hi all,

So I've decided that the best way for me to sort out my new server is to install a base OS, which I will secure, and then set up Virtualmachines using KVM or Virtualbox to run on top with a media server, mail server etc.

For the base, I was looking at a good distro that is solid and can be updated for years. I had kind of settled on Debian or Centos, sensible server choices. However, I noticed that Centos is still on the 2.6 versions of the kernel, and Debian was 3.2.

Would I lose much going with Centos?

Is Debian easy to upgrade to the next stable release? Basically I want something to run for years as a base, and I can tinker with the VMs which will be other Os's.

Also, does KVM have advantages over virtualbox for this?

Thanks
 
Old 04-14-2014, 09:16 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Note that Red Hat will be releasing RHEL 7 (cuerrently in beta) within the next few months, meaning CentOS 7 will not be far behind , which will then mean CentOS will be ahead of Debian stable. I've run VM hosts on both CentOS 6 and Debian stable, and I haven't noticed too much of a difference in terms of feature sets. There are a couple of virtual CPU types missing from the older version, but it's never really caused me any problems.

I've installed a few test systems from squeeze to wheezy (and done older upgrades too). I can't recall any major issues, but IMO the safest thing to do is reinstall. Since you're running VMs, this is easy; just back up the virtual disk images (which you should be doing anyway), reinstall the new version, and copy back the virtual disks. FWIW, CentOS strongly recommends a reinstall between major versions, though it's theoretically possible to do it "on the fly."

I like KVM because of the good command line tools for VM management, snapshotting, etc. But I'm not very familiar with VirtualBox, so I don't kbnow if it offers anything similar. I'll let someone more savvy with hypervisors handle this one.
 
Old 04-15-2014, 04:15 AM   #3
thexf
LQ Newbie
 
Registered: Sep 2012
Distribution: CentOS,Fedora,Debian
Posts: 4

Rep: Reputation: Disabled
only kvm!
 
Old 04-15-2014, 05:04 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by btmiller View Post
I like KVM because of the good command line tools for VM management, snapshotting, etc. But I'm not very familiar with VirtualBox, so I don't kbnow if it offers anything similar. I'll let someone more savvy with hypervisors handle this one.
VirtualBox has good commandline tools as well, quite comparable to virsh and friends. The main tool is vboxmanage; it allows starting, stopping, controlling a running VM in various ways, taking snapshots, creating networks, disks, ... Having said that, KVM is a RedHat product, and if you use Centos or RedHat anyway, it's a natural choice.
 
Old 04-15-2014, 07:08 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If you don't need support for 3D acceleration I would go for KVM every time. It is easy to manage, especially using tools like VirtManager and as benchmarks show has better performance than Virtualbox. Nowadays I don't use Virtualbox anymore, just KVM for VMs without needs for 3D, VMware Player for VMs that need 3D.
 
  


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
iotop - how to upgrade kernel 2.6.20, install kvm-12, install gcc 3.4.6 allancth Linux - Software 1 05-20-2013 11:57 PM
VirtualBox base memory mfoley93 Linux - Virtualization and Cloud 1 12-21-2011 12:19 PM
[SOLVED] new to virtualization -- kvm, virtualbox or vmware server Thane Linux - Virtualization and Cloud 17 01-20-2011 08:40 PM
Base debian install with kernel 2.4.2 lixy Linux - General 1 02-17-2005 01:26 PM
Base install sarge - kernel compile? insyte Debian 3 08-13-2004 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:52 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