]> git.proxmox.com Git - pve-docs.git/blob - pve-installation.adoc
remove first person reference
[pve-docs.git] / pve-installation.adoc
1 Installing Proxmox VE
2 =====================
3 include::attributes.txt[]
4
5 {pve} ships as a set of Debian packages, so you can simply install it
6 on top of a normal Debian installation, or download the installation
7 CD-ROM and use that to install {pve} on your hardware.
8
9 Installing on top of an existing Debian installation looks easy, but
10 it presumes that you have correctly installed the base system, and you
11 know how you want to configure and use the local storage. Network
12 configuration is also completely up to you.
13
14 In general, this is not trivial, especially when you use LVM or
15 ZFS. This is why we provide an installation CD-ROM for {pve}. That
16 installer just ask you a few questions, then partitions the local
17 disk(s), installs all required packages and configures the system
18 including a basic network setup. You can get a fully functional system
19 within a few minutes, including the following:
20
21 * Complete operating system (Debian Linux, 64-bit)
22 * Partition the hard drive with ext4 (alternative ext3 or xfs) or ZFS
23 * {pve} Kernel with LXC and KVM support
24 * Complete toolset
25 * Web based management interface
26
27 ifndef::wiki[]
28
29 include::pve-system-requirements.adoc[]
30
31 endif::wiki[]
32
33
34 Using the {pve} Installation CD-ROM
35 -----------------------------------
36
37 This is the preferred and recommended installation method.
38
39 NOTE: By default, the complete server is used and all existing data is
40 removed.
41
42 Please insert the installation CD-ROM, then boot from that
43 drive. Immediately afterwards you can choose the following menu
44 options:
45
46 Install Proxmox VE::
47
48 Start normal installation.
49
50 Install Proxmox VE (Debug mode)::
51
52 Start installation in debug mode. It opens a shell console at several
53 installation steps, so that you can debug things if something goes
54 wrong. Please press `CTRL-D` to exit those debug consoles and continue
55 installation. This option is mostly for developers and not meant for
56 general use.
57
58 Rescue Boot::
59
60 This option allows you to boot an existing installation. It searches
61 all attached hard disks and, if it finds an existing installation,
62 boots directly into that disk using the existing Linux kernel. This
63 can be useful if there are problems with the boot block (grub), or the
64 BIOS is unable to read the boot block from the disk.
65
66 Test Memory::
67
68 Runs `memtest86+`. This is useful to check if your memory is
69 functional and error free.
70
71 You normally select *Install Proxmox VE* to start the installation.
72 After that you get prompted to select the target hard disk(s). The
73 `Options` button lets you select the target file system, which
74 defaults to `ext4`. The installer uses LVM if you select `ext3`,
75 `ext4` or `xfs` as file system, and offers additional option to
76 restrict LVM space (see <<advanced_lvm_options,below>>)
77
78 If you have more than one disk, you can also use ZFS as file system.
79 ZFS supports several software RAID levels, so this is specially useful
80 if you do not have a hardware RAID controller. The `Options` button
81 lets you select the ZFS RAID level, and you can choose disks there.
82
83 The next pages just ask for basic configuration options like time
84 zone and keyboard layout. You also need to specify your email address
85 and superuser (root) password (must have at least 5 characters).
86
87 The last step is the network configuration. Please note that you can
88 use either IPv4 or IPv6 here, but not both. If you want to configure a
89 dual stack node, you can easily do that after installation.
90
91 If you press `Next` now, installation starts to format disks, and
92 copies packages to the target. Please wait until that is finished,
93 then reboot the server.
94
95 Further configuration is done via the Proxmox web interface. Just
96 point your browser to the IP address given during installation
97 (https://youripaddress:8006). {pve} is tested for IE9, Firefox 10
98 and higher, and Google Chrome.
99
100 NOTE: Default login is "root" (realm 'PAM') and the root password is
101 defined during the installation process.
102
103
104 [[advanced_lvm_options]]
105 Advanced LVM Configuration Options
106 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
107
108 The installer creates a Volume Group (VG) called `pve`, and additional
109 Logical Volumes (LVs) called `root`, `data` and `swap`. The size of
110 those volumes can be controlled with:
111
112 `hdsize`::
113
114 Defines the total HD size to be used. This way you can save free
115 space on the HD for further partitioning (i.e. for an additional PV
116 and VG on the same hard disk that can be used for LVM storage).
117
118 `swapsize`::
119
120 To define the size of the `swap` volume. Default is the same size as
121 installed RAM, with 4GB minimum and `hdsize/8` as maximum.
122
123 `maxroot`::
124
125 The `root` volume size. The `root` volume stores the whole operation
126 system.
127
128 `maxvz`::
129
130 Define the size of the `data` volume.
131
132 `minfree`::
133
134 To define the amount of free space left in LVM volume group `pve`.
135 16GB is the default if storage available > 128GB, `hdsize/8` otherwise.
136 +
137 NOTE: LVM requires free space in the VG for snapshot creation (not
138 required for lvmthin snapshots).
139
140
141 ZFS Performance Tips
142 ~~~~~~~~~~~~~~~~~~~~
143
144 ZFS uses a lot of memory, so it is best to add additional RAM if you
145 want to use ZFS. A good calculation is 4GB plus 1GB RAM for each TB
146 RAW disk space.
147
148 ZFS also provides the feature to use a fast SSD drive as write cache. The
149 write cache is called the ZFS Intent Log (ZIL). You can add that after
150 installation using the following command:
151
152 zpool add <pool-name> log </dev/path_to_fast_ssd>
153
154
155 ifdef::wiki[]
156
157 link:/wiki/Install_Proxmox_VE_on_Debian_Jessie[Install Proxmox VE on Debian Jessie]
158 -----------------------------------------------------------------------------------
159
160 link:/wiki/Install_from_USB_Stick[Install from USB Stick]
161 ---------------------------------------------------------
162
163 endif::wiki[]
164
165 ifndef::wiki[]
166
167 Install {pve} on Debian
168 -----------------------
169
170 {pve} ships as a set of Debian packages, so you can simply install it
171 on top of a normal Debian installation. After configuring the
172 repositories, you need to run:
173
174 [source,bash]
175 ----
176 apt-get update
177 apt-get install proxmox-ve
178 ----
179
180 You can find a detailed step by step howto on the
181 {webwiki-url}Install_Proxmox_VE_on_Debian_Jessie[wiki].
182
183 include::pve-usbstick.adoc[]
184
185 endif::wiki[]
186
187 ifdef::wiki[]
188
189 Video Tutorials
190 ---------------
191
192 * List of all official tutorials on our
193 http://www.youtube.com/proxmoxve[Proxmox VE YouTube Channel]
194
195 * Tutorials in Spanish language on
196 http://www.youtube.com/playlist?list=PLUULBIhA5QDBdNf1pcTZ5UXhek63Fij8z[ITexperts.es
197 YouTube Play List]
198
199
200 See Also
201 --------
202
203 * link:/wiki/System_Requirements[System Requirements]
204
205 * link:/wiki/Package_Repositories[Package Repositories]
206
207 * link:/wiki/Host_System_Administration[Host System Administration]
208
209 * link:/wiki/Network_Configuration[Network Configuration]
210
211 * link:/wiki/Installation:_Tips_and_Tricks[Installation: Tips and Tricks]
212
213 endif::wiki[]