
This is perfectly fine if you are starting Redis just to play a bit with it or for development, but for production environments you should use a configuration file. In the above example Redis was started without any explicit configuration file, so all the parameters will use the internal default.

01 Aug 19:29:28 * The server is now ready to accept connections on port 6379 In order to specify a config file use 'redis-server /path/to/nf' 01 Aug 19:29:28 # Warning: no config file specified, using the default config. The simplest way to start the Redis server is just executing the redis-server binary without any argument. In the following documentation we assume that /usr/local/bin is in your PATH environment variable so that you can execute both the binaries without specifying the full path. sudo cp src/redis-server /usr/local/bin/.It is a good idea to copy both the Redis server and the command line interface into the proper places, either manually using the following commands: redis-check-aof and redis-check-rdb ( redis-check-dump in 3.0 and below) are useful in the rare event of corrupted data files.redis-benchmark is used to check Redis performances.redis-cli is the command line interface utility to talk with Redis.redis-sentinel is the Redis Sentinel executable (monitoring and failover).redis-server is the Redis Server itself.After compilation the src directory inside the Redis distribution is populated with the different executables that are part of Redis: In order to compile Redis follow these simple steps: wget Īt this point you can test if your build has worked correctly by typing make test, but this is an optional step. You can either download the latest Redis tar ball from the redis.io web site, or you can alternatively use this special URL that always points to the latest stable Redis version, that is.

Installing it using the package manager of your Linux distribution is somewhatĭiscouraged as usually the available version is not the latest. Redis has no dependencies other than a working GCC compiler and libc. The suggested way of installing Redis is compiling it from sources as
