mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
31 lines
660 B
Plaintext
31 lines
660 B
Plaintext
To compile Redis, do the following:
|
|
|
|
cd src; make
|
|
|
|
The compilation will produce a redis-server binary.
|
|
|
|
To install Redis, use
|
|
|
|
make install
|
|
|
|
and all the binaries will be installed on /usr/local/bin.
|
|
|
|
Alternatively:
|
|
|
|
make PREFIX=/some/other/directory install
|
|
|
|
to have the binaries in /some/other/directory/bin.
|
|
|
|
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.
|