Project

General

Profile

Support #919

Install an Apache Solr Server on FreeBSD

Added by Daniel Curtis almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Database Server
Target version:
Start date:
01/18/2018
Due date:
% Done:

50%

Estimated time:
1.00 h
Spent time:

Description

This is a guide on installing an Apache Solr instance on FreeBSD 11.

Prepare the Environment

  • Make sure the system is up to date:
    pkg update && pkg upgrade
    

Install Apache Solr

  • Install solr and jetty:
    pkg install apache-solr
    

The port is configured to listen only on localhost, port 8983.

  • Create an initial config:
    cp -R /usr/local/solr/example/example-DIH/solr/solr /var/db/solr/
    chown -R www /var/db/solr/solr
    
  • Create a new core from the examples:
    mkdir /var/db/solr/new_core
    cp -r /usr/local/solr/example/files/conf /var/db/solr/new_core/
    
  • Start and enable solr at boot:
    sysrc solr_enable="YES" 
    service solr start
    

OCR With Tesseract

  • To enable using Tesseract, just install it:
    pkg install tesseract
    
  • And restart solr:
    service solr restart
    

Yeah, its that simple!

Resources

#1

Updated by Daniel Curtis almost 7 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50
#2

Updated by Daniel Curtis almost 7 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF