mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-05 03:33:24 +08:00
* docs: update cloud downloads * matches cloud installation for macos * remove character Co-authored-by: Noah Stride <noah.stride@goteleport.com> * cloud windows installation * update tsh install language * fix variable name --------- Co-authored-by: Noah Stride <noah.stride@goteleport.com>
74 lines
2.8 KiB
Plaintext
74 lines
2.8 KiB
Plaintext
<Tabs>
|
|
<TabItem label="Debian 8+/Ubuntu 16.04+ (apt)">
|
|
|
|
Add the Teleport repository to your repository list:
|
|
|
|
```code
|
|
# Download Teleport's PGP public key
|
|
$ sudo curl https://apt.releases.teleport.dev/gpg \
|
|
-o /usr/share/keyrings/teleport-archive-keyring.asc
|
|
# Source variables about OS version
|
|
$ source /etc/os-release
|
|
# Add the Teleport apt repository for cloud.
|
|
$ echo "deb [signed-by=/usr/share/keyrings/teleport-archive-keyring.asc] \
|
|
https://apt.releases.teleport.dev/${ID?} ${VERSION_CODENAME?} stable/cloud" \
|
|
| sudo tee /etc/apt/sources.list.d/teleport.list > /dev/null
|
|
|
|
$ sudo apt-get update
|
|
$ sudo apt-get install teleport-ent
|
|
```
|
|
|
|
</TabItem>
|
|
<TabItem label="Amazon Linux 2/RHEL 7 (yum)">
|
|
|
|
```code
|
|
# Source variables about OS version
|
|
$ source /etc/os-release
|
|
# Add the Teleport yum repository for cloud.
|
|
# First, get the major version from $VERSION_ID so this fetches the correct
|
|
# package version.
|
|
$ VERSION_ID=$(echo $VERSION_ID | grep -Eo "^[0-9]+")
|
|
$ sudo yum-config-manager --add-repo "$(rpm --eval "https://yum.releases.teleport.dev/$ID/$VERSION_ID/Teleport/%{_arch}/stable/cloud/teleport.repo")"
|
|
$ sudo yum install teleport-ent
|
|
#
|
|
# Tip: Add /usr/local/bin to path used by sudo (so 'sudo tctl users add' will work as per the docs)
|
|
# echo "Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin" > /etc/sudoers.d/secure_path
|
|
```
|
|
|
|
</TabItem>
|
|
<TabItem label="Amazon Linux 2023/RHEL 8+ (dnf)">
|
|
|
|
```code
|
|
# Source variables about OS version
|
|
$ source /etc/os-release
|
|
# Add the Teleport yum repository for cloud.
|
|
# Use the dnf config manager plugin to add the teleport RPM repo
|
|
$ sudo dnf config-manager --add-repo "$(rpm --eval "https://yum.releases.teleport.dev/$ID/$VERSION_ID/Teleport/%{_arch}/stable/cloud/teleport.repo")"
|
|
|
|
# Install teleport
|
|
$ sudo dnf install teleport-ent
|
|
|
|
# Tip: Add /usr/local/bin to path used by sudo (so 'sudo tctl users add' will work as per the docs)
|
|
# echo "Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin" > /etc/sudoers.d/secure_path
|
|
```
|
|
|
|
</TabItem>
|
|
<TabItem label="Tarball">
|
|
|
|
In the example commands below, update `$SYSTEM_ARCH` with the appropriate
|
|
value (`amd64`, `arm64`, or `arm`). All example commands using this variable
|
|
will update after one is filled out.
|
|
|
|
```code
|
|
$ curl https://get.gravitational.com/teleport-ent-v(=cloud.version=)-linux-<Var name="$SYSTEM_ARCH"/>-bin.tar.gz.sha256
|
|
# <checksum> <filename>
|
|
$ curl -O https://cdn.teleport.dev/teleport-ent-v(=cloud.version=)-linux-amd64-bin.tar.gz
|
|
$ shasum -a 256 teleport-ent-v(=cloud.version=)-linux-amd64-bin.tar.gz
|
|
# Verify that the checksums match
|
|
$ tar -xvf teleport-ent-v(=cloud.version=)-linux-amd64-bin.tar.gz
|
|
$ cd teleport-ent
|
|
$ sudo ./install
|
|
```
|
|
|
|
</TabItem>
|
|
</Tabs> |