Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Install and configure Teleport where you will run the Teleport Database Service:
<Tabs>
<TabItem label="Linux Server">

(!docs/pages/includes/install-linux-enterprise.mdx!)
(!docs/pages/includes/install-linux.mdx!)

On the host where you will run the Teleport Database Service, start Teleport
with the appropriate configuration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Install and configure Teleport where you will run the Teleport Database Service:
<Tabs>
<TabItem label="Linux Server">

(!docs/pages/includes/install-linux-enterprise.mdx!)
(!docs/pages/includes/install-linux.mdx!)

(!docs/pages/includes/database-access/self-hosted-config-start.mdx dbName="oracle" dbProtocol="oracle" databaseAddress="oracle.example.com:2484" dbName="oracle" !)

Expand Down
37 changes: 0 additions & 37 deletions docs/pages/includes/install-linux-enterprise.mdx

This file was deleted.

43 changes: 2 additions & 41 deletions docs/pages/includes/install-linux.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
To install a Teleport Agent on your Linux server:

The easiest installation method, for *Teleport versions 17.3 and above*, is the
cluster install script. It will use the best version, edition, and installation
mode for your cluster.
The recommended installation method is the cluster install script.
It will select the correct version, edition, and installation mode for your cluster.

1. Assign <Var name="teleport.example.com:443"/> to your Teleport cluster
hostname and port, but not the scheme (https://).
Expand All @@ -12,41 +11,3 @@ mode for your cluster.
```code
$ curl "https://<Var name="teleport.example.com:443"/>/scripts/install.sh" | sudo bash
```

On *older Teleport versions*:

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="teleport.example.com:443" />
$ 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="teleport.example.com:443" />
$ TELEPORT_VERSION="$(curl https://$TELEPORT_DOMAIN/v1/webapi/ping | jq -r '.server_version')"
```

1. Install Teleport on your Linux server:

```code
$ curl (=teleport.teleport_install_script_url=) | 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/linux.mdx).
2 changes: 1 addition & 1 deletion docs/pages/installation/linux.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The easiest way to install Teleport as an agent is through the WebUI at `/web/di

### One-line installation script

Outside of the WebUI, you can run our one-line cluster install script on your Linux server where you are deploying Teleport as an agent. This script will detect and use the best version, edition, and installation mode for your cluster. **Note that this is script is for Teleport versions 17.3 and above. If you are installing a version before this edition or this script does not work on your server, see below for other options.**
Outside of the Web UI, you can run our one-line cluster install script on your Linux server where you are deploying Teleport as an agent. This script will detect and use the best version, edition, and installation mode for your cluster.

1. Assign <Var name="example.teleport.sh:443"/> to your Teleport cluster hostname and Web UI port.
This should contain you cluster hostname and port, but not the scheme (https://).
Expand Down
Loading