Title: Installing Solr on macOS

Before proceeding, please make certain that you have a Java JVM installed. See How do I install Java for my Mac? for additional information on how to install Java.

Once you have Java installed, this is the process recommended for installing Solr on macOS:

1. Download the Solr installer for Any Unix Platform:

.

2. Open Terminal

3a. GUI Installation

To install using the the installation GUI, type into the console the path to the installer and the flag -i gui, e.g.:

nyssa (cjn) ~ → ~/Downloads/solr6400.bin -i gui                                
Preparing to install
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...


This will take you through the GUI installer:



















You will then see the Installing Schema message flash, followed by:



3b. Alternatively, you can type -i console and go through the same installation procedure as when Installing Solr on Linux.

To Stop Solr



To stop Solr, run the command:

~ → /Applications/Solr/solr/bin/solr stop -all                                                                                                  
Sending stop command to Solr running on port 8983 ... waiting up to 180 seconds to allow Jetty process 19467 to stop gracefully.


To start Solr



To start Solr, run:

~ → /Applications/Solr/solr/bin/solr start -cloud

Archiving 1 old GC log files to /Applications/Solr/solr/server/logs/archived
Archiving 1 console log files to /Applications/Solr/solr/server/logs/archived
Rotating solr logs, keeping a max of 9 generations
Waiting up to 180 seconds to see Solr running on port 8983 [-]  
Started Solr server on port 8983 (pid=28275). Happy searching!



Next: Now you can proceed with Configuring TeamPage to use Solr



Attachments:
Solr__InstallAnywhere_Web_Installer_.png
Solr_for_TeamPage.png
Solr_for_TeamPage.png
Solr_for_TeamPage.png
Solr_for_TeamPage.png
Solr_for_TeamPage.png
Solr_for_TeamPage.png
Solr_for_TeamPage.png
Solr.png
Solr_for_TeamPage.png
Solr_for_TeamPage.png
Solr_for_TeamPage.png
Related Articles
referenced by (1)
Article: solrsearch27 (permalink)
Date: February 27, 2017; 10:29:22 AM EST
Author Name: Christopher Nuzum
Author ID: cjn