How-to install mnoGoSearch on Debian

mnoGoSearch tested with a fresh cloud.runabove.com Debian 7.5 instance :

sudo nano /etc/apt/sources.list
#Only jessie distrib
---> deb http://ftp.debian.org/debian jessie main
---> deb-src http://ftp.debian.org/debian jessie main

#Update package list
sudo apt-get update

#Upgrade distrib with new distrib repository
sudo apt-get upgrade

#Install MySQL & PhpMyAdmin BEFORE mnoGoSearch
sudo apt-get install mysql-server phpmyadmin

#Create a new db
---> create new db db_test_mnogo at http://IP/phpmyadmin/

#Go in the /tmp/ directory for instance
cd /tmp/

#Download mnogoSearch package
wget http://www.mnogosearch.org/Download/deb/mnogosearch_3.3.13-1.static_amd64.deb

#Uncompress and install
sudo dpkg -i mnogosearch_3.3.13-1.static_amd64.deb

#Go to the newly created mnoGoSearch directory
cd /etc/mnogosearch

#Backup and rename the conf file
sudo cp indexer.conf-dist indexer.conf

#Setup mnoGoSearch to work with MySQL
sudo nano indexer.conf
---> replace DBAddr  mysql://root:passmysql@localhost/db_test_mnogo/?dbmode=blob
---> add Server http://www.website-i-want-to-crawl.com/ near the end of the file

#Go to the exe file directory
cd /usr/sbin/mnogosearch

#Create DB
./indexer -Ecreate
#run
./indexer
Enjoy :)

Official doc : http://www.mnogosearch.org/doc33/msearch-indexing.html

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *