How To Install and Configure Apache Solr on Oracle Linux 9

How To Install and Configure Apache Solr on Oracle Linux 9

in This Tutorial you will Learn " How To Install and Configure Apache Solr on Oracle Linux 9"
Apache Solr is an open source search platform built upon a Java library called Lucene.
__________________________________________________________________________________________________________________________________
Server - Os:  Oracle Linux Server 9.0   64Bit      | IP -192.168.1.50        |Hostname - server.testbox.com
__________________________________________________________________________________________________________________________________
cat /etc/system-release ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y
sudo dnf update -y ; sudo dnf -y install curl wget

sudo dnf install lsof java-17-openjdk  java-17-openjdk-devel -y
java -version
sudo alternatives --config java
 java -version

sudo nano  /etc/profile
export JAVA_HOME="/usr/lib/jvm/java-17-openjdk"
export PATH=$JAVA_HOME/bin:$PATH

source /etc/profile ; echo $JAVA_HOME

wget  https://www.apache.org/dyn/closer.lua/solr/solr/9.2.0/solr-9.2.0.tgz?action=download -O solr-9.2.0.tgz
tar -zxvf solr-9.2.0.tgz
cd /root/solr-9.2.0/bin
sudo ./install_solr_service.sh ~/solr-9.2.0.tgz

sudo service solr start ; sudo service solr status
sudo firewall-cmd  --permanent --add-port=8983/tcp ; sudo firewall-cmd --reload
localhost:8983
______________________________________




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