Skip to content
ajt2 edited this page Apr 21, 2011 · 12 revisions

Requirements

  • Apache Solr
  • Gearman
  • Gearman PHP Client
  • MongoDB

Installation

Install Gearman Server

  • Install libevent & boost
port install libevent boost
  • Download Gearman server
wget http://launchpad.net/gearmand/trunk/0.20/+download/gearmand-0.20.tar.gz
  • Decompress Gearman archive
tar xvzf gearmand-0.20.tar.gz
  • Configure and install Gearman server
./configure --prefix=/opt/local/gearmand
make
make install
  • Start gearmand
/opt/local/gearmand/sbin/gearmand -u username -d

Install Gearman PHP Client

  • Install gearman pecl extension
pecl install gearman-beta
  • Enable module in your php.ini
extension=gearman.so

Install Solr

java -jar lucidworks-enterprise-installer-1.7.jar -console
  • Start Solr when asked during the installer

Install mongodb

dbpath = /opt/local/mongodb/var/data
logpath = /opt/local/mongodb/var/log/mongo.log
pidfilepath = /opt/local/mongodb/var/run/mongo.pid
logappend = true
  • Create /opt/local/mongodb/var/
  • Create data, run & log directories within /opt/local/mongodb/var/ that are writable by the user you intend on running mongo under.
  • Start mongod by running
cd /opt/local/mongodb/bin && ./mongod -f /opt/local/mongodb/etc/mongodb.ini --fork

Install magento module