Time for action – starting Solr for the first time

Ok, now it's time to start Solr for the first time.

  1. If we execute the following command from the terminal (from Windows, Linux, or Mac):
    >> cd %SOLR_DIST% (windows) 
    >> cd $SOLR_DIST (mac, linux)
    
  2. We change the directory to /example, and then we finally start Solr using the following command:
    >> java -jar start.jar
    
  3. We should obtain an output similar to the one seen in the following screenshot:
    Time for action – starting Solr for the first time
  4. You will quickly become familiar with the line highlighted in this output as it is easily recognizable (it ends in 0.0.0.0:8983). If we have not noticed any errors before it in the output, our Solr instance is ...

Get Apache Solr Beginner's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.