-
Notifications
You must be signed in to change notification settings - Fork 251
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 #2785 from EnterpriseDB/docs/FDWs/ubuntu-debian-in…
…stall-restructure fdws: ubuntu and debian install restructure
- Loading branch information
Showing
16 changed files
with
392 additions
and
14 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
4 changes: 2 additions & 2 deletions
4
...md64/09_hadoop__ubuntu18_20_deb10_x86.mdx → ...pter/x86_amd64/09_hadoop_ubuntu20_x86.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
54 changes: 54 additions & 0 deletions
54
...r/2/05_installing_the_hadoop_data_adapter/x86_amd64/09a_hadoop_ubuntu18_x86.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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
title: "Installing Hadoop Foreign Data Wrapper on Ubuntu 18.04 x86" | ||
navTitle: "Ubuntu 18.04" | ||
--- | ||
|
||
To install the Hadoop Foreign Data Wrapper on a Debian or Ubuntu host, you must have credentials that allow access to the EDB repository. To request credentials for the repository, visit the [EDB website](https://www.enterprisedb.com/repository-access-request/). | ||
|
||
The following steps will walk you through on using the EDB apt repository to install a Debian package. When using the commands, replace the `username` and `password` with the credentials provided by EDB. | ||
|
||
1. Assume superuser privileges: | ||
|
||
```text | ||
sudo su – | ||
``` | ||
|
||
2. Set up the EDB repository: | ||
|
||
```text | ||
sh -c 'echo "deb [arch=amd64] https://apt.enterprisedb.com/$(lsb_release -cs)-edb/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/edb-$(lsb_release -cs).list' | ||
``` | ||
|
||
3. Substitute your EDB credentials for the `username` and `password` in the following command: | ||
|
||
```text | ||
sh -c 'echo "machine apt.enterprisedb.com login <username> password <password>" > /etc/apt/auth.conf.d/edb.conf' | ||
``` | ||
|
||
3. Add support to your system for secure APT repositories: | ||
|
||
```text | ||
apt-get install apt-transport-https | ||
``` | ||
|
||
4. Add the EDB signing key: | ||
|
||
```text | ||
wget -q -O - https://username:password | ||
@apt.enterprisedb.com/edb-deb.gpg.key | apt-key add - | ||
``` | ||
|
||
5. Update the repository metadata: | ||
|
||
```text | ||
apt-get update | ||
``` | ||
|
||
6. Install the package: | ||
|
||
```text | ||
apt-get install edb-as<xx>-hdfs-fdw | ||
``` | ||
|
||
where `xx` is the server version number. | ||
|
54 changes: 54 additions & 0 deletions
54
...pter/2/05_installing_the_hadoop_data_adapter/x86_amd64/09b_hadoop_deb10_x86.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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
title: "Installing Hadoop Foreign Data Wrapper on Debian 10 x86" | ||
navTitle: "Debian 10" | ||
--- | ||
|
||
To install the Hadoop Foreign Data Wrapper on a Debian or Ubuntu host, you must have credentials that allow access to the EDB repository. To request credentials for the repository, visit the [EDB website](https://www.enterprisedb.com/repository-access-request/). | ||
|
||
The following steps will walk you through on using the EDB apt repository to install a Debian package. When using the commands, replace the `username` and `password` with the credentials provided by EDB. | ||
|
||
1. Assume superuser privileges: | ||
|
||
```text | ||
sudo su – | ||
``` | ||
|
||
2. Set up the EDB repository: | ||
|
||
```text | ||
sh -c 'echo "deb [arch=amd64] https://apt.enterprisedb.com/$(lsb_release -cs)-edb/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/edb-$(lsb_release -cs).list' | ||
``` | ||
|
||
3. Substitute your EDB credentials for the `username` and `password` in the following command: | ||
|
||
```text | ||
sh -c 'echo "machine apt.enterprisedb.com login <username> password <password>" > /etc/apt/auth.conf.d/edb.conf' | ||
``` | ||
|
||
3. Add support to your system for secure APT repositories: | ||
|
||
```text | ||
apt-get install apt-transport-https | ||
``` | ||
|
||
4. Add the EDB signing key: | ||
|
||
```text | ||
wget -q -O - https://username:password | ||
@apt.enterprisedb.com/edb-deb.gpg.key | apt-key add - | ||
``` | ||
|
||
5. Update the repository metadata: | ||
|
||
```text | ||
apt-get update | ||
``` | ||
|
||
6. Install the package: | ||
|
||
```text | ||
apt-get install edb-as<xx>-hdfs-fdw | ||
``` | ||
|
||
where `xx` is the server version number. | ||
|
File renamed without changes.
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
4 changes: 2 additions & 2 deletions
4
..._amd64/09_mongo_ubuntu18_20_deb10_x86.mdx → ...apter/x86_amd64/09_mongo_ubuntu20_x86.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
54 changes: 54 additions & 0 deletions
54
...ter/5/04_installing_the_mongo_data_adapter/x86_amd64/09a_mongo_ubuntu18_x86.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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
title: "Installing MongoDB Foreign Data Wrapper on Ubuntu 18.04 x86" | ||
navTitle: "Ubuntu 18.04" | ||
--- | ||
|
||
To install the MongoDB Foreign Data Wrapper on a Debian or Ubuntu host, you must have credentials that allow access to the EDB repository. To request credentials for the repository, visit the [EDB website](https://www.enterprisedb.com/repository-access-request/). | ||
|
||
The following steps will walk you through using the EDB apt repository to install a Debian package. When using the commands, replace the `username` and `password` with the credentials provided by EDB. | ||
|
||
1. Assume superuser privileges: | ||
|
||
```text | ||
sudo su – | ||
``` | ||
|
||
2. Configure the EDB repository: | ||
|
||
a. Set up the EDB repository: | ||
|
||
```text | ||
sh -c 'echo "deb [arch=amd64] https://apt.enterprisedb.com/$(lsb_release -cs)-edb/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/edb-$(lsb_release -cs).list' | ||
``` | ||
|
||
b. Substitute your EDB credentials for the `username` and `password` in the following command: | ||
|
||
```text | ||
sh -c 'echo "machine apt.enterprisedb.com login <username> password <password>" > /etc/apt/auth.conf.d/edb.conf' | ||
``` | ||
|
||
3. Add support to your system for secure APT repositories: | ||
|
||
```text | ||
apt-get install apt-transport-https | ||
``` | ||
|
||
4. Add the EDB signing key: | ||
|
||
```text | ||
wget -q -O - https://<username>:<password>@apt.enterprisedb.com/edb-deb.gpg.key | apt-key add - | ||
``` | ||
|
||
5. Update the repository metadata: | ||
|
||
```text | ||
apt-get update | ||
``` | ||
|
||
6. Install the Debian package: | ||
|
||
```text | ||
apt-get install edb-as<xx>-mongo-fdw | ||
``` | ||
|
||
where `xx` is the server version number. |
54 changes: 54 additions & 0 deletions
54
...dapter/5/04_installing_the_mongo_data_adapter/x86_amd64/09b_mongo_deb10_x86.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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
title: "Installing MongoDB Foreign Data Wrapper on Debian 10 x86" | ||
navTitle: "Debian 10" | ||
--- | ||
|
||
To install the MongoDB Foreign Data Wrapper on a Debian or Ubuntu host, you must have credentials that allow access to the EDB repository. To request credentials for the repository, visit the [EDB website](https://www.enterprisedb.com/repository-access-request/). | ||
|
||
The following steps will walk you through using the EDB apt repository to install a Debian package. When using the commands, replace the `username` and `password` with the credentials provided by EDB. | ||
|
||
1. Assume superuser privileges: | ||
|
||
```text | ||
sudo su – | ||
``` | ||
|
||
2. Configure the EDB repository: | ||
|
||
a. Set up the EDB repository: | ||
|
||
```text | ||
sh -c 'echo "deb [arch=amd64] https://apt.enterprisedb.com/$(lsb_release -cs)-edb/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/edb-$(lsb_release -cs).list' | ||
``` | ||
|
||
b. Substitute your EDB credentials for the `username` and `password` in the following command: | ||
|
||
```text | ||
sh -c 'echo "machine apt.enterprisedb.com login <username> password <password>" > /etc/apt/auth.conf.d/edb.conf' | ||
``` | ||
|
||
3. Add support to your system for secure APT repositories: | ||
|
||
```text | ||
apt-get install apt-transport-https | ||
``` | ||
|
||
4. Add the EDB signing key: | ||
|
||
```text | ||
wget -q -O - https://<username>:<password>@apt.enterprisedb.com/edb-deb.gpg.key | apt-key add - | ||
``` | ||
|
||
5. Update the repository metadata: | ||
|
||
```text | ||
apt-get update | ||
``` | ||
|
||
6. Install the Debian package: | ||
|
||
```text | ||
apt-get install edb-as<xx>-mongo-fdw | ||
``` | ||
|
||
where `xx` is the server version number. |
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
4 changes: 2 additions & 2 deletions
4
..._amd64/09_mysql_ubuntu18_20_deb10_x86.mdx → ...apter/x86_amd64/09_mysql_ubuntu20_x86.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
75 changes: 75 additions & 0 deletions
75
...ter/2/04_installing_the_mysql_data_adapter/x86_amd64/09a_mysql_ubuntu18_x86.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 |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
title: "Installing MySQL Foreign Data Wrapper on Ubuntu 18.04 x86" | ||
navTitle: "Ubuntu 18.04" | ||
--- | ||
|
||
To install the MySQL Foreign Data Wrapper on a Debian or Ubuntu host, you must have credentials that allow access to the EDB repository. To request credentials for the repository, visit: [Repository Access Request](https://www.enterprisedb.com/repository-access-request). | ||
|
||
The following steps will walk you through on using the EDB apt repository to install a DEB package. When using the commands, replace the `username` and `password` with the credentials provided by EDB. | ||
|
||
1. Assume superuser privileges: | ||
```text | ||
sudo su – | ||
``` | ||
|
||
1. Set up the EDB repository: | ||
|
||
```text | ||
sh -c 'echo "deb [arch=amd64] https://apt.enterprisedb.com/$(lsb_release -cs)-edb/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/edb-$(lsb_release -cs).list' | ||
``` | ||
|
||
2. Substitute your EDB credentials for the `username` and `password` in the following command: | ||
|
||
```text | ||
sh -c 'echo "machine apt.enterprisedb.com login <username> password <password>" > /etc/apt/auth.conf.d/edb.conf' | ||
``` | ||
|
||
3. Add support to your system for secure APT repositories: | ||
|
||
```text | ||
apt-get install apt-transport-https | ||
``` | ||
|
||
4. Add the EBD signing key: | ||
|
||
```text | ||
wget -q -O - https://username:[email protected]/edb-deb.gpg.key | apt-key add - | ||
``` | ||
5. If there is `libmysqlclient-dev` already installed on your system, remove it by using the following command: | ||
```text | ||
sudo apt-get remove libmysqlclient-dev | ||
``` | ||
|
||
6. Enable the MySQL repo: | ||
|
||
- For Debian 10: | ||
|
||
- For MySQL 8: | ||
```text | ||
sudo echo "deb http://repo.mysql.com/apt/debian/buster mysql-8.0" | sudo tee /etc/apt/sources.list.d/mysql.list | ||
``` | ||
- For MySQL 5: | ||
```text | ||
sudo echo "deb http://repo.mysql.com/apt/debian/buster mysql-5.7" | sudo tee /etc/apt/sources.list.d/mysql.list | ||
``` | ||
|
||
- For Ubuntu 20, you do not need to enable the MySQL repository. | ||
|
||
7. Add the mysql repo key using the following commands: | ||
|
||
```text | ||
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5072E1F5 | ||
``` | ||
8. Update the repository metadata: | ||
|
||
```text | ||
apt-get update | ||
``` | ||
|
||
9. Install DEB package: | ||
|
||
```text | ||
apt-get install edb-as<xx>-mysql<y>-fdw | ||
``` | ||
Where `xx` is the server version number i.e. 13 and `y` is the MySQL version i.e. 5 or 8. | ||
|
Oops, something went wrong.