close
Warning:
Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Sep 10, 2010, 8:58:27 PM (12 years ago)
- Author:
-
greg
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v78
|
v79
|
|
486 | 486 | }}} |
487 | 487 | |
| 488 | == Search == |
| 489 | |
| 490 | Create symlink to from Java to /usr/lib/jvm/current |
| 491 | {{{ |
| 492 | cd /usr/lib/jvm |
| 493 | ln -s java-6-sun current |
| 494 | }}} |
| 495 | |
| 496 | Install Solr to /opt/solr |
| 497 | {{{ |
| 498 | scp -P 2222 -r user@jump.silverfilecorp.com:/usr/silverfile/solr.tar.gz /opt/solr.tar.gz |
| 499 | tar -zxvf /opt/solr.tar.gz |
| 500 | rm /opt/solr.tar.gz |
| 501 | ln -s /opt/solr/example /opt/solr/current |
| 502 | }}} |
| 503 | |
| 504 | Install liblinux-inotify2-perl |
| 505 | {{{ |
| 506 | apt-get install liblinux-inotify2-perl |
| 507 | }}} |
| 508 | |
| 509 | Install the monitoring scripts to /usr/local/bin |
| 510 | {{{ |
| 511 | scp -P 2222 user@jump.silverfilecorp.com:/usr/silverfile/scripts/solr_bin/* /usr/local/bin/ |
| 512 | |
| 513 | Files are: addall.sh - run to import a directory into solr. Example: ./addall.sh /FILES |
| 514 | monitor.pl - run to start the monitor program. Example: nohup ./monitor.pl /FILES & |
| 515 | update.pl - called by monitor and addall to update a file to solr. |
| 516 | delete.pl - called by monitor to delete a file from solr. |
| 517 | }}} |
| 518 | |
| 519 | Install solr startup script and setup to run on boot |
| 520 | {{{ |
| 521 | scp -P 2222 user@jump.silverfilecorp.com:/usr/silverfilecorp/scripts/solr /etc/init.d/solr |
| 522 | update-rc.d solr defaults |
| 523 | }}} |
| 524 | |
| 525 | |
| 526 | |
488 | 527 | == Dynamic DNS == |
489 | 528 | |