GithubHelp home page GithubHelp logo

lib-php's Introduction

Install Apache2 and PHP
 apt-get install apache2 php5 libapache2-mod-php5

Install curl support for PHP
 apt-get install curl libcurl3 libcurl3-dev php5-curl php5-mcrypt

Install memcache for PHP
 apt-get install memcached libevent-dev
 apt-get install libmemcached5 libmemcached-tools
 apt-get install php5-memcache

Restart Apache2
 /etc/init.d/apache2 restart

Install Sun java
 add-apt-repository ppa:sun-java-community-team/sun-java6
 apt-get update
 apt-get install sun-java6-jre sun-java6-jdk

If you have other versions of Java installed, after the installation of Sun Java you need to choice a default one by:
 update-alternatives --config java

Install Maven
 apt-get install maven2

Install Git
 apt-get install git-core

Install CouchDB-Lucene
Checkout the couchdb-lucene from its repository:
 cd /var/tmp/
 git clone git://github.com/rnewson/couchdb-lucene.git

Build couchdb-lucene
 cd couchdb-lucene
 mvn

Now there is a zip couchdb-lucene in the target/ directory. Decompress it and move it to /usr/local/
 tar zxvf couchdb-lucene-0.6-SNAPSHOT-dist.tar.gz
 mv couchdb-lucene-0.6-SNAPSHOT /usr/local/couchdb-lucene

Setting up CouchDB-Lucene
 vi /etc/couchdb/local.ini

With the following content:
 [couchdb]
 os_process_timeout=60000 ; increase the timeout from 5 seconds.

 [external]
 fti=/usr/bin/python /var/local/couchdb-lucene/tools/couchdb-external-hook.py

 [httpd_db_handlers]
 _fti = {couch_httpd_external, handle_external_req, <<"fti">>}

Start CouchDB-Lucene
 /usr/local/couchdb-lucene/bin/run

lib-php's People

Contributors

chao avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.