Skip to content

Latest commit

 

History

History
73 lines (57 loc) · 2.21 KB

install-kgw-debian.md

File metadata and controls

73 lines (57 loc) · 2.21 KB
title content_type products works_on min_version tags tldr tools prereqs
Install {{site.base_gateway}} on Debian
how_to
gateway
on-prem
gateway
3.4
rate-limiting
q a
How do I install {{site.base_gateway}} on Debian?
Download the {{site.base_gateway}} package and install it using your package manager. Then configure the database.
deck
skip_product inline
true
title content
Install PostgreSQL
title include_content icon_url
Configure environment variables
prereqs/install/gateway/datastore-env-variables
/assets/icons/file.svg

{% navtabs %} {% navtab "Manual installation" %}

1. Download {{site.base_gateway}}:

curl -Lo kong-enterprise-edition-{{page.latest_release.ee_version}}.deb "https://packages.konghq.com/public/gateway-{{page.latest_release.major_minor_version}}/deb/debian/pool/bullseye/main/k/ko/kong-enterprise-edition_{{page.latest_release.ee_version}}/kong-enterprise-edition_{{page.latest_release.ee_version}}_$(dpkg --print-architecture).deb"

2. Install {{site.base_gateway}}:

sudo apt install -y ./kong-enterprise-edition-{{page.latest_release.ee_version}}.deb

{% endnavtab %} {% navtab "Package manager" %}

1. Set up the package repository:

curl -1sLf "https://packages.konghq.com/public/gateway-{{page.latest_release.major_minor_version}}/gpg.B9DCD032B1696A89.key" |  gpg --dearmor | sudo tee /usr/share/keyrings/kong-gateway-{{page.latest_release.major_minor_version}}-archive-keyring.gpg > /dev/null
curl -1sLf "https://packages.konghq.com/public/gateway-{{page.latest_release.major_minor_version}}/config.deb.txt?distro=debian&codename=$(lsb_release -sc)" | sudo tee /etc/apt/sources.list.d/kong-gateway-{{page.latest_release.major_minor_version}}.list > /dev/null

2. Update the package manager:

```sh
sudo apt update
```

3. Install {{site.base_gateway}}:

sudo apt install -y kong-enterprise-edition={{page.latest_release.ee_version}}

{% endnavtab %} {% endnavtabs %}

Configure the Datastore

{% include how-tos/steps/datastore.md %}