]> git.proxmox.com Git - pve-docs.git/blame - pve-faq.adoc
rewrite and extend pct documentation
[pve-docs.git] / pve-faq.adoc
CommitLineData
fb810903 1Frequently Asked Questions
b5643436 2==========================
194d2f29 3ifndef::manvolnum[]
5f09af76 4:pve-toplevel:
194d2f29
DM
5endif::manvolnum[]
6ifdef::wiki[]
cb84ed18 7:title: FAQ
5f09af76
DM
8endif::wiki[]
9
fb810903
DM
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
a660560c 18What distribution is {pve} based on?::
fb810903 19
a660560c 20{pve} is based on http://www.debian.org[Debian GNU/Linux]
fb810903 21
a660560c 22What license does the {pve} project use?::
fb810903 23
a660560c
DM
24{pve} code is licensed under the GNU Affero General Public License,
25version 3.
26
27Will {pve} run on a 32bit processor?::
28
5eba0743 29{pve} works only on 64-bit CPUs (AMD or Intel). There is no plan
fb810903
DM
30for 32-bit for the platform.
31+
92702cb2 32NOTE: VMs and Containers can be both 32-bit and/or 64-bit.
fb810903
DM
33
34Does my CPU support virtualization?::
35
8c1189b6
FG
36To check if your CPU is virtualization compatible, check for the `vmx`
37or `svm` tag in this command output:
fb810903
DM
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
8e4bb261 60instances containers. As containers use the host's kernel they are
92702cb2 61limited to Linux guests.
fb810903 62
a660560c 63What is a QEMU/KVM guest (or VM)?::
fb810903 64
a660560c
DM
65A QEMU/KVM guest (or VM) is a guest system running virtualized under
66{pve} using QEMU and the Linux KVM kernel module.
fb810903 67
a660560c 68What is QEMU?::
fb810903 69
a660560c
DM
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.
92702cb2
TL
74It is not limited to Linux guests but allows arbitrary operating systems
75to run.
38366597 76
718ea5cb 77[[faq-support-table]]
38366597
DM
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
986e82b5
TL
89| {pve} 6.x | Debian 10 (Buster)| 2019-07 | tba | tba
90| {pve} 5.x | Debian 9 (Stretch)| 2017-07 | 2020-07 | 2020-07
cacccdfb 91| {pve} 4.x | Debian 8 (Jessie) | 2015-10 | 2018-06 | 2018-06
38366597
DM
92| {pve} 3.x | Debian 7 (Wheezy) | 2013-05 | 2016-04 | 2017-02
93| {pve} 2.x | Debian 6 (Squeeze)| 2012-04 | 2014-05 | 2014-05
94| {pve} 1.x | Debian 5 (Lenny) | 2008-10 | 2012-03 | 2013-01
95|===========================================================
16aecaa2 96
718ea5cb
TL
97[[faq-upgrade]]
98How can I upgrade {pve} to the next release?::
99
100Minor version upgrades, for example upgrading from {pve} in version 5.1
101to 5.2, can be done just like any normal update, either through the Web
102GUI __Node -> Updates__ panel or through the CLI with:
103+
104----
105apt update
106apt full-upgrade
107----
108+
109NOTE: Always ensure you correctly setup the
110xref:sysadmin_package_repositories[package repositories] and only
111continue with the actual upgrade if `apt update` did not hit any error.
112+
113Major version upgrades, for example going from {pve} 4.4 to 5.0, are
114also supported. They must be carefully planned and tested and should
115*never* be started without having a current backup ready.
116Although the specific upgrade steps depend on your respective setup, we
117provide general instructions and advice of how a upgrade should be
118performed:
119+
5c683f13
TL
120* https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0[Upgrade from {pve} 5.x to 6.0]
121
718ea5cb
TL
122* https://pve.proxmox.com/wiki/Upgrade_from_4.x_to_5.0[Upgrade from {pve} 4.x to 5.0]
123
124* https://pve.proxmox.com/wiki/Upgrade_from_3.x_to_4.0[Upgrade from {pve} 3.x to 4.0]
125
92a08560 126LXC vs LXD vs Proxmox Containers vs Docker::
16aecaa2
EK
127
128LXC is a userspace interface for the Linux kernel containment
8e5f15be
DM
129features. Through a powerful API and simple tools, it lets Linux users
130easily create and manage system containers. LXC, as well as the former
131OpenVZ, aims at *system virtualization*, i.e. allows you to run a
132complete OS inside a container, where you log in as ssh, add users,
133run apache, etc...
f039505c 134+
8e5f15be 135LXD is building on top of LXC to provide a new, better user
8c1189b6 136experience. Under the hood, LXD uses LXC through `liblxc` and its Go
8e5f15be
DM
137binding to create and manage the containers. It's basically an
138alternative to LXC's tools and distribution template system with the
139added features that come from being controllable over the network.
f039505c 140+
8e5f15be
DM
141Proxmox Containers also aims at *system virtualization*, and thus uses
142LXC as the basis of its own container offer. The Proxmox Container
8c1189b6 143Toolkit is called `pct`, and is tightly coupled with {pve}. That means
8e5f15be
DM
144that it is aware of the cluster setup, and it can use the same network
145and storage resources as fully virtualized VMs. You can even use the
146{pve} firewall, create and restore backups, or manage containers using
147the HA framework. Everything can be controlled over the network using
148the {pve} API.
92a08560 149+
16aecaa2
EK
150Docker aims at running a *single* application running in a contained
151environment. Hence you're managing a docker instance from the host with the
8e5f15be
DM
152docker toolkit. It is not recommended to run docker directly on your
153{pve} host.
f039505c 154+
92a08560
EK
155NOTE: You can however perfectly install and use docker inside a Proxmox Qemu
156VM, and thus getting the benefit of software containerization with the very
157strong isolation that VMs provide.