Anyone help a beginner to install Apache Solr?

spq101 - May 14, 2009 - 14:30

Hi

Whilst I'm not entirely new to Drupal, I have zero PHP or other technical knowledge... I've tried to install the Apache Solr module the same way one might install any other module but when I enable it, it seems to crash my entire drupal site and displays error messages. Upon further reading , there appears to be a number of other steps that need to be taken, but none make sense to my inferior brain!

Could anyone perhaps suggest an idiot's step-by-step guide to getting it installed and up and running? Any help would be greatly appreciated!

Thanks, Steve

_

WorldFallz - May 14, 2009 - 15:00

Did you read and follow all the installation instructions in the README.txt file included with the tarball?

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

I read all the instructions,

spq101 - May 14, 2009 - 15:50

I read all the instructions, but they were all completely alien to me. If anyone could help a layman (me) decipher these steps, would be most helpful...

_

WorldFallz - May 14, 2009 - 16:00

I just noticed there's also clearer installation in instructions on the module's documentation page: http://drupal.org/node/343467

The key is, you need to have both java v5 or higher and php v5.2 or higher before even attempting the apachesolr install. Be aware this puts it out of reach for most, if not all, shared hosting environments.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

_

spq101 - May 14, 2009 - 16:35

Thanks for the pointer. Also, just read elsewhere that it won't work on shared hosting, so I guess it's out of scope for the me for the moment... Thanks anyway.

I agree with the first dude.

azwildcat - May 14, 2009 - 18:57

I agree with the first dude. It's so confusing to get this module installed correctly. I too, need step-by-step, hold-my-hand guidance.

Maybe this might haelp some

kdes - May 18, 2009 - 13:06

Thanks, bud.

azwildcat - May 18, 2009 - 20:20

Thanks, bud.

Help understanding an installation step please.

manogolf - May 28, 2009 - 20:28

I always find it difficult to follow installation instructions for anything requiring shell access and unix commands. There are plenty of resources all over the web for advanced users but none seem to help me out.

Last summer I found a host that allows just about anything you want to install on your server installed and fortunately for me there was a push button install of Java 1.6, one less thing requiring I do something with shell access.

So prerequisites are met and I'm moving on. Open putty and fumble my way through 30 minutes of getting to the right directory and I don't know what I am supposed to do next. The readme text file states: Get the PHP library from the external project. The project is found at: http://code.google.com/p/solr-php-client/

What exactly does that mean? wget into the /apachesolr directory? Download to my desktop so I can stare at it? Sorry scratch that last comment.

Or do I download nothing and this is just a reference where you can find it because in the next step :

From the apachesolr module directory, run this command:

svn checkout -r6 http://solr-php-client.googlecode.com/svn/trunk/ SolrPhpClient

this downloads and takes care of Get PHP library?

A comment on the handbook page says:

Instead use:

svn export -r6 http://solr-php-client.googlecode.com/svn/trunk/ SolrPhpClient

I am OK with that if it is preferred.

So here is what I attempted. wget http://code.google.com/p/solr-php-client/
into my /sites/all/modules/apachesolr/ directory. Then ran from the /apachesolr/ directory


and received the following:
-sh: svn: command not found

I then deleted the apachesolr directory and started over but ended with the same command not found.

Can someone pitch in and clearly explain a step by step of the upload and where things go. Then I can move on to my next installation issue which is an undiscovered mystery I am in a hurry to find.

Thanks.

Jerry

Hi manogolf, Just to let you

alexharries - June 16, 2009 - 16:00

Hi manogolf,

Just to let you know I had the same issue with the svn command (I'm trying to muddle my own way through this - very bloody frustrating!).

It looks like svn isn't installed for you - try something like:

yum install svn

... at the command prompt (this worked on Fedora - YMMV).

Al

how-to handbook

Onopoc - June 29, 2009 - 00:02

I wrote a how-to handbook for absolute beginners at http://drupal.org/node/504558

 
 

Drupal is a registered trademark of Dries Buytaert.