From demowikimath
Jump to: navigation, search

You are here:

  1. Installation

How to install mwsd

Submitted by schubotz on Sun, 06/24/2012 - 21:36

This is a short guide on how to install mwsd https://github.com/KWARC/mws apt-get install git g++ cmake make pkg-config libmicrohttpd-dev libxml2-dev libleveldb-dev libsnappy-dev libjson0 libjson0-dev libhtmlcxx-dev libicu-dev libcurl4-gnutls-dev doxygen netcat curl cd /home/ ls git clone https://github.com/KWARC/mws cd mws mkdir build cd build/ cmake .. make all Do not use my old start-up script anymore. There is a config file and change MWS_HARVEST_PATH="../data/arxivdemo" to the path were the extracted data was stored e.g. MWS_HARVEST_PATH="/data/mwsIndex" after that install and run the service sudo scripts/sysv/deploy.sh config/mws_services.conf sudo service mwsd_arxivdemo start service restd_arxivdemo start



Change maximal result size

Submitted by schubotz on Mon, 07/09/2012 - 16:30

I adjusted the maximal result size and changed it from 100 000 to 1 000 000

This can be done by changing /home/mws/config/MwsQueryConf.hpp:


after that you have to recompile.

By Moritz Schubotz, Berlin 2012 (g+)