Last active
August 29, 2015 14:09
-
-
Save magigo/671da9350aee46a211e5 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
cd / | |
mkdir mnt2 | |
mount dev/xvdc /mnt2/ | |
add-apt-repository ppa:webupd8team/java | |
apt-get update | |
apt-get install oracle-java7-installer | |
apt-get install ruby1.9.1-dev | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.4.deb | |
dpkg -i elasticsearch-1.3.4.deb | |
nano /etc/elasticsearch/elasticsearch.yml | |
update-rc.d elasticsearch defaults 95 10 | |
/etc/init.d/elasticsearch start | |
apt-get install nginx | |
cd /usr/share/elasticsearch | |
bin/plugin -install lmenezes/elasticsearch-kopf | |
cd / | |
wget https://download.elasticsearch.org/kibana/kibana/kibana-3.1.1.tar.gz | |
tar zxvf kibana-3.1.1.tar.gz | |
cd kibana-3.1.1 | |
nano config.js | |
mkdir -p /var/www/kibana3 | |
cp -R /kibana-3.1.1/* /var/www/kibana3/ | |
wget https://gist.githubusercontent.com/thisismitch/2205786838a6a5d61f55/raw/f91e06198a7c455925f6e3099e3ea7c186d0b263/nginx.conf | |
nano nginx.conf | |
cp nginx.conf /etc/nginx/sites-available/default | |
apt-get install apache2-utils | |
htpasswd -c /etc/nginx/conf.d/kibana.myhost.org.htpasswd user | |
apt-get install lrzsz | |
cd /usr/share/elasticsearch | |
mkdir config | |
cd config | |
cp /etc/elasticsearch/* . | |
apt-get install build-essential | |
gem install aws-sdk | |
curl -O https://download.elasticsearch.org/logstash/logstash/logstash-1.4.2.tar.gz | |
tar zxvf logstash-1.4.2.tar.gz | |
cd logstash-1.4.2 | |
bin/logstash agent -f logstash_s3.conf -l /mnt2/logstash.log --verbose --debug -- web |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment