Skip to content

Commit

Permalink
Add DEB/RPM package info to the Installation guide
Browse files Browse the repository at this point in the history
Closes #21264

Edit the section on downloading TAR archives, since this already
includes information on installing Teleport from a local, downloaded
file.
  • Loading branch information
ptgott authored and github-actions committed Dec 4, 2024
1 parent 4c06657 commit 29867e0
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 13 deletions.
1 change: 1 addition & 0 deletions docs/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,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

Check failure on line 328 in docs/pages/installation.mdx

View workflow job for this annotation

GitHub Actions / Lint docs prose style

[vale] reported by reviewdog 🐶 [messaging.edition-names] "Teleport Cloud" is no longer a recognized Teleport edition. Use "Teleport Enterprise" instead, and clarify the hosting type in parentheses rather than including it in the name of the product, e.g., "Teleport Enterprise (self-hosted)" or "Teleport Enterprise (cloud-hosted)". Raw Output: {"message": "[messaging.edition-names] \"Teleport Cloud\" is no longer a recognized Teleport edition. Use \"Teleport Enterprise\" instead, and clarify the hosting type in parentheses rather than including it in the name of the product, e.g., \"Teleport Enterprise (self-hosted)\" or \"Teleport Enterprise (cloud-hosted)\".", "location": {"path": "docs/pages/installation.mdx", "range": {"start": {"line": 328, "column": 11}}}, "severity": "ERROR"}
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

0 comments on commit 29867e0

Please sign in to comment.