TUTORIAL
AWS with Ansilble - Getting connected
This is the first part in a series on building and running infrastructure on Amazon Web Services using Ansible. If you do not have an AWS account yet, Amazon…
Elasticsearch - Grafana graphs
Grafana can pull from Elasticsearch as a data source, letting you build graphs and counters on top of your ELK stack logs. This post walks through the…
Locked disk after VM clone
After cloning a VM in oVirt, the cloned disk can end up in a locked state that prevents the VM from booting. This post walks through the database fix to clear…
Working with Zabbix templates
Scaling Zabbix monitoring requires a deliberate template structure. Without one, templates conflict and the monitoring setup becomes hard to maintain. The…
Connecting nodes to a environment
Run the Puppet agent with --environment development to connect a node to a non-default environment. Request a certificate Run the agent with the environment…
Creating a puppet environment
Puppet environments separate development and production configurations. Test changes in a development environment before they reach production nodes. Naming…
SSH Key Authentication with LDAP
Storing SSH public keys in LDAP lets clients authenticate without per-host authorizedkeys files. This post covers adding the openssh-lpk schema, attaching a key…
Adding SUDO to LDAP
LDAP can serve sudo rules to client machines, giving you centralized control over who can run what on which hosts. This post assumes a running LDAP server with…
Installation of pxe boot, Linux and Windows
PXE booting lets a machine pull a boot image over the network and install an OS without a USB drive or DVD. This guide covers setting up a PXE server on Debian…
Bash - Colored text output with tput
tput generates terminal control sequences for color, bold, underline, and other text formatting. Use it in bash scripts to make output readable at a glance.…
Basic Management Of LDAP Users
This post builds on the LDAP installation guide. Before reaching for a web interface, working with the command-line tools directly builds a solid understanding…
Basic LDAP Installation
This guide covers OpenLDAP installation and initial configuration on Debian 7.8. The server uses a static IP assigned by DHCP (192.168.20.5), the domain is…
Making a bootable USB from an .iso image on Mac OS X
Most bootable ISO images are designed to be burned to a CD-ROM. This guide walks through copying one onto a USB key instead, so any machine that boots from USB…
DNSmasq with puppet
Puppet is a server and client management system where agents retrieve configuration from a catalog server. This covers using Lex's dnsmasq module from Puppet…
Making a apt-get proxy
Running apt-get update && apt-get upgrade across ten servers burns time even on a fast connection. apt-cacher-ng solves this by caching downloaded packages on a…
Setting up a proftp server
ProFTPD is a configurable FTP server for Debian. This covers installation, user creation, and wiring it up with Apache so the FTP upload directory doubles as a…
SQL Database with Check constrain
SQLite3's CHECK constraint lets you enforce input format rules at the database level, catching bad data before it lands in a table. Overview This project stores…
Kippo project with kippo-graph
Kippo is an SSH honeypot that presents attackers with a fake Debian filesystem and logs every command they run. This project deploys it on a Raspberry Pi with…
NAS - Openmediavault
OpenMediaVault is a Debian-based NAS platform with a web interface for managing disks, shares, and users. This covers adding a virtual disk, formatting it,…