Here is a quick quide to configure Solr on Ubuntu on Amazon EC2. Notice this guide is for Ubuntu 13.04 (Raring Ringtail).
Once you are on SSH on the linux box start by updating packages.
You may want to first update and upgrade system:
Update and upgrade system
apt-get update apt-get upgrade
sudo apt-get install openjdk-7-jdk
Install Tomcat & Solr
There is an unique package to install, it will take care of installing both Tomcat & Solr, plus the integration of Solr in Tomcat.
sudo apt-get install solr-tomcat
Open port 8080 in AWS
In https://console.aws.amazon.com/ec2/ open Security Groups in Network and Security , select Inbound -tab and Add rule 8080 port to the list and save changes.
Start the server
sudo service tomcat6 start
- Open your web browser :
Tomcat should say : It works !
- Solr should be accessible at :
- If you installed the management package, take a look at :
- The config & index will be stored at :
More infos on the general installation at :http://wiki.apache.org/solr/SolrTomcat