Download Solr: https://solr.apache.org/downloads.html.
Install Solr:
tar xzf solr-9.7.0.tgz solr-9.7.0/bin/install_solr_service.sh --strip-components=2
sudo bash ./install_solr_service.sh solr-9.7.0.tgz
Add/uncomment (File: /etc/default/solr.in.sh):
SOLR_JETTY_HOST="0.0.0.0"
0.0.0.0 to allow Solr to accept connections on all network interfaces.
Configure /var/solr/data/security.json :
{
"authentication":{
"blockUnknown":true,
"class":"solr.BasicAuthPlugin",
"credentials":{
"solr":"PassWordHashComesHere",
"mysecondsolruser":"PassWordHashComesHere"},
"realm":"My Solr users",
"forwardCredentials":false,
"":{"v":0}},
"authorization":{
"class":"solr.RuleBasedAuthorizationPlugin",
"permissions":[{
"name":"security-edit",
"role":"admin"}],
"user-role":{"solr":"admin"}
}
}
Restart Solr:
service solr restart
service solr status
Comments
https : Secure Connection Failed Di, 12/10/2024 - 23:50
I get this error, when I visit https://solr.example.com:8983 :
Secure Connection Failed An error occurred during a connection to 195.201.160.13:8983. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem.
Neuen Kommentar schreiben