2
0

INSTALL 652 B

123456789101112131415161718192021222324252627282930
  1. To compile Redis, do the following:
  2. cd src; make
  3. The compilation will produce a redis-server binary.
  4. To install Redis, use
  5. make install
  6. and all the binaries will be installed on /usr/local/bin.
  7. Alternatively:
  8. make PREFIX=/some/other/directory
  9. to have the binaries in /some/other/directory/bin.
  10. Run the server using the following command line:
  11. /path/to/redis-server
  12. This will start a Redis server with the default configuration.
  13. Otherwise if you want to provide your configuration use:
  14. /path/to/redis-server /path/to/redis.conf
  15. You can find an example redis.conf file in the root directory
  16. of this source distribution.