01. Ubuntu or Linux dependencies to install - findsorguk/findsorguk GitHub Wiki

When installing the findsorguk code, there are quite a few packages that will need to be installed to make sure everything will work. I am assuming you are on an Ubuntu box or a virtual machine and the commands below are how to install these packages.

Check filesystem format (this should be ext4)

sudo file -sL /dev/md*

Tomcat 7

sudo apt-get install default-jdk
sudo apt-get install tomcat7
sudo apt-get install tomcat7-admin

Apache Solr 4.2.1

sudo wget http://archive.apache.org/dist/lucene/solr/4.2.1/solr-4.2.1.tgz
tar -xvzf solr-4.2.1.tgz

Image processing: GD and Imagick

sudo apt-get install php5-gd
sudo apt-get install php5-imagick

Apache 2 and required modules

sudo apt-get install apache2
sudo a2enmod rewrite
sudo a2enmod headers
sudo a2enmod expires

Git

sudo apt-get install git

PHP

sudo apt-get install php5 php5-mysql libapache2-mod-php5

MySQL and phpmyadmin (optional)

sudo apt-get install mysql-server mysql-client
sudo apt-get install phpmyadmin php5-mbstring php5-common

Now let's install the codebase.