Setup your first solr on ubuntu 18.04

1. install java

apt-get update -y

sudo apt-get install openjdk-11-jdk

java -version

2. install solr

cd /opt/

sudo wget

sudo tar xzf solr-7.7.3.tgz solr-7.7.3/bin/ — strip-components=2

sudo ./ solr-7.7.3.tgz

service solr status

3. create sample collection

sudo -u solr /opt/solr/bin/solr create -c hello -n data_driven_schema_configs

4. now browse http://ip:8983 . create a demo



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store



A Senior Software Developer/Body builder . to help others enjoy coding and stay healthy