Created
June 29, 2015 15:17
-
-
Save jasonlyles/063b7d85a2916d5d8af5 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
#! /bin/sh | |
echo "Installing play framework..." | |
cd /usr/lib | |
curl -O http://downloads.typesafe.com/play/2.2.6/play-2.2.6.zip | |
yum -y install unzip | |
unzip play-2.2.6.zip | |
rm -f play-2.2.6.zip | |
export PATH=$PATH:/usr/lib/play-2.2.6 | |
cd play-2.2.6 | |
chmod a+x play | |
chmod a+x framework/build | |
echo "Play installed..." | |
echo "Installing Kafka Web Console" | |
git clone https://github.com/claudemamo/kafka-web-console.git | |
cd kafka-web-console | |
echo "Setting up Kafka Web Console as a service... | |
#copy init file to /etc/init.d | |
chkconfig --add kafka-web-console | |
chkconfig --level 3 kafka-web-console on | |
play clean compile stage | |
echo "Starting Kafka Web Console..." | |
nohup play start -DapplyEvolutions.default=true | |
echo "Kafka Web Console installed, and server started" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment