Files
teleport/docs/pages/includes/install-linux.mdx
T
Paul Gottschling 6bf0130df9 Simplify install-linux.mdx (#40013)
Closes #38933

Simplify the instructions in the `install-linux.mdx` partial by
including instructions for the one-line installation script instead of
having the user choose the Teleport edition from a dropdown menu, then
choose a package manager. The one-line installation script chooses a
package manager automatically.

Since we only include `install-linux.mdx` in guides to installing
Teleport on agent nodes, instruct the user to get the version of either
the automatic updater (if automatic updates are enabled) or the Teleport
cluster.

This approach has the advantage of not using tabs, so it creates less
noise when authors include this partial in a `Tabs` component.

Also include a link to our installation guide at the end of the partial
for readers who want more information on our package repos.
2024-03-29 16:49:18 +00:00

38 lines
1.4 KiB
Plaintext

Install Teleport on your Linux server:
1. Assign <Var name="edition" /> to one of the following, depending on your
Teleport edition:
| Edition | Value |
|-----------------------------------|--------------|
| Teleport Enterprise Cloud | `cloud` |
| Teleport Enterprise (Self-Hosted) | `enterprise` |
| Teleport Community Edition | `oss` |
1. Get the version of Teleport to install. If you have automatic agent updates
enabled in your cluster, query the latest Teleport version that is compatible
with the updater:
```code
$ TELEPORT_DOMAIN=<Var name="example.teleport.com" />
$ TELEPORT_VERSION="$(curl https://$TELEPORT_DOMAIN/v1/webapi/automaticupgrades/channel/default/version | sed 's/v//')"
```
Otherwise, get the version of your Teleport cluster:
```code
$ TELEPORT_DOMAIN=<Var name="example.teleport.com" />
$ TELEPORT_VERSION="$(curl https://$TELEPORT_DOMAIN/v1/webapi/ping | jq -r '.server_version')"
```
1. Install Teleport on your Linux server:
```code
$ curl https://goteleport.com/static/install.sh | bash -s ${TELEPORT_VERSION} <Var name="edition" />
```
The installation script detects the package manager on your Linux server and
uses it to install Teleport binaries. To customize your installation, learn
about the Teleport package repositories in the [installation
guide](../installation.mdx#linux).