Skip to content
shangrz edited this page May 18, 2012 · 13 revisions

tika-schedule

Prerequisite

  • Python

  • easy_install

wget http://peak.telecommunity.com/dist/ez_setup.py

python ez_setup.py

  • modules

easy_install thrift

easy_install pymongo

easy_install django

easy_install mongokit

easy_install feedparser

  • install uWSGI

wget http://projects.unbit.it/downloads/uwsgi-0.9.9.2.tar.gz

sudo apt-get install python-dev libxml2-dev

tar zxvf uwsgi-0.9.9.2.tar.gz

cd uwsgi-0.9.9.2

make -f Makefile.Py26

cp uwsgi /usr/sbin/uwsgi

  • change django.xml

<socket>ip:port<socket>

  • change config.py and callwebui/model

  • change nginx.conf server add

  1. location /console/ { 
    
  2.         uwsgi_pass ip:port; 
    
  3.         include uwsgi_params; 
    
  4.          }  
    

*run webui uwsgi -x callweibui/django.xml

sudo apt-get install libssl-dev sudo apt-get install libpcre3 libpcre3-dev ./configure --prefix=/usr/local/nginx make && make install /usr/local/nginx/sbin/nginx

Clone this wiki locally