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
#install zsh | |
sudo apt-get update | |
sudo apt-get install curl zsh git | |
#install oh-my-zsh with auto-suggest, syntax-highlighting plugins | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting |
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
0) OSx and Docker up to date | |
1) Install elasticsearch (5.0.0) with homebrew : | |
brew update | |
brew cask install java | |
brew tap homebrew/services | |
brew install elasticsearch | |
2) Configure elasticsearch by editing /usr/local/etc/elasticsearch/elasticsearch.yml as follow. | |
Change the cluster name on line 17 : |
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 -Eux | |
apt-get -y update | |
## Install RRDTool and a web server | |
apt-get -y install rrdtool libapache2-mod-php5 php5 php5-gd php5-rrd | |
## Setup ganglia-web configuration | |
cd /tmp/ | |
wget http://sourceforge.net/projects/ganglia/files/ganglia-web/3.5.12/ganglia-web-3.5.12.tar.gz | |
tar xf ganglia-web-3.5.12.tar.gz |