summaryrefslogtreecommitdiffstats
path: root/website/src/learning/start-install-with-virt-manager/index.html
blob: 154c67b74a913a2baf36da8c56ae1f291705a792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[% topdir = "../.." -%]
[% PROCESS globals -%]
[% WRAPPER page
   title = "Installing a virtual machine with virt-manager"
   h1 = "Installing a virtual machine with virt-manager"
   section = "learning"
%]

<p>
Installing a virtual machine in virt-manager is a three step
process.  First <a href="#download">download the operating
system ISO</a> that you want to install.
Secondly <a href="#virt-manager">start virt-manager</a>
and <a href="#new-vm">create a new virtual machine for your
guest</a>.  Lastly <a href="#installer">run the guest installer
from the ISO</a>.
</p>

<p>
You may also be interested in <a href="../install-with-command-line/">our
tutorial which explains how to do all of this from the command line</a>.
</p>

[% WRAPPER h2 h2="Download the ISO" anchor="download" %]

<p>
Download an ISO of the operating system you want to install.
Here are some common starting points:
</p>

<ul>
<li> <a href="http://fedoraproject.org/get-fedora">Get Fedora</a> </li>
<li> <a href="http://www.debian.org/CD/http-ftp/">Get Debian by HTTP</a> </li>
<li> <a href="http://www.ubuntu.com/desktop/get-ubuntu/download">Get Ubuntu desktop edition</a> </li>
<li> <a href="http://msdn.microsoft.com/subscriptions/downloads">MSDN subscriber downloads (Windows)</a> </li>
</ul>

<p>
Remember the operating system you install as a guest does
not need to be the same as your host!
</p>

[% END %]

[% WRAPPER h2 h2="Start virt-manager" anchor="virt-manager" %]

<p>
Start virt-manager
(Applications &rarr; System Tools &rarr; Virtual Machine Manager)
</p>

<p>
You may be asked to select the hypervisor and/or type your
root password:
</p>

<p>
<img src="authenticate.png" width="477" height="454"
  longdesc="Image showing authentication." />
</p>

[% END %]

[% WRAPPER h2 h2="Start new VM wizard" anchor="new-vm" %]

<p>
Click the button in the top left corner to begin installing
your virtual machine:
</p>

<p>
<img src="new-button.png" width="44" height="40"
  longdesc="New VM button." />
</p>

<p>
<img src="new-vm-1.png" width="457" height="381"
  longdesc="New VM step 1" />
</p>

<p>
Since you have downloaded an ISO, you need to select
<q>Local install media</q>.  Also choose a name for the
new guest.
</p>

<p>
At the next step you need to tell virt-manager where
you downloaded the ISO to.  When you click <q>Browse</q>
you will see the default libvirt storage volume (which
will probably be empty the first time):
</p>

<p>
<img src="new-vm-2-browse.png" width="750" height="500"
  longdesc="New VM step 2 browse window" />
</p>

<p>
Click <q>Browse Local</q> to browse to the ISO on your
local disk.
</p>

<p>
<img src="new-vm-2.png" width="457" height="381"
  longdesc="New VM step 2" />
</p>

<p>
The third step allows you to choose the amount of RAM
and number of virtual CPUs allocated to the guest.  For
KVM guests, RAM can be overcommitted carefully (you can allocate
more RAM to all your guests than you really have available).
For Xen guests this is not possible.  A modern Linux guest
requires at least 512 MB of RAM, and more is better.
</p>

<p>
<img src="new-vm-3.png" width="457" height="381"
  longdesc="New VM step 3" />
</p>

<p>
If all goes well you should be able to skip through
the next steps and start your install:
</p>

<p>
<img src="new-vm-4.png" width="457" height="381"
  longdesc="New VM step 4" />
</p>

<p>
<img src="new-vm-5.png" width="457" height="381"
  longdesc="New VM step 5" />
</p>

[% END %]

[% WRAPPER h2 h2="Run the installer" anchor="installer" %]

<p>
From now on you should install the guest from the ISO
as if you were installing it on real hardware:
</p>

<p>
<img src="installer.png" width="784" height="563"
  longdesc="Virtual machine installer running" />
</p>

[% END %]

[% END -%]