LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 04-02-2017, 01:00 PM   #1
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
Debian KVM Host, create VMs from ISO disk image with graphical UI


Hi, I've been trying to figure this out. I'm new to KVM and decided to venture off into it for a home server I'm working on. I decided to install KVM on my debian machine, but once I create the host with the ISO, I can't figure out is there a way to install a .iso file without a graphical user interface?

It seems the only way I can do it on a headless system is create a template on a system with a graphical UI and install it on the host via template?

Is that correct or is their something I'm missing?
 
Old 04-03-2017, 06:37 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,615

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Quote:
Originally Posted by jmc1987 View Post
Hi, I've been trying to figure this out. I'm new to KVM and decided to venture off into it for a home server I'm working on. I decided to install KVM on my debian machine, but once I create the host with the ISO, I can't figure out is there a way to install a .iso file without a graphical user interface?

It seems the only way I can do it on a headless system is create a template on a system with a graphical UI and install it on the host via template?

Is that correct or is their something I'm missing?
To my knowledge, there is nothing that the GUI can do that cannot be done from the command line. The GUI tools, in fact, are running the command-line under the hood and may be more limiting than the command-line tools. The advantage of the GUI is that it DOES limit some things to fill in reasonable values and prevent some human error.

Google for what you want to do and the name of the tools (if known) that you want to use and see what turns up. I would venture to guess that the results will include some command-line instructions. (Once you know some of the commands, the man pages may also help.)
 
Old 04-03-2017, 12:39 PM   #3
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Original Poster
Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by wpeckham View Post
To my knowledge, there is nothing that the GUI can do that cannot be done from the command line. The GUI tools, in fact, are running the command-line under the hood and may be more limiting than the command-line tools. The advantage of the GUI is that it DOES limit some things to fill in reasonable values and prevent some human error.
That is what I thought, but the only thing I can seem to find on google is doing it remotely by spawning a VNC server on the X11 system. I know when I played with OpenVZ in the passed, I did create the templates on my desktop and forwarded them to the server. I'm thinking that might be the most efficient way. Either way this is something I want to deploy in production, and I have to learn the ins and outs before doing so.

But as of right now I have XFCE4 installed on the system which I run the install with it to create the guest for an .iso file, and kill off the x11 afterwords. I know if I create a template I can manage to do it from the CLI. I mainly use virsh to managed the install aftwords.
 
Old 04-06-2017, 10:14 PM   #4
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
You can use the graphical virt-manager to manage libvirt instances both local or remote (via automatic ssh tunneling). It has a nice and working GUI with graphical guest console and pretty much everything you need from a modern virtual machine management GUI.
The graphical virt-manager instance has to run only on the controller machine, the server has to run libvirt with no graphical anything needed.

It does impose certain limitations (it has excessive input checking and certain features from libvirt's xmls not recognized), but it is most certainly usable.

And if you use it make sure you use certificate-based connections for the user you connect via ssh because otherwise you will have like 8-10 password prompts when you connect to a virtual machine - this is because various subsystems have their own ssh-based tunnels set up separately.

BTW there is Proxmox which is a full open source virtualization solution deployed in a single server that can be "clusterized" if needed (it is based on Debian and uses KVM for VMs and LXC for containers). It has a very nice web control interface and a simple to use command line.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KVM error, wont let me create VMs. Please help red king Linux - Virtualization and Cloud 1 07-18-2016 05:58 AM
Physical host of KVM VMs with bonded interface - bridging necessary? slimjim Linux - Virtualization and Cloud 1 06-13-2012 03:08 PM
[SOLVED] can't find debian iso image when trying to install from hard disk slackingclement Linux - Software 6 07-20-2011 09:16 PM
How to burn a Blu-ray Disk from a Debian iso-image? cm100 Linux - Software 4 03-19-2009 04:22 PM
LXer: Using Xen With LVM-Based VMs Instead Of Image-Based VMs (Debian Etch) LXer Syndicated Linux News 0 01-14-2009 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

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