Skip to content

Instantly share code, notes, and snippets.

@joyfulmonster
joyfulmonster / install redis
Last active August 29, 2015 14:14
install Redis
#### Install from source code
wget http://redis.googlecode.com/files/redis-stable.tar.gz
tar xzf redis-stable.tar.gz
cd redis-stable
cd deps; make hiredis lua jemalloc linenoise first before the main make
make
#### Install from package
The following are the steps to install mtools on Ubuntu 12
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
sudo apt-get install python-dev
sudo apt-get install gcc
sudo pip install mtools
#python -m pip install mtools
sudo pip install pymongo
@joyfulmonster
joyfulmonster / Redis Install
Last active November 24, 2018 08:10
Install Redis on Ubuntu
#Install GNU
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
gcc -v
make -v
# Get
mkdir redis_home