下载
https://www.apache.org/dyn/closer.cgi http://mirror.bit.edu.cn/apache/lucene/solr/7.2.1/solr-7.2.1.zip 注意:solr-7.2.1依赖jdk1.8解压
unzip solr-7.2.1.zip启动
cd binsolr start -p 8984
solr stop -p 8984帮助
solr --help Usage: solr COMMAND OPTIONS where COMMAND is one of: start, stop, restart, healthcheck, create, create_core, create_collection, delete, version, zk, auth, assert Standalone server example (start Solr running in the background on port 8984): solr start -p 8984 SolrCloud example (start Solr running in SolrCloud mode using localhost:2181 to connect to Zookeeper, with 1g max heap size and remote Java debug options enabled): solr start -c -m 1g -z localhost:2181 -a "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044" Pass -help after any COMMAND to see command-specific usage information, solr start -help or solr stop -help