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