]> git.proxmox.com Git - pve-docs.git/blame - pve-installation.adoc
spelling/grammar/capitalization
[pve-docs.git] / pve-installation.adoc
CommitLineData
e71b5d0d
DM
1Installing Proxmox VE
2---------------------
3include::attributes.txt[]
d91f8c1e
DM
4
5{pve} ships as a set of Debian packages, so you can simply install it
6on top of a normal Debian installation. After configuring the
7repositories, you need to run:
8
9[source,bash]
10----
11apt-get update
12apt-get install proxmox-ve
13----
14
15While this looks easy, it presumes that you have correctly installed
16the base system, and you know how you want to configure and use the
17local storage. Network configuration is also completely up to you.
18
19In general, this is not trivial, especially when you use LVM or
20ZFS. This is why we provide an installation CD-ROM for {pve}. That
21installer just ask you a few questions, then partitions the local
22disk(s), installs all required packages, and configures the system
23including a basic network setup. You can get a fully functional system
24within a few minutes, including the following:
25
26* Complete operating system (Debian Linux, 64-bit)
27* Partition the hard drive with ext4 (alternative ext3 or xfs) or ZFS
28* {pve} Kernel with LXC and KVM support
29* Complete toolset
30* Web based management interface
31
32NOTE: By default, the complete server is used and all existing data is
33removed.
34
5eba0743 35
d91f8c1e
DM
36Using the {pve} Installation CD-ROM
37~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38
39Please insert the installation CD-ROM, then boot from that
40drive. Immediately afterwards you can choose the following menu
41options:
42
43Install Proxmox VE::
44
45Start normal installation.
46
47Install Proxmox VE (Debug mode)::
48
49Start installation in debug mode. It opens a shell console at several
50installation steps, so that you can debug things if something goes
51wrong. Please press `CTRL-D` to exit those debug consoles and continue
52installation. This option is mostly for developers and not meant for
53general use.
54
55Rescue Boot::
56
57This option allows you to boot an existing installation. It searches
58all attached hard disks, and if it finds an existing installation,
59boots directly into that disk using the existing Linux kernel. This
60can be useful if there are problems with the boot block (grub), or the
61BIOS is unable to read the boot block from the disk.
62
63Test Memory::
64
8c1189b6 65Runs `memtest86+`. This is useful to check if your memory if
d91f8c1e
DM
66functional and error free.
67
68You normally select *Install Proxmox VE* to start the installation.
69After that you get prompted to select the target hard disk(s). The
8e4bb261 70`Options` button lets you select the target file system, which
8c1189b6
FG
71defaults to `ext4`. The installer uses LVM if you select `ext3`,
72`ext4` or `xfs` as file system, and offers additional option to
d91f8c1e
DM
73restrict LVM space (see <<advanced_lvm_options,below>>)
74
75If you have more than one disk, you can also use ZFS as file system.
76ZFS supports several software RAID levels, so this is specially useful
77if you do not have a hardware RAID controller. The `Options` button
78lets you select the ZFS RAID level, and you can choose disks there.
79
80The next pages just asks for basic configuration options like time
81zone and keyboard layout. You also need to specify your email address
82and select a superuser password.
83
84The last step is the network configuration. Please note that you can
85use either IPv4 or IPv6 here, but not both. If you want to configure a
86dual stack node, you can easily do that after installation.
87
88If you press `Next` now, installation starts to format disks, and
89copies packages to the target. Please wait until that is finished,
90then reboot the server.
91
92Further configuration is done via the Proxmox web interface. Just
93point your browser to the IP address given during installation
94(https://youripaddress:8006). {pve} is tested for IE9, Firefox 10
95and higher, and Google Chrome.
96
97
98[[advanced_lvm_options]]
5eba0743 99Advanced LVM Configuration Options
d91f8c1e
DM
100^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
101
102The installer creates a Volume Group (VG) called `pve`, and additional
103Logical Volumes (LVs) called `root`, `data` and `swap`. The size of
104those volumes can be controlled with:
105
106`hdsize`::
107
108Defines the total HD size to be used. This way you can save free
109space on the HD for further partitioning (i.e. for an additional PV
110and VG on the same hard disk that can be used for LVM storage).
111
112`swapsize`::
113
114To define the size of the `swap` volume. Default is the same size as
115installed RAM, with 4GB minimum and `hdsize/8` as maximum.
116
117`maxroot`::
118
119The `root` volume size. The `root` volume stores the whole operation
120system.
121
122`maxvz`::
123
124Define the size of the `data` volume, which is mounted at
8c1189b6 125`/var/lib/vz`.
d91f8c1e
DM
126
127`minfree`::
128
129To define the amount of free space left in LVM volume group `pve`.
13016GB is the default if storage available > 128GB, `hdsize/8` otherwise.
131+
132NOTE: LVM requires free space in the VG for snapshot creation (not
133required for lvmthin snapshots).
134
135
136ZFS Performance Tips
137^^^^^^^^^^^^^^^^^^^^
138
139ZFS uses a lot of memory, so it is best to add additional 8-16GB RAM
140if you want to use ZFS.
141
142ZFS also provides the feature to use a fast SSD drive as write cache. The
143write cache is called the ZFS Intent Log (ZIL). You can add that after
144installation using the following command:
145
146 zpool add <pool-name> log </dev/path_to_fast_ssd>
147