mirror of
https://git.proxmox.com/git/pmg-docs
synced 2025-05-28 16:50:02 +00:00
prefer apt over apt-get, fix CT appliance section
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
582a64ad7c
commit
3e2d227035
@ -233,8 +233,8 @@ xref:pmg_package_repositories[Package repositories], you need to run:
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
apt-get update
|
||||
apt-get install proxmox-mailgateway
|
||||
apt update
|
||||
apt install proxmox-mailgateway
|
||||
----
|
||||
|
||||
Installing on top of an existing Debian installation looks easy, but
|
||||
@ -265,8 +265,15 @@ NOTE: It's recommended to use a static network configuration. If DHCP should be
|
||||
used ensure that the container always leases the same IP, for example, by
|
||||
reserving one with the containers network MAC address.
|
||||
|
||||
It is also possible to install {pmg} in a regular Debian LXC or VM, just as you would
|
||||
xref:pmg_install_on_debian[on a normal Debian].
|
||||
Additionally you can also install this on top of a container based Debian
|
||||
installation. After configuring the
|
||||
xref:pmg_package_repositories[Package repositories], you need to run:
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
apt update
|
||||
apt install proxmox-mailgateway-container
|
||||
----
|
||||
|
||||
[[pmg_package_repositories]]
|
||||
Package Repositories
|
||||
@ -277,13 +284,13 @@ https://en.wikipedia.org/wiki/Advanced_Packaging_Tool[APT] as package
|
||||
management tool. The list of repositories is defined in
|
||||
`/etc/apt/sources.list` and `.list` files found inside
|
||||
`/etc/apt/sources.d/`. Updates can be installed directly using
|
||||
`apt-get`, or via the GUI.
|
||||
`apt`, or via the GUI.
|
||||
|
||||
Apt `sources.list` files list one package repository per line, with
|
||||
the most preferred source listed first. Empty lines are ignored, and a
|
||||
`#` character anywhere on a line marks the remainder of that line as a
|
||||
comment. The information available from the configured sources is
|
||||
acquired by `apt-get update`.
|
||||
acquired by `apt update`.
|
||||
|
||||
.File `/etc/apt/sources.list`
|
||||
----
|
||||
|
@ -24,16 +24,17 @@ pmgupgrade - Upgrade Proxmox Mail Gateway
|
||||
:pmg-toplevel:
|
||||
endif::manvolnum[]
|
||||
|
||||
This is a small wrapper around `apt-get dist-upgrade`. We use this to
|
||||
print additional information (kernel restart required?), and
|
||||
optionally run an interactive shell after the update. It is
|
||||
invoked when starting an upgrade using the web GUI.
|
||||
This is a small wrapper around `apt full-upgrade`. We use this to print
|
||||
additional information, like when a node reboot due to a kernel update is
|
||||
required. Additionally, it can run an interactive shell after the update, this
|
||||
is used when starting an upgrade using the web GUI.
|
||||
|
||||
If you are already logged in on the console, it is preferable to invoke
|
||||
`apt-get` directly.
|
||||
`apt` directly.
|
||||
|
||||
----
|
||||
# apt-get dist-upgrade
|
||||
# apt update
|
||||
# apt full-upgrade
|
||||
----
|
||||
|
||||
ifdef::manvolnum[]
|
||||
|
Loading…
Reference in New Issue
Block a user