Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v17] Add DEB/RPM package info to the Installation guide #49825

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@
"lmnop",
"loadbalancer",
"localca",
"localinstall",
"loginerrortroubleshooting",
"loginrule",
"loginrules",
Expand Down
87 changes: 74 additions & 13 deletions docs/pages/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -317,14 +317,15 @@ repositories.
</TabItem>
</Tabs>

### TAR archives (self-hosted only)
### Downloading packages and TAR archives (self-hosted only)

For self-hosted deployments, Teleport maintains TAR archives for
Teleport maintains TAR archives as well as DEB and RPM packages for
Linux-compatible binaries at `https://cdn.teleport.dev`. This section explains
the Teleport TAR archives and how to use them.
how to install Teleport by manually downloading a release.

It is not possible to install the automatic agent updater using TAR archives.
Teleport Cloud customers must use the [one-line installation
It is not possible to install the automatic agent updater using this method, so
using packages and TAR archives is only available for users who self-hosted
Teleport. Teleport Cloud customers must use the [one-line installation
script](#one-line-installation-script) or manually install Teleport from a
[package repository](#package-repositories) in order to install the updater.

Expand Down Expand Up @@ -354,38 +355,98 @@ script](#one-line-installation-script) or manually install Teleport from a

The following architecture values are available:

- `amd64`
- `amd64` (`x86_84` if downloading an RPM package)
- `arm64`
- `arm`
- `386`
- `386` (`i386` if downloading a DEB or RPM package)

1. Run the following commands to download the Teleport archive, unpack it, and
install binaries:
1. Run the following commands to download a Teleport package or archive, unpack
it, and install binaries:

<Tabs>
<TabItem label="TAR">

```code
$ curl https://cdn.teleport.dev/${TELEPORT_PKG?}-v${TELEPORT_VERSION?}-linux-${SYSTEM_ARCH?}-bin.tar.gz.sha256
# <checksum> <filename>
$ curl -O https://cdn.teleport.dev/${TELEPORT_PKG?}-v${TELEPORT_VERSION?}-linux-${SYSTEM_ARCH?}-bin.tar.gz
$ shasum -a 256 ${TELEPORT_PKG?}-v${TELEPORT_VERSION?}-linux-${SYSTEM_ARCH?}-bin.tar.gz
# Verify that the checksums match
$ shasum --check -a 256 ${TELEPORT_PKG?}-v${TELEPORT_VERSION?}-linux-${SYSTEM_ARCH?}-bin.tar.gz
$ tar -xvf ${TELEPORT_PKG?}-v${TELEPORT_VERSION?}-linux-${SYSTEM_ARCH?}-bin.tar.gz
$ cd ${TELEPORT_PKG?}
$ sudo ./install
```
</TabItem>
<TabItem label="DEB">

```code
$ curl https://cdn.teleport.dev/${TELEPORT_PKG?}_${TELEPORT_VERSION?}_${SYSTEM_ARCH?}.deb.sha256
# <checksum> <filename>
$ curl -O https://cdn.teleport.dev/${TELEPORT_PKG?}_${TELEPORT_VERSION?}_${SYSTEM_ARCH?}.deb
$ shasum --check -a 256 ${TELEPORT_PKG?}_${TELEPORT_VERSION?}_${SYSTEM_ARCH?}.deb
$ sudo dpkg -i ${TELEPORT_PKG?}_${TELEPORT_VERSION?}_${SYSTEM_ARCH?}.deb
```

</TabItem>
<TabItem label="RPM">

```code
$ curl https://cdn.teleport.dev/${TELEPORT_PKG?}-${TELEPORT_VERSION?}-1.${SYSTEM_ARCH?}.rpm.sha256
# <checksum> <filename>
$ curl -O https://cdn.teleport.dev/${TELEPORT_PKG?}-${TELEPORT_VERSION?}-1.${SYSTEM_ARCH?}.rpm
$ shasum --check -a 256 https://cdn.teleport.dev/${TELEPORT_PKG?}-${TELEPORT_VERSION?}-1.${SYSTEM_ARCH?}.rpm
# Or use yum localinstall, dnf localinstall etc.
$ sudo rpm -i https://cdn.teleport.dev/${TELEPORT_PKG?}-${TELEPORT_VERSION?}-1.${SYSTEM_ARCH?}.rpm
```

</TabItem>
</Tabs>

For FedRAMP/FIPS-compliant installations of Teleport Enterprise, package URLs
are slightly different:

<Tabs>
<TabItem label="TAR">

```code
$ curl https://cdn.teleport.dev/teleport-ent-v${TELEPORT_VERSION?}-linux-${SYSTEM_ARCH?}-fips-bin.tar.gz.sha256
# <checksum> <filename>
$ curl -O https://cdn.teleport.dev/teleport-ent-v${TELEPORT_VERSION?}-linux-${SYSTEM_ARCH?}-fips-bin.tar.gz
$ shasum -a 256 teleport-ent-v${TELEPORT_VERSION?}-linux-${SYSTEM_ARCH?}-fips-bin.tar.gz
# Verify that the checksums match
$ shasum --check -a 256 teleport-ent-v${TELEPORT_VERSION?}-linux-${SYSTEM_ARCH?}-fips-bin.tar.gz
$ tar -xvf teleport-ent-v${TELEPORT_VERSION?}-linux-${SYSTEM_ARCH?}-fips-bin.tar.gz
$ cd teleport-ent
$ sudo ./install
```
</TabItem>
<TabItem label="DEB">

FIPS builds are only available for the `arm64` and `amd64` system
architectures.

```code
$ curl https://cdn.teleport.dev/teleport-ent_${TELEPORT_VERSION}-fips_${SYSTEM_ARCH}.deb.sha256
# <checksum> <filename>
$ curl -O https://cdn.teleport.dev/teleport-ent_${TELEPORT_VERSION}-fips_${SYSTEM_ARCH}.deb
$ shasum --check -a 256 teleport-ent_${TELEPORT_VERSION}-fips_${SYSTEM_ARCH}.deb
$ sudo dpkg -i teleport-ent_${TELEPORT_VERSION}-fips_${SYSTEM_ARCH}.deb
```

</TabItem>
<TabItem label="RPM">

FIPS builds are only available for the `arm64` and `x86_64` system
architectures.

```code
$ curl https://cdn.teleport.dev/teleport-ent-${TELEPORT_VERSION?}-1-fips.${SYSTEM_ARCH?}.rpm.sha256
# <checksum> <filename>
$ curl -O https://cdn.teleport.dev/teleport-ent-${TELEPORT_VERSION?}-1-fips.${SYSTEM_ARCH?}.rpm
$ shasum --check -a 256 https://cdn.teleport.dev/teleport-ent-${TELEPORT_VERSION?}-1-fips.${SYSTEM_ARCH?}.rpm
# Or use yum localinstall, dnf localinstall etc.
$ sudo rpm -i https://cdn.teleport.dev/teleport-ent-${TELEPORT_VERSION?}-1-fips.${SYSTEM_ARCH?}.rpm
```

</TabItem>
</Tabs>

### From your browser

Expand Down
Loading