Start by downloading the corresponding package for your configuration:
Enterprise trial users should download their package from their welcome email and save their license to
/etc/kong/license.json after step 1.
You can also install Kong via YUM; follow the instructions on the "Set Me Up" section on the page below.
NOTE: ensure that the
baseurl field of the generated
.repo file contains
your CentOS version; for instance:
If you are downloading the package, execute:
$ sudo yum install epel-release $ sudo yum install kong-community-edition-0.14.0.*.noarch.rpm --nogpgcheck
Prepare your database
If you are using PostgreSQL, please provision a database and a user, ie:
CREATE USER kong; CREATE DATABASE kong OWNER kong;
Now, run the Kong migrations:
$ kong migrations up [-c /path/to/kong.conf]
Note: migrations should never be run concurrently; only one Kong nodes should be performing migrations at a time.
$ kong start [-c /path/to/kong.conf]
Kong is running:
$ curl -i http://localhost:8001/
Quickly learn how to use Kong with the 5-minute Quickstart.
Get future release notes emailed to you.