- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Mike
Subject: Install for people like me cpanel - linux

As couldnt find an install for dummies like me this is what I did

In cpanel make sure you create a new mysql database and give a user ALL 
priviliges the account and database name will be like this acct_user and 
acct_databasename

1) SSH into your server with putty
2) cd /
3) mkdir dpsearch
4) cd /dpsearch
5) wget (url for dpsearch)
6) unpack tar file
7) cd dpsearch directory
8) ./install.pl (if this doesnt work first type chmod 755 ./install.pl)
9) make selections
10) make
11) make install
12) cd /usr/local/dpsearch/bin
13) cp ./*.cgi /home/acct/public_html/cgi-bin
14) chown -R acct:acct /home/acct/public_html/cgi-bin
15) vi /usr/local/dpsearch/etc/indexer.conf-dist
16) add the information needed and then :w indexer.conf at the top where it 
asks for your mysql info with foo and bar, use this format 

DBAddr  mysql://acct_user:[EMAIL PROTECTED]/acct_databasename/?dbmode=cache

17) change all -dist files to .conf and .htm check by typing ls to see which 
once are there and edit them all accordingly
18) cd ../sbin
19) ./indexer -Ecreate
20) ./indexer 

Now it should start indexing whatever information you setup in your indexer.conf

Go to www.yoursite.com/cgi-bin/search.cgi and it should show a search bar, if 
it doesnt most likely your having wrong permissions or owners for files. 

Anyways... I know this is a stupid list and all, but it took me a week to 
figure it out... now that it works... I love it! Having so much fun with this 
thing !

- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;post=

Ответить