Last active
November 15, 2019 21:51
-
-
Save milnomada/da32467b4f5d59127b1c701b8370352d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version=6.6.0 | |
printf "Installing Apache Solr $version ...\n" | |
name="solr-$version" | |
pkg="$name.tgz" | |
wget "https://archive.apache.org/dist/lucene/solr/$version/$pkg" | |
tar zxvf $pkg | |
cd $name | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt update | |
sudo apt-get install -y oracle-java8-installer | |
sudo apt install lsof | |
printf "Starting $name...\n" | |
./bin/solr start -e schemaless |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment