Configuring and installing Redis for our Keras REST API :-
Below you’ll find the commands to download, extract, and install Redis on your system:
$ wget http://download.redis.io/redis-stable.tar.gz
$ tar xvzf redis-stable.tar.gz
$ cd redis-stable
$ make
$ sudo make install
To start the Redis server, use the following command:
$ redis-server
Leave this terminal open to keep the Redis data store running.
In another terminal, you can validate Redis is up and running:
$ redis-cli ping
PONG
Provided that you get a PONG back from Redis, you’re ready to go.
Configuring and installing Redis for our Keras REST API :- Below you’ll find the commands to download, extract, and install Redis on your system: $ wget http://download.redis.io/redis-stable.tar.gz $ tar xvzf redis-stable.tar.gz $ cd redis-stable $ make $ sudo make install
To start the Redis server, use the following command: $ redis-server
Leave this terminal open to keep the Redis data store running. In another terminal, you can validate Redis is up and running: $ redis-cli ping PONG Provided that you get a PONG back from Redis, you’re ready to go.
(Reference : https://www.pyimagesearch.com/2018/01/29/scalable-keras-deep-learning-rest-api/)