We are now going to install the Apache Solr 3.6.x on the first remote Ubuntu server.

Using the same TERMINAL window type in the following command lines then press RETURN after each line.

[sudo] apt-get install screen wget
cd /
wget http://www.eng.lsu.edu/mirrors/apache/lucene/solr/3.6.2/apache-solr-3.6.2.tgz 

tar -zxvf apache-solr-3.6.2.tgz

If that url doesn't no longer work. Visit the apache solr downloads page for more mirrors.

  • Note 3: For security reason the apache-solr-1.4.0.tgz file must be extract where it's not visible to the web. Do NOT extract the file in your apache docroot or inside of your Drupal directory.
  • Note 4: If TERMINAL returns the following error:

    LANGUAGE = (unset),
    LC_ALL = (unset),

    Then you must install another package. To do so type in the following command then press RETURN.

    apt-get install language-pack-en
    
  • If successful the Apache Solr file will be download. Then extract to your first remote Ubuntu server first level directory. During the file extract process TERMINAL will display a list of files being extracted.

    You have successfully installed Apache Solr 3.6.x.