Skip to content

Instantly share code, notes, and snippets.

View alexsaezm's full-sized avatar
Drinking coffee, probably

Álex Sáez alexsaezm

Drinking coffee, probably
View GitHub Profile
@alexsaezm
alexsaezm / kibana4
Last active September 21, 2015 12:18 — forked from thisismitch/kibana-4.x-default
ELK Kibana4
#!/bin/sh
#
# /etc/init.d/kibana4 -- startup script for kibana4
# bsmith@the408.com 2015-02-20; used elasticsearch init script as template
# https://github.com/akabdog/scripts/edit/master/kibana4_init
#
### BEGIN INIT INFO
# Provides: kibana4
# Required-Start: $network $remote_fs $named
# Required-Stop: $network $remote_fs $named
#!/bin/sh
set -o xtrace
# Install basics for vi and git
yum -y --enablerepo=base install gcc make vim-enhanced zlib-devel openssl-devel
# Simple but usable vimrc
cat > /root/.vimrc <<EOF
syntax on
se ts=4