-
-
Save timlinux/7355506 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
# Add these lines to the bottom of the file: | |
export LANGUAGE=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 | |
locale-gen en_US.UTF-8 | |
dpkg-reconfigure locales | |
cat > /etc/apache2/conf.d/AAserverName << EOF | |
ServerName localhost | |
EOF | |
apt-get update | |
apt-get install -y python-software-properties | |
add-apt-repository ppa:geonode/testing | |
apt-get update | |
apt-get install -y -q geonode | |
myip=`ifconfig eth1 | sed -rn 's/.*r:([^ ]+) .*/\1/p'` | |
geonode-updateip $myip | |
geonode loaddata sample_admin | |
apt-get install -yq python-gisdata | |
geonode importlayers `python -c "import gisdata; print gisdata.GOOD_DATA"` -v 3 |
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 = "Ubuntu precise 64" | |
config.vm.provision :shell, :path => "bootstrap.sh" | |
config.vm.network "public_network", :bridge => "en0: Wi-Fi (AirPort)" | |
config.vm.provider :virtualbox do |vb| | |
vb.customize ["modifyvm", :id, "--memory", "2048"] | |
vb.customize ["modifyvm", :id, "--cpus", "2"] | |
vb.customize ["modifyvm", :id, "--ioapic", "on"] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment