Packages

Start by downloading the corresponding package for your configuration:

YUM Repositories

You can also install Kong via YUM; follow the instructions on the "Set Me Up" section on the page below.


Installation

  1. Enable the EPEL repository

    Before installing Kong, you need to install the epel-release package for right version of your operating system, so that Kong can fetch all the required dependencies:

    $ EL_VERSION=`cat /etc/redhat-release | grep -oE '[0-9]+\.[0-9]+'` && \
      sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-${EL_VERSION%.*}.noarch.rpm
    
  2. Install Kong

    If you are downloading the package, execute:

    $ sudo yum install kong-community-edition-0.11.1.*.noarch.rpm --nogpgcheck
    
  3. Prepare your database

    Configure Kong so it can connect to your database. Kong supports both PostgreSQL 9.4+ and Cassandra 3.x.x as its datastore.

    If you are using Postgres, please provision a database and a user before starting Kong, 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.

  4. Start Kong

    $ kong start [-c /path/to/kong.conf]
    
  5. Use Kong

    Kong is running:

    $ curl -i http://localhost:8001/
    

    Quickly learn how to use Kong with the 5-minute Quickstart.

Get Updates!

Follow Up:

Get future release notes emailed to you.


Having Trouble? We're Here to Help!

Keep up with the latest features