Installing Tyk on Ubuntu is very straightforward, follow the guides and tutorials in this section to have Tyk up and running in no time.
NOTE: For a production environment, we recommend that the Gateway, Dashboard and Pump are installed on separate machines. If installing multiple Gateways, you should install each on a separate machine. See Deploy to Production For more details.
Before installing the Tyk components in the order below, you need to install firstly MongoDB, then Redis.
|Admin Dashboard API||3000|
By default Tyk uses MongoDB. You can also use the following:
Supported Verions of MongoDB and Redis
- MongoDB 3.x and 4.0.x
- Redis 2.8.x to 5.0.x
Install MongoDB 4.0
You should follow the online tutorial for installing MongoDb. We will be using version 4.0. As part of the Mongo installation you need to perform the following:
- Import the public key
- Create a list file
- Reload the package database
- Install the MongoDB packages
- Start MongoDB
- Check the
mongodservice is running
sudo apt-get install -y redis-server
We then recommend installing Tyk in the following order: