-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5865 from EnterpriseDB/docs/edits_to_repos_pr5816
Edits to DOCS-726 - Repos section for docs
- Loading branch information
Showing
19 changed files
with
182 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
--- | ||
title: Getting started with repositories | ||
navTitle: Getting Started | ||
navTitle: Getting started | ||
description: How to download and install the EDB package you need | ||
navigation: | ||
- with_web | ||
- with_cli | ||
- troubleshooting | ||
--- | ||
|
||
* [Using the web page](with_web): If you have an Enterprise subscription to EDB software, and want to use the web interface to guide you in downloading and installing packages, use this guide. | ||
You can get started with your repository using either of these approaches: | ||
|
||
* [Using the CLI](with_cli): For all subscriptions, you can use the CLI to install packages from EDB repositories. This guide works for all EDB repositories and is the most flexible way to install packages. | ||
* [Use the web page](with_web) if you have an Enterprise subscription to EDB software and want to use the web interface to guide you through downloading and installing packages. | ||
|
||
* [Use the CLI](with_cli) for any subscription if you want to use the CLI to install packages from EDB repositories. The CLI works for all EDB repositories and is the most flexible way to install packages. | ||
|
||
!!! Note | ||
If you have a Standard or Community360 subscription, or want to install packages for Postgres Distributed without using TPA, you must use the CLI. Refer to the [CLI getting started guide](with_cli) for that. | ||
If you have a Standard or Community360 subscription or want to install packages for Postgres Distributed without using TPA, you must use the CLI. See [Getting started using repositories with the CLI](with_cli). | ||
!!! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 12 additions & 11 deletions
23
advocacy_docs/repos/getting_started/with_cli/adding_edb_repositories.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,42 @@ | ||
--- | ||
title: Adding EDB repositories using the command line | ||
navTitle: Adding EDB repositories | ||
navTitle: Add EDB repositories | ||
description: How to add EDB repositories to your system using the command line | ||
--- | ||
|
||
Using the command line allows you more flexibility in adding EDB repositories to your system. The website currently only supports Enterprise subscriptions, but the CLI allows you to add any EDB repository, including `community360`, `standard`, `enterprise`, and `postgres_distributed`. | ||
Using the command line to add repositories allows you more flexibility when adding EDB repositories to your system than using the website. The website currently supports only Enterprise subscriptions, but the CLI allows you to add any EDB repository, including `community360`, `standard`, `enterprise`, and `postgres_distributed`. | ||
|
||
See the [Repositories by name](/repos/reference/repositories_by_name) page for more information and what subscriptions are able to access them. | ||
See [Repositories by name](/repos/reference/repositories_by_name) for a list of repositories and the subscriptions that can access them. | ||
|
||
1. Get your token. If you don't have a token, [get it now](get_your_token) and return to this page when you have your token. | ||
1. From your EDB account, [get your token](get_your_token). | ||
|
||
3. Save your token in the environment variable `$EDB_SUBSCRIPTION_TOKEN`: | ||
1. Save your token in the environment variable `$EDB_SUBSCRIPTION_TOKEN`: | ||
|
||
```bash | ||
export EDB_SUBSCRIPTION_TOKEN=your_token_here | ||
``` | ||
|
||
4. Save your required repository name in the environment variable `$EDB_REPO`: | ||
1. Save your required repository name in the environment variable `$EDB_REPO`: | ||
|
||
```bash | ||
export EDB_REPO=your_repository_name_here | ||
``` | ||
|
||
5. Depending on your operating system, run the following command: | ||
1. Depending on your operating system, run the appropriate curl command. | ||
|
||
**RHEL/AlmaLinux/RockyLinux/Oracle Linux and SUSE**: | ||
**RHEL/AlmaLinux/RockyLinux/Oracle Linux and SUSE:** | ||
|
||
```bash | ||
curl -1sSLf "https://downloads.enterprisedb.com/$EDB_SUBSCRIPTION_TOKEN/$EDB_REPO/setup.rpm.sh" | sudo -E bash | ||
``` | ||
|
||
**Ubuntu/Debian**: | ||
**Ubuntu/Debian:** | ||
|
||
```bash | ||
curl -1sSLf "https://downloads.enterprisedb.com/$EDB_SUBSCRIPTION_TOKEN/$EDB_REPO/setup.deb.sh" | sudo -E bash | ||
``` | ||
|
||
6. You can now install packages from that EDB repository. Move on to the [installing named packages](install_named_package) to install the packages you need. | ||
1. You can now install packages from that EDB repository. Move on to [installing named packages](install_named_package) to install the packages you need. | ||
|
||
7. If you have any issues, check the [troubleshooting](../troubleshooting) section. | ||
!!! Note | ||
If you have any issues, see [Troubleshooting](../troubleshooting). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 14 additions & 9 deletions
23
advocacy_docs/repos/getting_started/with_web/add_your_repository.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
--- | ||
title: Add your repository | ||
title: Add your repository using the web interface | ||
navTitle: Add your repository | ||
description: How to add the EDB repository to your system | ||
--- | ||
|
||
You can add your repository using the web interface. (Alternatively, you can add the repository using the command line. See [Getting started using the CLE](../with_cli/).) | ||
|
||
1. Navigate to [https://www.enterprisedb.com/repos-downloads](https://www.enterprisedb.com/repos-downloads). Sign in if required. If you do have to sign in, you'll go to the account profile page. On the account profile page, select **Repo Access** to continue. | ||
1. Go to [https://www.enterprisedb.com/repos-downloads](https://www.enterprisedb.com/repos-downloads). | ||
|
||
2. Select **Access Repos 2.0**. | ||
If you're not already logged in, log in to your EDB account. Go to the Account Profile page. On the Account Profile page, select **Repo Access**. | ||
|
||
3. On the next page, select the platform you wish to download packages to. | ||
1. Select **Access Repos 2.0**. | ||
|
||
4. Then select any software from the left hand list of EDB software. | ||
1. On the next page, select the platform you want to download packages to. | ||
|
||
5. On the right hand side, instructions appear for the installation of that particular software. | ||
1. From the list of EDB software on the left side, select the software you want to add. | ||
|
||
On the right side, instructions to install that software appear. | ||
|
||
<img src="./images/step1.png" style="border:1px solid;margin: 1em auto 1em" alt="Repos 2.0 - Step 1" /> | ||
|
||
6. Go to **Step 1** and copy the Auto command. This is a ready-to-run repository installer for your system. Run alone, it only installs the EDB repositories for Repos 2.0. EDB's web site has already personalized the command by embedding your Repos token into the command, so you can run it as it. | ||
1. Go to **Step 1** and copy the Auto command. This is a ready-to-run repository installer for your system. Run alone, it installs only the EDB repositories for Repos 2.0. EDB's website has already personalized the command by embedding your Repos token into the command, so you can run it as is. | ||
|
||
7. Once complete, your system can download packages from EDB. | ||
1. Paste the command into your terminal. | ||
|
||
8. If you have any issues, check the [troubleshooting](../troubleshooting) section. | ||
Once the operation is complete, your system can download packages from EDB. | ||
|
||
!!! Note | ||
If you have any issues, see [Troubleshooting](../troubleshooting). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
9444d7a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://edb-docs-staging.netlify.app as production
🚀 Deployed on https://669ec37e6b0d02419dcf58b8--edb-docs-staging.netlify.app