Skip to content

Instantly share code, notes, and snippets.

@bhdrkn
Created July 5, 2015 19:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhdrkn/3f1ec433bdf35c71d675 to your computer and use it in GitHub Desktop.
Save bhdrkn/3f1ec433bdf35c71d675 to your computer and use it in GitHub Desktop.
Redis Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby ts=2 sw=2 expandtab:
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.provision "shell", inline: <<-SHELL
apt-get update
apt-get install build-essential
apt-get install tcl8.5
wget http://download.redis.io/releases/redis-stable.tar.gz
tar xzf redis-stable.tar.gz
cd redis-stable
make
make test
make install
cd utils
./install_server.sh
update-rc.d redis_6379 defaults
SHELL
end&nbsp;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment