Created
September 11, 2019 19:06
-
-
Save jeffrade/913b058aa6f8f324a9b2c1cc7aeaf82e to your computer and use it in GitHub Desktop.
Revisions
-
jeffrade created this gist
Sep 11, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ #!/bin/bash echo "Starting..." cd ~/ wget https://download.java.net/java/GA/jdk12.0.1/69cfe15208a647278a19ef0990eea691/12/GPL/openjdk-12.0.1_linux-x64_bin.tar.gz tar -xzvf openjdk-12.0.1_linux-x64_bin.tar.gz echo "PATH=$PATH:$HOME/jdk-12.0.1/bin" >> ~/.bash_profile echo "export PATH" >> ~/.bash_profile echo "export JAVA_HOME=$HOME/jdk-12.0.1" >> ~/.bash_profile wget http://mirror.olnevhost.net/pub/apache/kafka/2.3.0/kafka_2.12-2.3.0.tgz tar -xzvf kafka_2.12-2.3.0.tgz cd kafka_2.12-2.3.0.tgz echo "export KAFKA_HOME=$HOME/kafka_2.12-2.3.0" >> ~/.bash_profile source ~/.bash_profile echo "Done!"