Get it from the App Store.
In XCode's Preferences > Downloads you can install command line tools.
drupal drupalvdd: vagrant up | |
The provider 'virtualbox' that was requested to back the machine | |
'default' is reporting that it isn't usable on this system. The | |
reason is shown below: | |
VirtualBox is complaining that the kernel module is not loaded. Please | |
run `VBoxManage --version` or open the VirtualBox GUI to see the error | |
message which should contain instructions on how to fix this error. | |
Solution: |
MUSTWATCH!!! | |
- http://www.elasticsearch.org/videos/2011/08/09/road-to-a-distributed-searchengine-berlinbuzzwords.html (after 24 min is really great stuff) | |
HADOOP + elastic search: | |
- http://thedatachef.blogspot.com/2011/01/bulk-indexing-with-elasticsearch-and.html | |
CouchDB + ElasticSearch | |
---> very strange idea: CouchDB as SourceOfTruth, ElasticSearch to be the Workhorse.... | |
- http://stackoverflow.com/questions/6636508/elastic-search-as-a-database/6761973#6761973 |
sudo apt-get install openjdk-6-jre-headless | |
wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.17.6.tar.gz -O elasticsearch.tar.gz | |
tar -xf elasticsearch.tar.gz | |
rm elasticsearch.tar.gz | |
sudo mv elasticsearch-0.17.6 elasticsearch | |
sudo mv elasticsearch /usr/local/share | |
wget http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master -O - | tar xz | |
mv elasticsearch-elasticsearch-servicewrapper-3e0b23d/service /usr/local/share/elasticsearch/bin/ | |
rm -rv elasticsearch-elasticsearch-servicewrapper-3e0b23d/ | |
sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install |
require 'active_record' | |
require 'yaml' | |
require 'mysql' | |
require 'logger' | |
task :default => :migrate | |
desc "Migrate the database through scripts in db/migrate. Target specific version with VERSION=x" | |
task :migrate => :environment do | |
ActiveRecord::Migrator.migrate('db/migrate', ENV["VERSION"] ? ENV["VERSION"].to_i : nil ) |
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |