Skip to content

Commit

Permalink
Merge pull request #2785 from EnterpriseDB/docs/FDWs/ubuntu-debian-in…
Browse files Browse the repository at this point in the history
…stall-restructure

fdws: ubuntu and debian install restructure
  • Loading branch information
drothery-edb authored Jun 14, 2022
2 parents f425cdc + 6f58228 commit 0707f5e
Show file tree
Hide file tree
Showing 16 changed files with 392 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ For platform-specific install instructions, see:
- [CentOS 7](x86_amd64/04_hadoop_centos7_x86)
- [SLES 15](x86_amd64/05_hadoop_sles15_x86)
- [SLES 12](x86_amd64/07_hadoop_sles12_x86)
- [Ubuntu 20.04 or 18.04/Debian 10](x86_amd64/09_hadoop__ubuntu18_20_deb10_x86)
- [Debian 9](x86_amd64/11_hadoop__deb9_x86)
- [Ubuntu 20.04](x86_amd64/09_hadoop_ubuntu20_x86)
- [Ubuntu 18.04](x86_amd64/09a_hadoop_ubuntu18_x86)
- [Debian 10](x86_amd64/09b_hadoop_deb10_x86)
- [Debian 9](x86_amd64/11_hadoop_deb9_x86)

- Linux on IBM Power (ppc64le):

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Installing Hadoop Foreign Data Wrapper on Ubuntu 20.04 or 18.04/Debian 10 x86"
navTitle: "Ubuntu 20.04 or 18.04/Debian 10"
title: "Installing Hadoop Foreign Data Wrapper on Ubuntu 20.04 x86"
navTitle: "Ubuntu 20.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/).
Expand Down
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.

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.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ For operating system-specific install instructions, see:
- [CentOS 7](04_hadoop_centos7_x86)
- [SLES 15](05_hadoop_sles15_x86)
- [SLES 12](07_hadoop_sles12_x86)
- [Ubuntu 20.04 or 18.04/Debian 10](09_hadoop__ubuntu18_20_deb10_x86)
- [Debian 9](11_hadoop__deb9_x86)
- [Ubuntu 20.04](09_hadoop_ubuntu20_x86)
- [Ubuntu 18.04](09a_hadoop_ubuntu18_x86)
- [Debian 10](09b_hadoop_deb10_x86)
- [Debian 9](11_hadoop_deb9_x86)

After you complete the installation, see [Configuring the Hadoop Foreign Data Wrapper](../../08_configuring_the_hadoop_data_adapter).
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ For platform-specific install instructions, see:
- [CentOS 7](x86_amd64/04_mongo_centos7_x86)
- [SLES 15](x86_amd64/05_mongo_sles15_x86)
- [SLES 12](x86_amd64/07_mongo_sles12_x86)
- [Ubuntu 20.04 or 18.04/Debian 10](x86_amd64/09_mongo_ubuntu18_20_deb10_x86)
- [Ubuntu 20.04](x86_amd64/09_mongo_ubuntu20_x86)
- [Ubuntu 18.04](x86_amd64/09a_mongo_ubuntu18_x86)
- [Debian 10](x86_amd64/09b_mongo_deb10_x86)
- [Debian 9](x86_amd64/11_mongo_deb9_x86)

- Linux on IBM Power (ppc64le):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Installing MongoDB Foreign Data Wrapper on Ubuntu 20.04 0r 18.04/Debian 10 x86"
navTitle: "Ubuntu 20.04 or 18.04/Debian 10"
title: "Installing MongoDB Foreign Data Wrapper on Ubuntu 20.04 x86"
navTitle: "Ubuntu 20.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/).
Expand Down
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.
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.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ For operating system-specific install instructions, see:
- [CentOS 7](04_mongo_centos7_x86)
- [SLES 15](05_mongo_sles15_x86)
- [SLES 12](07_mongo_sles12_x86)
- [Ubuntu 20.04 or 18.04/Debian 10](09_mongo_ubuntu18_20_deb10_x86)
- [Ubuntu 20.04](09_mongo_ubuntu20_x86)
- [Ubuntu 18.04](09a_mongo_ubuntu18_x86)
- [Debian 10](09b_mongo_deb10_x86)
- [Debian 9](11_mongo_deb9_x86)

After you complete the installation, see [Configuring the MongoDB Foreign Data Wrapper](../../07_configuring_the_mongo_data_adapter).
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ For platform-specific install instructions, see:
- [CentOS 7](x86_amd64/04_mysql_centos7_x86)
- [SLES 15](x86_amd64/05_mysql_sles15_x86)
- [SLES 12](x86_amd64/07_mysql_sles12_x86)
- [Ubuntu 20.04 or 18.04/Debian 10](x86_amd64/09_mysql_ubuntu18_20_deb10_x86)
- [Ubuntu 20.04](x86_amd64/09_mysql_ubuntu20_x86)
- [Ubuntu 18.04](x86_amd64/09a_mysql_ubuntu18_x86)
- [Debian 10](x86_amd64/09b_mysql_deb10_x86)
- [Debian 9](x86_amd64/11_mysql_deb9_x86)

- Linux on IBM Power (ppc64le):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Installing MySQL Foreign Data Wrapper on Ubuntu 20.04 or 18.04/Debian 10 x86"
navTitle: "Ubuntu 20.04 or 18.04/Debian 10"
title: "Installing MySQL Foreign Data Wrapper on Ubuntu 20.04 x86"
navTitle: "Ubuntu 20.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).
Expand Down
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.

Loading

0 comments on commit 0707f5e

Please sign in to comment.