Documentation Documentation

On Ubuntu

Install Tyk API Gateway on Ubuntu

Installing Tyk on Ubuntu is very straightforward, follow the guides and tutorials in this section to have Tyk up and running in no time.

Prerequisites

Before installing the Tyk components in the order below, you need to install firstly MongoDb, then Redis.

Install MongoDb

First import the public key as required by Ubuntu APT

    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10

Then create a MongoDb source list file

    echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list

Reload the package database

    sudo apt-get update

Then run the install script.

    sudo apt-get install -y mongodb-org

Install Redis

    sudo apt-get install -y redis-server

We then recommend installing Tyk in the following order: