(Use Git to compile VIM, not that hard once you have these two in place:)
$ sudo yum update -y
$ sudo yum group install "Development Tools"
$ sudo yum install ncurses-devel
$ git clone https://github.com/vim/vim.git| ===================== | |
| Shortcut to stop, remove all containers and images | |
| ===================== | |
| docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) && docker rmi $(docker images -q) | |
| ====================== | |
| Create independent directory containing Redis setup: | |
| ====================== | |
| - Dockerfile |
| ===================== | |
| Shortcut to stop, remove all containers and images | |
| ===================== | |
| docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) && docker rmi $(docker images -q) | |
| ====================== | |
| Create independent directory containing Mongo setup: | |
| ====================== | |
| - Dockerfile |
| ====== | |
| Dockerfile | |
| ====== | |
| FROM ubuntu:14.04 | |
| RUN apt-get update -y && apt-get install -y curl wget git supervisor build-essential | |
| RUN mkdir -p /var/log/supervisor | |
| RUN mkdir -p /data/logs | |
| RUN cd /opt && git clone https://github.com/InconceivableDuck/Nodevember.git | |
| RUN curl https://raw.githubusercontent.com/isaacs/nave/master/nave.sh > /opt/nave.sh |
| $ zsh | |
| $ echo -ne "\e]1;ENTER TAB NAME HERE\a" | |
| $ exit |
Really should checkout the Elastic Aggregations documentation, it's great:
In short, the format is something like this
"aggregations" : {
"<aggregation_name>" : {
"" : {docker run -d --name es elasticsearchdocker run -d --name logstash --link es:elasticsearch logstash -v /tmp/logstash.conf:/config-dir/logstash.conf logstash logstash -f /config-dir/logstash.confdocker run --link es:elasticsearch -d kibanaLOGSTASH_ADDRESS=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' logstash)Suppose you clone in https mode and then decide to switch to SSH:
$ git remote set-url origin [email protected]:{GIT_PROFILE}/{REPO_NAME}.git