]> git.proxmox.com Git - pve-docs.git/blame - pve-faq.adoc
update link qemu documentation non web.archive
[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+
fd7fb228 32NOTE: VMs and Containers can be both 32-bit and 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
fd7fb228 55What is a container/virtual environment (VE)/virtual private server (VPS)?::
fb810903 56
fd7fb228
DW
57In the context of containers, these terms all refer to the concept of
58operating-system-level virtualization. Operating-system-level virtualization is
59a method of virtualization, in which the kernel of an operating system
60allows for multiple isolated instances, that all share the kernel. When
61referring to LXC, we call such instances containers. Because containers use the
62host's kernel rather than emulating a full operating system, they require less
63overhead, but are limited to Linux guests.
fb810903 64
a660560c 65What is a QEMU/KVM guest (or VM)?::
fb810903 66
a660560c
DM
67A QEMU/KVM guest (or VM) is a guest system running virtualized under
68{pve} using QEMU and the Linux KVM kernel module.
fb810903 69
a660560c 70What is QEMU?::
fb810903 71
a660560c
DM
72QEMU is a generic and open source machine emulator and
73virtualizer. QEMU uses the Linux KVM kernel module to achieve near
74native performance by executing the guest code directly on the host
75CPU.
92702cb2
TL
76It is not limited to Linux guests but allows arbitrary operating systems
77to run.
38366597 78
718ea5cb 79[[faq-support-table]]
38366597
DM
80How long will my {pve} version be supported?::
81
82{pve} versions are supported at least as long as the corresponding
83Debian Version is
84https://wiki.debian.org/DebianOldStable[oldstable]. {pve} uses a
85rolling release model and using the latest stable version is always
86recommended.
87+
88[width="100%",cols="5*d",options="header"]
89|===========================================================
90| {pve} Version | Debian Version | First Release | Debian EOL | Proxmox EOL
986e82b5
TL
91| {pve} 6.x | Debian 10 (Buster)| 2019-07 | tba | tba
92| {pve} 5.x | Debian 9 (Stretch)| 2017-07 | 2020-07 | 2020-07
cacccdfb 93| {pve} 4.x | Debian 8 (Jessie) | 2015-10 | 2018-06 | 2018-06
38366597
DM
94| {pve} 3.x | Debian 7 (Wheezy) | 2013-05 | 2016-04 | 2017-02
95| {pve} 2.x | Debian 6 (Squeeze)| 2012-04 | 2014-05 | 2014-05
96| {pve} 1.x | Debian 5 (Lenny) | 2008-10 | 2012-03 | 2013-01
97|===========================================================
16aecaa2 98
718ea5cb
TL
99[[faq-upgrade]]
100How can I upgrade {pve} to the next release?::
101
102Minor version upgrades, for example upgrading from {pve} in version 5.1
103to 5.2, can be done just like any normal update, either through the Web
104GUI __Node -> Updates__ panel or through the CLI with:
105+
106----
107apt update
108apt full-upgrade
109----
110+
111NOTE: Always ensure you correctly setup the
112xref:sysadmin_package_repositories[package repositories] and only
113continue with the actual upgrade if `apt update` did not hit any error.
114+
115Major version upgrades, for example going from {pve} 4.4 to 5.0, are
116also supported. They must be carefully planned and tested and should
117*never* be started without having a current backup ready.
118Although the specific upgrade steps depend on your respective setup, we
119provide general instructions and advice of how a upgrade should be
120performed:
121+
5c683f13
TL
122* https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0[Upgrade from {pve} 5.x to 6.0]
123
718ea5cb
TL
124* https://pve.proxmox.com/wiki/Upgrade_from_4.x_to_5.0[Upgrade from {pve} 4.x to 5.0]
125
126* https://pve.proxmox.com/wiki/Upgrade_from_3.x_to_4.0[Upgrade from {pve} 3.x to 4.0]
127
92a08560 128LXC vs LXD vs Proxmox Containers vs Docker::
16aecaa2
EK
129
130LXC is a userspace interface for the Linux kernel containment
8e5f15be
DM
131features. Through a powerful API and simple tools, it lets Linux users
132easily create and manage system containers. LXC, as well as the former
fd7fb228
DW
133OpenVZ, aims at *system virtualization*. Thus, it allows you to run a
134complete OS inside a container, where you log in using ssh, add users,
8e5f15be 135run apache, etc...
f039505c 136+
fd7fb228 137LXD is built on top of LXC to provide a new, better user
8c1189b6 138experience. Under the hood, LXD uses LXC through `liblxc` and its Go
8e5f15be
DM
139binding to create and manage the containers. It's basically an
140alternative to LXC's tools and distribution template system with the
141added features that come from being controllable over the network.
f039505c 142+
fd7fb228
DW
143Proxmox Containers are how we refer to containers that are created and managed
144using the Proxmox Container Toolkit (`pct`). They also target *system
145virtualization* and use LXC as the basis of the container offering. The
146Proxmox Container Toolkit (`pct`) is tightly coupled with {pve}. This means
147that it is aware of cluster setups, and it can use the same network
148and storage resources as QEMU virtual machines (VMs). You can even use the
8e5f15be
DM
149{pve} firewall, create and restore backups, or manage containers using
150the HA framework. Everything can be controlled over the network using
151the {pve} API.
92a08560 152+
fd7fb228
DW
153Docker aims at running a *single* application in an isolated, self-contained
154environment. These are generally referred to as ``Application Containers'', rather
155than ``System Containers''. You manage a Docker instance from the host, using the
156Docker Engine command line interface. It is not recommended to run docker
157directly on your {pve} host.
f039505c 158+
fd7fb228
DW
159NOTE: If you want to run application containers, for example, 'Docker' images, it
160is best to run them inside a Proxmox Qemu VM.