[英]Apache SOLR change admin password
I have installed apache solr on my machine. 我已经在机器上安装了apache solr。 During the installation I set up a password, which I need to change now.
在安装过程中,我设置了密码,现在需要更改密码。 I have found
apache-solr\\conf\\password
file, where hash is stored, but I don't know how I can change password. 我找到了
apache-solr\\conf\\password
文件,其中存储了哈希,但是我不知道如何更改密码。 Solr version is 6.1.0-2 Solr版本是6.1.0-2
Remove default authentication and implement your own . 删除默认身份验证并实施自己的身份验证。 First of all , delete everything from
solr.conf
in conf
folder except these lines 首先,从
conf
文件夹中的solr.conf
中删除所有内容,这些行除外
ProxyPass /solr http://127.0.0.1:8983/solr
ProxyPassReverse /solr http://127.0.0.1:8983/solr
Also delete password
file . 同时删除
password
文件。 Now the default authentication is removed , and you can implement your own basic authentication in Solr , using these steps from my answer given here How to secure solr 6 admin page . 现在,默认身份验证已删除,您可以使用我在此处给出的答案中的以下步骤在Solr中实现自己的基本身份验证: 如何保护solr 6管理页面 。 This will definitely work as it is applicable to solr 6 .
这肯定会起作用,因为它适用于solr 6。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.