solr-9.8.1.zip
" in the folder you want to install Solr: /opt/solr-9.8.1
$ unzip solr-9.8.1.zip -d /opt/
$ ln -s /opt/solr-9.8.1/ /opt/solr
$ chmod -R 755 /opt/solr-9.8.1/ $ sudo chown -R mtitek:mtitek /opt/solr-9.8.1/
$ sudo chown -R mtitek:mtitek /opt/solr
${SOLR_HOME}
(or solr.solr.home
) represents the path of the Solr home directory: /opt/solr/server/solr
${SOLR_ROOT}
represents the path of the Solr installation folder: /opt/solr/
${SOLR_HOME}/solr.xml
"${SOLR_HOME}
must contain a solr.xml
file, otherwise Solr will fail to start.$ /opt/solr/bin/solr stop