Category: F/LOSS
-
Adding Lots of Storage Pools to Libvirt
I do not enjoy having subdirectories involved for storing files in libvert. The virt-manager interface is just way too brutal about how you manually add storage pools. After much ranting, I wrote a bash script to add these directories for my VM disk images. 1 #!/bin/bash 2 3 set -e 4 #set -x 5 existing_pools=() […]
-
OpenVPN easy-rsa notes
Get the recent easy-rsa scripts: # git clone openvpn/easy-rsa git checkout v3.0.6 # copy easy-rsa directory to /etc/openvpn/server cd /etc/openvpn/server/easy-rsa ./easyrsa init-pki ./easyrsa build-ca # this will need a password ./easyrsa gen-dh ./easyrsa gen-req servername.com nopass ./easyrsa sign-req server servername.com # requires ca passwd from above Now you can edit your server/server.conf file and fire […]
-
Ubuntu 18.04 Terminal Boot
Here are a series of commands to get Ubuntu 18.04 to boot into terminal mode, with various extras on how to get an automatic menu on boot up. Skipping Graphical Boot If you want to skip the graphical login screen, hit [Shift] or [Esc] before you see the grub menu to get to the grub […]
-
Apply ZFS driver settings without reboot
Apply your modprobe.d values without rebooting: egrep -v ‘^#|^\s*$’ zfs.conf \ | while read L; do M=($L) N=${M[2]} P=(${N/=/ }) echo “${P[1]}” > /sys/module/zfs/parameters/${P[0]} done #zfs #linux #bash
-
FreeNAS: Installing Dovecot
Various notes on installing dovecot on FreeNAS 11. I understand this has no dovecot security applied. This is a tutorial for a LAN lab environment. If the FreeNAS is a VM, make sure the virtual network adapter permits permiscuous mode. This allows jails to network. Create dataset. Adjust Jails Setting, disable DHCP Create a jail […]
-
Make New Human Language for Open Source
I was listening to Changelog episode 242 and when James Long describes an typical yet ideal experience of posting libre code to Github as an unexpected burden, it jumped out to me that Github, Google Code, Sourceforge, and a dozen other libre code hosting sites can step forward to change that burden by altering the […]
-
Updated Bash CPU Meter
In August, I did a post on a pretty simple bash cpu meter. This one is still Intel-only, but is records the range of frequencies used during a report. #!/bin/bash COLWID=17 MAXTURBO=4200 function find_lines { local i=0 local j=0 while read line; do if [[ $line =~ cpu\ MHz ]]; then cpu[i]=$j ((i++)) fi ((j++)) […]
-
LZOP is my friend
I’ve been doing a lot of disk cloning lately, working up instructions for duplicating a “sysprep” style Fedora image for the LANforge product. Now that live CDs tend to allow live installation of packages, I can boot one, plugin in a stick with the archive of my raw image, and install pv and lzop and […]
-
Fixing file-system corruption (freedompenguin.com)
Here I start a series of posts talking about my home workstation getting file system corruption.
-
Beware the Hubris of FreeBSD
I hear a lot of very proud talk from various BSD zealots, mostly about how if you want better uptime/throughput/correctness, you should drop Linux like a rock crawling with centipedes and pick up the shinny golden nugget of FreeBSD. This will not work for me. While Linux might be “only good enough” in their eyes, […]