]> git.proxmox.com Git - pve-docs.git/blame_incremental - pve-faq.adoc
build: refactor build process
[pve-docs.git] / pve-faq.adoc
... / ...
CommitLineData
1Frequently Asked Questions
2==========================
3ifndef::manvolnum[]
4:pve-toplevel:
5endif::manvolnum[]
6ifdef::wiki[]
7:title: FAQ
8endif::wiki[]
9
10NOTE: New FAQs are appended to the bottom of this section.
11
12/////////////////////////////////////////////////////////////////
13ADD NEW FAQS TO THE BOTTOM OF THIS SECTION TO MAINTAIN NUMBERING
14/////////////////////////////////////////////////////////////////
15
16[qanda]
17
18What distribution is {pve} based on?::
19
20{pve} is based on http://www.debian.org[Debian GNU/Linux]
21
22What license does the {pve} project use?::
23
24{pve} code is licensed under the GNU Affero General Public License,
25version 3.
26
27Will {pve} run on a 32bit processor?::
28
29{pve} works only on 64-bit CPUs (AMD or Intel). There is no plan
30for 32-bit for the platform.
31+
32NOTE: VMs and Containers can be both 32-bit and/or 64-bit.
33
34Does my CPU support virtualization?::
35
36To check if your CPU is virtualization compatible, check for the `vmx`
37or `svm` tag in this command output:
38+
39----
40egrep '(vmx|svm)' /proc/cpuinfo
41----
42
43Supported Intel CPUs::
44
4564-bit processors with
46http://en.wikipedia.org/wiki/Virtualization_Technology#Intel_virtualization_.28VT-x.29[Intel
47Virtualization Technology (Intel VT-x)] support. (http://ark.intel.com/search/advanced/?s=t&VTX=true&InstructionSet=64-bit[List of processors with Intel VT and 64-bit])
48
49Supported AMD CPUs::
50
5164-bit processors with
52http://en.wikipedia.org/wiki/Virtualization_Technology#AMD_virtualization_.28AMD-V.29[AMD
53Virtualization Technology (AMD-V)] support.
54
55What is a container, CT, VE, Virtual Private Server, VPS?::
56
57Operating-system-level virtualization is a server-virtualization
58method where the kernel of an operating system allows for multiple
59isolated user-space instances, instead of just one. We call such
60instances containers. As containers use the host's kernel they are
61limited to Linux guests.
62
63What is a QEMU/KVM guest (or VM)?::
64
65A QEMU/KVM guest (or VM) is a guest system running virtualized under
66{pve} using QEMU and the Linux KVM kernel module.
67
68What is QEMU?::
69
70QEMU is a generic and open source machine emulator and
71virtualizer. QEMU uses the Linux KVM kernel module to achieve near
72native performance by executing the guest code directly on the host
73CPU.
74It is not limited to Linux guests but allows arbitrary operating systems
75to run.
76
77[[faq-support-table]]
78How long will my {pve} version be supported?::
79
80{pve} versions are supported at least as long as the corresponding
81Debian Version is
82https://wiki.debian.org/DebianOldStable[oldstable]. {pve} uses a
83rolling release model and using the latest stable version is always
84recommended.
85+
86[width="100%",cols="5*d",options="header"]
87|===========================================================
88| {pve} Version | Debian Version | First Release | Debian EOL | Proxmox EOL
89| {pve} 5.x | Debian 9 (Stretch)| 2017-07 | tba | tba
90| {pve} 4.x | Debian 8 (Jessie) | 2015-10 | 2018-06 | 2018-06
91| {pve} 3.x | Debian 7 (Wheezy) | 2013-05 | 2016-04 | 2017-02
92| {pve} 2.x | Debian 6 (Squeeze)| 2012-04 | 2014-05 | 2014-05
93| {pve} 1.x | Debian 5 (Lenny) | 2008-10 | 2012-03 | 2013-01
94|===========================================================
95
96[[faq-upgrade]]
97How can I upgrade {pve} to the next release?::
98
99Minor version upgrades, for example upgrading from {pve} in version 5.1
100to 5.2, can be done just like any normal update, either through the Web
101GUI __Node -> Updates__ panel or through the CLI with:
102+
103----
104apt update
105apt full-upgrade
106----
107+
108NOTE: Always ensure you correctly setup the
109xref:sysadmin_package_repositories[package repositories] and only
110continue with the actual upgrade if `apt update` did not hit any error.
111+
112Major version upgrades, for example going from {pve} 4.4 to 5.0, are
113also supported. They must be carefully planned and tested and should
114*never* be started without having a current backup ready.
115Although the specific upgrade steps depend on your respective setup, we
116provide general instructions and advice of how a upgrade should be
117performed:
118+
119* https://pve.proxmox.com/wiki/Upgrade_from_4.x_to_5.0[Upgrade from {pve} 4.x to 5.0]
120
121* https://pve.proxmox.com/wiki/Upgrade_from_3.x_to_4.0[Upgrade from {pve} 3.x to 4.0]
122
123LXC vs LXD vs Proxmox Containers vs Docker::
124
125LXC is a userspace interface for the Linux kernel containment
126features. Through a powerful API and simple tools, it lets Linux users
127easily create and manage system containers. LXC, as well as the former
128OpenVZ, aims at *system virtualization*, i.e. allows you to run a
129complete OS inside a container, where you log in as ssh, add users,
130run apache, etc...
131+
132LXD is building on top of LXC to provide a new, better user
133experience. Under the hood, LXD uses LXC through `liblxc` and its Go
134binding to create and manage the containers. It's basically an
135alternative to LXC's tools and distribution template system with the
136added features that come from being controllable over the network.
137+
138Proxmox Containers also aims at *system virtualization*, and thus uses
139LXC as the basis of its own container offer. The Proxmox Container
140Toolkit is called `pct`, and is tightly coupled with {pve}. That means
141that it is aware of the cluster setup, and it can use the same network
142and storage resources as fully virtualized VMs. You can even use the
143{pve} firewall, create and restore backups, or manage containers using
144the HA framework. Everything can be controlled over the network using
145the {pve} API.
146+
147Docker aims at running a *single* application running in a contained
148environment. Hence you're managing a docker instance from the host with the
149docker toolkit. It is not recommended to run docker directly on your
150{pve} host.
151+
152NOTE: You can however perfectly install and use docker inside a Proxmox Qemu
153VM, and thus getting the benefit of software containerization with the very
154strong isolation that VMs provide.