Created
April 9, 2010 22:42
-
-
Save JackDanger/361671 to your computer and use it in GitHub Desktop.
solr 1.4 on EC2
This file contains hidden or 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
| # My record of provisioning a Solr server on EC2 (mostly mistakes): | |
| # Take 2: | |
| ## AMI: ami-1515f67c (bare ubuntu) | |
| sudo apt-get update | |
| sudo apt-get install rubygems1.8 | |
| sudo apt-get install git-core | |
| git clone git://github.com/JackDanger/jackbash.git ./.bash | |
| source ~/.bash/rc | |
| sudo apt-get install ruby | |
| sudo apt-get install ruby1.8-dev | |
| sudo apt-get install libxslt-ruby libxslt-ruby1.8 libxslt1.1 libxslt1-dev libxslt1-dbg | |
| sudo gem install --no-rdoc --no-ri nokogiri | |
| sudo gem install sunspot --no-ri --no-rdoc | |
| wget http://www.fightrice.com/mirrors/apache/lucene/solr/1.4.0/apache-solr-1.4.0.tgz | |
| tar xzf apache-solr-1.4.0.tgz | |
| cd apache-solr-1.4.0/example/ | |
| sunspot-installer solr/ | |
| sudo java -jar start.jar | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment