How To Install Apache Solr on Rocky Linux 8.5

How To Install Apache Solr on Rocky Linux 8.5

 Apache Solr or Solr is a free and open-source search platform based on the Apache Lucene library. Solr is stands for Searching On Lucene with Replication, it is an enterprise-grade search platform written in Java.
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -192.168.1.20        |     Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y
dnf install java-11-openjdk java-11-openjdk-devel
java --version
Latest- https://downloads.apache.org/lucene/solr/
wget https://downloads.apache.org/lucene/solr/8.11.1/solr-8.11.1.tgz
tar xzf solr-8.11.1.tgz
solr-8.11.1/bin/install_solr_service.sh solr-8.11.1.tgz

nano /etc/security/limits.conf
soft    nofile        65000
hard    nofile        65000
soft    nproc        65000
hard    nproc        65000
su - solr -c "/opt/solr/bin/solr restart"
firewall-cmd --add-port=8983/tcp --permanent ; firewall-cmd --reload
http://192.168.1.20:8983/solr
http://resolvable-hostname:8983/solr
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




Share on Pinterest
Share on LinkedIn
Share on WhatsApp
Share on Telegram