Difference between revisions of "Mnogo"

From Alessandro's Wiki
(Created page with " * mnogosearch is an indexing open-source software: http://www.mnogosearch.org == HOWTO == * I compiled the software, needing some dependencies as development packages: mysql...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
* mnogosearch is an indexing open-source software: http://www.mnogosearch.org
* mnogosearch is an indexing open-source software: http://www.mnogosearch.org


Line 8: Line 7:


* configuring the source :
* configuring the source :
{{{
 
  ./configure --with-mysql --with-zlib --with-openssl  --enable-ftp --enable-mp3 --enable-mysql-fulltext-plugin  --prefix=/var/www/search/mnogo
  ./configure --with-mysql --with-zlib --with-openssl  --enable-ftp --enable-mp3 --enable-mysql-fulltext-plugin  --prefix=/var/www/search/mnogo
  make && make install  
  make && make install  
}}}
 


  * creating template DB:
  * creating template DB:
{{{
mnogo/sbin/indexer -Ecreate
/var/www/search/mnogo/sbin# ./indexer -Ecreate
'/var/www/search/mnogo/share/mysql/create.blob.sql' dbtype=2 dbmode=6
'/var/www/search/mnogo/share/mysql/create.blob.sql' dbtype=2 dbmode=6
 
[...]
[...]
SQL>
SQL>
  15 queries sent, 15 succeeded, 0 failed
  15 queries sent, 15 succeeded, 0 failed
}}}


=== first run ===
=== first run ===


* the path must be specified, an it is '''/var/www/search/mnogo/sbin/'''
* drive into the virtual host root:
* running the indexer:
  cd /var/www/search/
  indexer
* running the indexer:
* running the Blob-ize script:
  mnogo/sbin/indexer
  indexer -Eblob
* running the Blob-ize script:
  mnogo/sbin/indexer -Eblob


=== configure additional options ===
=== configure additional options ===
Line 45: Line 43:
  *  --enable-mysql-fulltext-plugin  enable MySQL-5.1 fulltext plugin interface
  *  --enable-mysql-fulltext-plugin  enable MySQL-5.1 fulltext plugin interface
  * ''Unsupported Content-Type 'image/png' ''
  * ''Unsupported Content-Type 'image/png' ''
== indexing world ==
* Allow NoCase Regex .+\/|\.htm$|\.html$|\.shtml$|\.phtml$|\.txt$|\.asc$|\.doc$|\.pdf$|\.ps$|\.rtf$|\.ppt$|\.zip$
* HrefOnly */
* Disallow *
indexer -v6 -u http://yoursite/some/image.jpg
*(use URL of some real JPG file)
** ''It will explain why it accepts this file.''

Latest revision as of 00:51, 23 September 2011

HOWTO

  • I compiled the software, needing some dependencies as development packages:
 mysql png zlib
  • configuring the source :
./configure --with-mysql --with-zlib --with-openssl  --enable-ftp --enable-mp3 --enable-mysql-fulltext-plugin  --prefix=/var/www/search/mnogo
make && make install 


* creating template DB:
mnogo/sbin/indexer -Ecreate
'/var/www/search/mnogo/share/mysql/create.blob.sql' dbtype=2 dbmode=6

[...]
SQL>
15 queries sent, 15 succeeded, 0 failed

first run

  • drive into the virtual host root:
cd /var/www/search/
  • running the indexer:
mnogo/sbin/indexer
  • running the Blob-ize script:
mnogo/sbin/indexer -Eblob

configure additional options

* the server table option could be useful to get the list of sites to index from a database.
 * ServerTable mysql://user:pass@host/dbname/tablename
* --with-openssl support
*  --with-zlib             for HTTP Content-Encoding support
*  --disable-mp3           disable MP3 tags support
*  --disable-file          disable file:/ URL scheme support
*  --disable-http          disable http:// URL scheme support
*  --disable-ftp           disable ftp:// URL scheme support
*  --disable-news          disable news:// URL schema support
*  --enable-efence         enable Electricfence memory debugger support
*  --enable-memdebug       enable internal memory debugger support
*  --enable-mysql-fulltext-plugin  enable MySQL-5.1 fulltext plugin interface
* Unsupported Content-Type 'image/png' 

indexing world

  • Allow NoCase Regex .+\/|\.htm$|\.html$|\.shtml$|\.phtml$|\.txt$|\.asc$|\.doc$|\.pdf$|\.ps$|\.rtf$|\.ppt$|\.zip$
  • HrefOnly */
  • Disallow *
indexer -v6 -u http://yoursite/some/image.jpg
  • (use URL of some real JPG file)
    • It will explain why it accepts this file.