Last active
July 24, 2016 00:23
-
-
Save kenial/affbb8bdf466724f30d9bf097ac51d66 to your computer and use it in GitHub Desktop.
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 characters
sudo yum install epel-release -y | |
sudo yum install net-tools wget python34 python34-devel python-pip readline java-1.8.0-openjdk -y | |
sudo pip install virtualenvwrapper pip -U | |
echo source /usr/bin/virtualenvwrapper.sh >> ~/.bash_profile | |
mkvirtualenv py3 -p python3 | |
workon py3 | |
sudo pip install ipython | |
cd; wget http://apache.claz.org/kafka/0.10.0.0/kafka_2.11-0.10.0.0.tgz | |
tar -xzf kafka_2.11-0.10.0.0.tgz | |
cd kafka_2.11-0.10.0.0/ | |
cd; wget http://apache.claz.org/zookeeper/stable/zookeeper-3.4.8.tar.gz | |
tar -xzf zookeeper-3.4.8.tar.gz | |
# launch zookeeper & kafka | |
cd ~/kafka_2.11-0.10.0.0; | |
bin/zookeeper-server-start.sh config/zookeeper.properties & | |
bin/kafka-server-start.sh config/server.properties |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment