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