首先,下载nssm

http://www.nssm.cc/download

命令

nssm install solr

 

然后到服务里启动solr,并设置为自动

Ctrl+Shift+Esc(说明:Esc一般在键盘左上方)

 

http://localhost:8983/solr

http://localhost:8983/solr

 

参考文章https://blog.csdn.net/wohaqiyi/article/details/80549912