通过wget获取安装包:
wget http://download.redis.io/redis-stable.tar.gz
解压到当前目录:
tar xzf redis-stable.tar.gz
安装gcc环境:
sudo apt-get install gcc
make MALLOC=libc
sudo make install
redis-server
wget http://download.redis.io/redis-stable.tar.gz
tar xzf redis-stable.tar.gz
sudo apt-get install gcc
make MALLOC=libc
sudo make install
redis-server