Skip to content

Instantly share code, notes, and snippets.

@therealechan
Created May 14, 2015 07:34
Show Gist options
  • Select an option

  • Save therealechan/3a6af259635dae05d5a2 to your computer and use it in GitHub Desktop.

Select an option

Save therealechan/3a6af259635dae05d5a2 to your computer and use it in GitHub Desktop.
Install Redis to Ubuntu

reference: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis

$ sudo apt-get update

$ sudo apt-get install build-essential

$ sudo apt-get install tcl8.5

Install Redis

$ wget http://download.redis.io/redis-stable.tar.gz
$ tar xvzf redis-stable.tar.gz
$ cd redis-stable
$ make
$ make test
$ sudo make install
$ cd utils
$ sudo ./install_server.sh

Start/Stop command

$ sudo service redis_6379 start
$ sudo service redis_6379 stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment