2010-07-05 18:37:20 +00:00
|
|
|
To compile Redis, do the following:
|
|
|
|
|
|
|
|
cd src; make
|
|
|
|
|
|
|
|
The compilation will produce a redis-server binary.
|
2010-09-13 15:09:11 +00:00
|
|
|
|
|
|
|
To install Redis, use
|
|
|
|
|
|
|
|
make install
|
|
|
|
|
|
|
|
and all the binaries will be installed on /usr/local/bin.
|
|
|
|
|
|
|
|
Alternatively:
|
|
|
|
|
|
|
|
make PREFIX=/some/other/directory
|
|
|
|
|
|
|
|
to have the binaries in /some/other/directory/bin.
|
2010-07-05 18:37:20 +00:00
|
|
|
|
|
|
|
Run the server using the following command line:
|
|
|
|
|
|
|
|
/path/to/redis-server
|
|
|
|
|
|
|
|
This will start a Redis server with the default configuration.
|
|
|
|
|
|
|
|
Otherwise if you want to provide your configuration use:
|
|
|
|
|
|
|
|
/path/to/redis-server /path/to/redis.conf
|
|
|
|
|
|
|
|
You can find an example redis.conf file in the root directory
|
|
|
|
of this source distribution.
|