Solr Cloud Mode on FREEBSD
1.Set Bash as the default shell. 2.Create the groups and users zookeeper:*:962: solr:*:161: ... zookeeper:*:962:962:zookeeper user:/nonexistent:/usr/sbin/nologin solr:*:161:161:Apache Solr System:/var/db/solr:/usr/sbin/nologin 3.Download zookeeper and solr from https://zookeeper.apache.org/releases.html#download https://lucene.apache.org/solr/downloads.html and unzip them. curl -O https://xxxxxx OR wget https://xxxxxx 4.link path to /usr/local/etc tar zxf xxxx.gz sudo ln -s /usr/local/etc/solr ~/solr.xx.xx sudo ln -s /usr/local/etc/zookeeper ~/zookeeper.xx.xx 5.Customize solr config copy solr/server/solr/configsets/_default to solr/server/solr/configsets/xxx_default and create file "data-config.xml" <dataconfig> <datasource driver="org.postgresql.Driver" url="jdbc:postgresql://localhost/postgres" user="pgu1" password="pgu1" /> <document> <entity name="item" query=...