Initial settings for ksh history and aliases

Out of the box, OpenBSD doesn’t come with a history file set, so when you logoff your history for that session is lost. Here’s how I set the history file and a few favourite aliases. Add export ENV="$HOME/.kshrc" to the end of .profile Put the following in .kshrc HISTFILE="$HOME/.ksh_history" HISTSIZE=5000 HISTCONTROL=ignoredups:ignorespace alias la="ls -la" alias h=history alias doas="doas "

Change to single partition AFTER installation

You can change OpenBSD to run using a single partition after doing a default installation. You might rightly ask why on earth you would want to do this, after all the FAQ “encourages users to split their disk into a number of partitions”. Well it’s great if you have a large disk and in a secure implementation but what if you just want to run on a single partition to make better use of the disk or virtual disk space.

Earn Bitcoin Cash by creating a local.bitcoin.com account

Invite your friends to buy and sell BCH on Local Bitcoin. When someone signs up using your unique link, you will earn 20% of fees incurred by their trades throughout the lifetime of their account. Affiliate payments are made at the end of the month. Use this link to signup

Using Hugo to run your blog on OpenBSD

Hugo is one of the most popular open-source static site generators. It’s written in Go (aka Golang) and developed by bep, spf13 and friends. I find it to be simple and easy to use but it also has some great themes to choose from. Requirements Assumes httpd being used on OpenBSD, tested with 6.4 Install hugo and verify your install $ doas pkg_add hugo $ hugo version Create your new blog working folder hugo new site blog cd blog git init git submodule add https://github.

Web log analysis on OpenBSD using GoAccess

GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser. Requirements This only works with httpd, tested on OpenBSD 6.4 Assumes your log style is set to common (default) Install the GoAccess package $ doas pkg_add goaccess Run from the command line Read access.log, remove the domain from beginning of each line and save as stats.