mirror of
https://git.proxmox.com/git/pmg-docs
synced 2025-05-29 23:26:07 +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]
|
[source,bash]
|
||||||
----
|
----
|
||||||
apt-get update
|
apt update
|
||||||
apt-get install proxmox-mailgateway
|
apt install proxmox-mailgateway
|
||||||
----
|
----
|
||||||
|
|
||||||
Installing on top of an existing Debian installation looks easy, but
|
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
|
used ensure that the container always leases the same IP, for example, by
|
||||||
reserving one with the containers network MAC address.
|
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
|
Additionally you can also install this on top of a container based Debian
|
||||||
xref:pmg_install_on_debian[on a normal 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]]
|
[[pmg_package_repositories]]
|
||||||
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
|
management tool. The list of repositories is defined in
|
||||||
`/etc/apt/sources.list` and `.list` files found inside
|
`/etc/apt/sources.list` and `.list` files found inside
|
||||||
`/etc/apt/sources.d/`. Updates can be installed directly using
|
`/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
|
Apt `sources.list` files list one package repository per line, with
|
||||||
the most preferred source listed first. Empty lines are ignored, and a
|
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
|
`#` character anywhere on a line marks the remainder of that line as a
|
||||||
comment. The information available from the configured sources is
|
comment. The information available from the configured sources is
|
||||||
acquired by `apt-get update`.
|
acquired by `apt update`.
|
||||||
|
|
||||||
.File `/etc/apt/sources.list`
|
.File `/etc/apt/sources.list`
|
||||||
----
|
----
|
||||||
|
@ -24,16 +24,17 @@ pmgupgrade - Upgrade Proxmox Mail Gateway
|
|||||||
:pmg-toplevel:
|
:pmg-toplevel:
|
||||||
endif::manvolnum[]
|
endif::manvolnum[]
|
||||||
|
|
||||||
This is a small wrapper around `apt-get dist-upgrade`. We use this to
|
This is a small wrapper around `apt full-upgrade`. We use this to print
|
||||||
print additional information (kernel restart required?), and
|
additional information, like when a node reboot due to a kernel update is
|
||||||
optionally run an interactive shell after the update. It is
|
required. Additionally, it can run an interactive shell after the update, this
|
||||||
invoked when starting an upgrade using the web GUI.
|
is used when starting an upgrade using the web GUI.
|
||||||
|
|
||||||
If you are already logged in on the console, it is preferable to invoke
|
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[]
|
ifdef::manvolnum[]
|
||||||
|
Loading…
Reference in New Issue
Block a user