Skip to content

Instantly share code, notes, and snippets.

@th3architect
th3architect / eve-ng.md
Created July 14, 2018 17:15 — forked from cfra/eve-ng.md
How to install eve-ng on digitalocean

Installing eve-ng on digitalocean

  1. Create an Ubuntu 16.04 Droplet
  2. Set a root passwd
passwd root
@lazypower
lazypower / setup.md
Last active April 23, 2022 13:16
Run Minikube in LXD

Running Minikube via LXD

I make some assumptions, and make no claims in how well supported this is or ever will be. I wanted to avoid using VMs because i've been working in containers for the last half decade. It made sense to just skip the middle man and use a machine type container system to run my minikube workloads.

Why not juju?

Simply put, Juju does a fantastic job; but to stay objective I wanted to achieve minikube in LXD as a functional alternative to juju deploy kubernetes-core, or using KVM/VirtualBox in this solution.

@diegopacheco
diegopacheco / docker-machine-ubuntu-16.04-lts.md
Created October 22, 2016 22:40
Docker Machine ubuntu 16.04 LTS
curl -L https://github.com/docker/machine/releases/download/v0.8.2/docker-machine-`uname -s`-`uname -m` >/usr/local/bin/docker-machine && \
chmod +x /usr/local/bin/docker-machine
docker-machine version


docker-machine ls
docker-machine create --driver virtualbox default
docker-machine ls
docker-machine env default
@tobyl
tobyl / Trellis setup
Last active June 29, 2019 09:22
Bash script to setup Bedrock, Trellis and Sage
#!/bin/bash
# set this variable - it will be used as both the root folder name and the theme name for sage
# no spaces - should not be a URL - I'm using 'my-site' or similar
SITENAME="your-site-name"
# Add BitBucket username/password to have a remote repo setup
BBUSER="YOUR-BB-USERNAME"
BBPASS="YOUR-BB-PASSWORD"
@ei-grad
ei-grad / ghe-lxc-image
Created March 11, 2013 17:18
Script to convert Github Enterprise OVA image to tar.gz for LXC.
#!/bin/bash
[ "`whoami`" != "root" ] && echo "Should be run by root!" && exit 1
[ -e *.vmdk ] || ( echo Extracting VMDK image from *.ova ... ; tar xf *.ova )
[ -e github.img ] || ( echo Converting *.vmdk to raw image ... ; qemu-img convert *.vmdk github.img )
echo Preparing mounts ...
losetup -f github.img -P
vgchange -ay enterprise-11