Created
February 11, 2015 12:53
-
-
Save inirudebwoy/548ca2995bad5d2b6913 to your computer and use it in GitHub Desktop.
Install Ubuntu 10.04 with couchdb 1.2.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box_url = "http://files.vagrantup.com/lucid64.box" | |
config.vm.box = "ubuntu/lucid64" | |
config.vm.network "forwarded_port", guest: 5984, host: 5984 | |
config.vm.provision "shell", inline: <<-SHELL | |
sudo apt-get update | |
sudo apt-get install -y python-software-properties curl | |
sudo add-apt-repository ppa:longsleep/couchdb | |
sudo apt-get update | |
sudo apt-get install -y couchdb | |
sudo sed -i.bak "s/;bind_address = 127.0.0.1/bind_address=0.0.0.0/g" /etc/couchdb/local.ini | |
sudo reboot | |
SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment