Last updated May 21, 2010. Created by Francewhoa on June 28, 2009.
Edited by bertboerland. Log in to edit this page.
We are now going to install “Apache Solr Search Integration” Drupal module and "PHP library" on the second remote Ubuntu Server.
Requirements
- Freshly already installed Drupal 6.12 or more recent. If needed read more about how to install Drupal at http://drupal.org/getting-started/install
- Drupal default Garland theme.
- You know how to install a new module in Drupal. If not here are a few resources at http://drupal.org/node/70151
- Drupal CLEAN URLS feature is ENABLED.
- We assume that you're using Virtualmin, Webmin & Usermin to create and administer your Drupal website.
Using your local home computer. Open TERMINAL. TERMINAL can be found under Ubuntu desktop panel menu > APPLICATIONS > TERMINAL
The TERMINAL window will open.
Type in the following command line. Then press RETURN key.
ssh root@10.1.2.3Note: In the above command replace
root with your second remote Ubuntu Server username and replace 10.1.2.3 with your second remote Ubuntu Server IP address. This IP address is provided by your host provider.
You are now connected to your second remote Ubuntu Server.
Type in the following command in TERMINAL to update your repositories.
sudo apt-get updateWait until TERMINAL returns the line “Reading package lists... Done”. Then go to next step.
Type in the following command in TERMINAL to install the latest updates if any.
apt-get upgradeWait. If any updates are available TERMINAL returns the line “Do you want to continue [Y/n]?”. Press Y key. Press RETURN key.
Wait until TERMINAL complete the update process. Then go to next step.
You have successfully updated your second remote Ubuntu Server.
We are now going to install the Apache Solr Search Integration Drupal module. If you don't know how to install a Drupal module go to http://drupal.org/node/70151 In this example we installed the module version apachesolr-6.x-1.0.tar.gz
We assume that you have successfully installed the Apache Solr Search Integration Drupal module.
We are now going to install the PHP library.
Go to http://code.google.com/p/solr-php-client/downloads/list
Download SolrPhpClient.r22.2009-11-09.tgz file to your local computer.
-
Note:
-r22means revision 22. Revision 22 is the currently tested and suggested revision. Make sure that the final directory is namedSolrPhpClientunder the apachesolr module directory.
Extract this file. Then copy the SolrPhpClient folder to your sites/all/modules/apachesolr/ directory on the second remote Ubuntu Server.
You have successfully installed PHP library on the second remote Ubuntu Server.