This is an old revision of the document!
https://tecadmin.net/install-apache-solr-on-ubuntu/
curl --user solr:SolrRocks http://localhost:8983/solr/admin/authentication -H 'Content-type:application/json' -d '{"set-user": {"tom" : "TomIsCool","harry":"HarrysSecret"}}'
sudo su - solr -c "/opt/solr/bin/solr create -c mycol1 -n data_driven_schema_configs"