Install Solr Install environment Ubuntu 20.04 Pre-installation Linux settings Create an user solr.
sudo useradd -r -s /bin/bash solr Change several kernel parameters in /etc/security/limits.conf.
solr hard nofile 65535 solr soft nofile 65535 solr hard nproc 65535 solr soft nproc 65535 Turn off swaps.
sudo swapoff -a Relogin so that the change will takes a place.
Install Java Install Java.
sudo apt install -y openjdk-11-jdk Install ZooKeeper Install Apache ZooKeeper.