Select Page

This method will install an older version of Solr. To get the latest I followed this guide.

All I had to do was add: :forwarded_port, host: 4569, guest: 8983

to the Vagrant file.

You can then start Tomcat with:

/etc/init.d/tomcat6 start

and Solr

sudo java -jar /opt/solr/example/start.jar


Installing Solr on Vagrant is pretty simple.

vagrant shh


sudo apt-get update

sudo apt-get install openjdk-6-jdk

sudo apt-get install solr-tomcat

Then in your Vagrantfile add something like: :forwarded_port, host: 4568, guest: 8080

Reload Vagrant:

vagrant reload

and ssh back in again.


sudo service tomcat6 start

and Solr should be running. Test it out:


%d bloggers like this: