Setup your first solr on ubuntu 18.04

1. install java

apt-get update -y

2. install solr

cd /opt/

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