Skip to content

Instantly share code, notes, and snippets.

@macmattes
macmattes / zfsonosxonboot.sh
Last active June 8, 2022 00:06 — forked from whizzrd/zfsonosxonboot.sh
OpenZFS on OS X on boot installer script
#!/usr/bin/env bash
# OpenZFS on OS X on boot installer script
# Based on instructions from https://openzfsonosx.org/w/index.php?title=ZFS_on_Boot&oldid=1509
NEWDISK=/dev/null
NEWPOOL=rpool
autoconfirm="n"
for i in "$@"
do
case $i in
@macmattes
macmattes / install-ELK.sh
Created November 1, 2020 15:24 — forked from ikocev/install-ELK.sh
Install ELK (Elasticsearch + Logstash + Kibana) on Raspberry PI 4 with Nginx proxy
#I manage to make it working with the following versions:
#Elasticsearch 5.6.16. - (latest 5 version) since newer major is having issue with logstash and content type header. The problem origin at logstash not being able to run on raspberry with newer version (ffi issue - well known one).
#Logstash 2.4.0 - I know, right! It's 2019 almost 2020.
#Kibana - I didn't installed kibana on the PI, because I had it locally on my laptop. The problem was to configure
#elasticsearch to broadcast on 0.0.0.0 which puts the service into PROD mode. That open one big issues:
#JVM have to run as a server to enable hotspot (-server). Tried that one but on PI JVM simply can't be run with HotSpot
#Instead, I did proxy forward with nginx for elasticsearch, and then configured my kibana to use nginx proxy.
# ============= Elasticsearch =========== #
cd /tmp/
#
# Automatically generated by make menuconfig: don't edit
#
#
# General Setup
#
ARCH=ARCH_AVR
ARCH_AVR=y
# ARCH_HOST is not set