You can use NSSM to register Solr as a Windows Service. "c:\ Program Files \ nssm \ win64 \ nssm"安装solr6 "c:\Program Files\nssm\win64\nssm" install solr6使用-f参数在前台运行Solr很重要(在这种情况下,这意味着在NSSM内部运行").可以在弹出的NSSM框中更改此名称(参数").您还可以在登录"下选择要运行该服务的用户.It's important that you use the -f parameter to run Solr in the foreground (which in this case means "run it inside NSSM"). This can be changed in the box that pops up for NSSM ("Arguments"). You can also pick which user to run the service as under "Log on". 这篇关于在Windows服务器上在后台运行Solr 6.0.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-24 15:37