Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
e1386503
Commit
e1386503
authored
Sep 13, 2010
by
Pedro Melo
Browse files
Rename INSTALL_TOP to PREFIX; update documentation
Signed-off-by:
Pedro Melo
<
melo@simplicidade.org
>
parent
3c23ee1b
Changes
3
Hide whitespace changes
Inline
Side-by-side
INSTALL
View file @
e1386503
...
@@ -3,7 +3,18 @@ To compile Redis, do the following:
...
@@ -3,7 +3,18 @@ To compile Redis, do the following:
cd src; make
cd src; make
The compilation will produce a redis-server binary.
The compilation will produce a redis-server binary.
Copy this file where you want.
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.
Run the server using the following command line:
Run the server using the following command line:
...
...
README
View file @
e1386503
...
@@ -16,7 +16,8 @@ It is as simple as:
...
@@ -16,7 +16,8 @@ It is as simple as:
Redis is just a single binary, but if you want to install it you can use
Redis is just a single binary, but if you want to install it you can use
the "make install" target that will copy the binary in /usr/local/bin
the "make install" target that will copy the binary in /usr/local/bin
for default.
for default. You can also use "make PREFIX=/some/other/directory install"
if you wish to use a different destination.
You can run a 32 bit Redis binary using:
You can run a 32 bit Redis binary using:
...
...
src/Makefile
View file @
e1386503
...
@@ -15,7 +15,7 @@ endif
...
@@ -15,7 +15,7 @@ endif
CCOPT
=
$(CFLAGS)
$(CCLINK)
$(ARCH)
$(PROF)
CCOPT
=
$(CFLAGS)
$(CCLINK)
$(ARCH)
$(PROF)
DEBUG
?=
-g
-rdynamic
-ggdb
DEBUG
?=
-g
-rdynamic
-ggdb
INSTALL_TOP
=
/usr/local
PREFIX
=
/usr/local
INSTALL_BIN
=
$(INSTALL_TOP)
/bin
INSTALL_BIN
=
$(INSTALL_TOP)
/bin
INSTALL
=
cp
-p
INSTALL
=
cp
-p
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment