[root@promote ~]# cd /usr/local/
[root@promote local]# wget http://redis.googlecode.com/files/redis-2.2.12.tar.gz
[root@promote local]# tar xf redis-2.2.12.tar.gz
[root@promote local]# ls
bin etc games include lib libexec redis-2.2.12 redis-2.2.12.tar.gz sbin share src
[root@promote local]# cd redis-2.2.12
[root@promote redis-2.2.12]# make 32bit
cd src && make 32bit
make[1]: Entering directory `/usr/local/redis-2.2.12/src'
WARNING: if it fails under Linux you probably need to install libc6-dev-i386
make ARCH="-m32"
make[2]: Entering directory `/usr/local/redis-2.2.12/src'
MAKE hiredis
cd ../deps/hiredis && make static ARCH="-m32"
make[3]: Entering directory `/usr/local/redis-2.2.12/deps/hiredis'
cc -c -std=c99 -pedantic -O3 -fPIC -Wall -W -Wwrite-strings -m32 -g -ggdb net.c
cc -c -std=c99 -pedantic -O3 -fPIC -Wall -W -Wwrite-strings -m32 -g -ggdb hiredis.c
cc -c -std=c99 -pedantic -O3 -fPIC -Wall -W -Wwrite-strings -m32 -g -ggdb sds.c
cc -c -std=c99 -pedantic -O3 -fPIC -Wall -W -Wwrite-strings -m32 -g -ggdb async.c
ar rcs libhiredis.a net.o hiredis.o sds.o async.o
make[3]: Leaving directory `/usr/local/redis-2.2.12/deps/hiredis'
MAKE linenoise
cd ../deps/linenoise && make ARCH="-m32"
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
………………………………………………………………………………………
[root@promote redis-2.2.12]# cd src/
[root@promote src]# ./redis-server
[10182] 28 Mar 05:55:35 # Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'
[10182] 28 Mar 05:55:35 * Server started, Redis version 2.2.12
[10182] 28 Mar 05:55:35 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
[10182] 28 Mar 05:55:35 * The server is now ready to accept connections on port 6379
[10182] 28 Mar 05:55:36 - 0 clients connected (0 slaves), 539544 bytes in use
[10182] 28 Mar 05:55:41 - 0 clients connected (0 slaves), 539544 bytes in use
[10182] 28 Mar 05:55:46 - 0 clients connected (0 slaves), 539544 bytes in use
[10182] 28 Mar 05:55:51 - 0 clients connected (0 slaves), 539544 bytes in use
[10182] 28 Mar 05:55:56 - 0 clients connected (0 slaves), 539544 bytes in use
[10182] 28 Mar 05:56:01 - 0 clients connected (0 slaves), 539544 bytes in use