Installing py36-iocage on FreeBSD 11.0-RELEASE

Posted on Mon 19 June 2017 in FreeBSD, iocage

Ran into an issue while trying to build and install the latest version of py36-iocage from GitHub here. I installed the required python36, git-lite, and libgit2 packages with pkg install python36 git-lite libgit2 as the GitHub README suggests, but got the following error upon executing make install:

# pkg install python36 …

Continue reading

Checking out /usr/src on FreeBSD

Posted on Thu 15 June 2017 in FreeBSD

Attempted to make install a package pulled from GitHub and got an error complaining that my /usr/src needs to be populated. Checked out the contents of /usr/src and sure enough it was completely empty, but of course a quick search through the FreeBSD Handbook explained what as going …

Continue reading

Managing Perl Modules on Arch

Posted on Tue 13 June 2017 in Arch, Perl

Ran into a bit of a problem yesterday on Arch after upgrading Perl.
Never really had any problems up to this point, but this was a big one and a lesson was definitely learned - use the Arch repositories to manage Perl modules as much as possible.

What happened was that …

Continue reading

mkfs with label

Posted on Thu 11 May 2017 in Linux, mkfs

Pretty basic, but for whatever reason I always tend to forget the flag for setting a label when using mkfs. For future reference:

mkfs.ext4 -L label /dev/sdb1

Continue reading

Prevent Firefox from automatically creating directories

Posted on Thu 11 May 2017 in Linux, Firefox

Finally decided to look into something that has been kind of bugging me for quite a while now - Firefox automatically creates ~/Desktop and ~/Downloads directories if they don't exist everytime it starts. Turns out this is a feature, not a bug. It's another example of Firefox being the good guys …

Continue reading

macOS xcrun Error Fix

Posted on Sat 04 March 2017 in macOS, xcrun, git, curl

Got the following error when trying to run both git and curl on macOS Sierra:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at:

A quick search yielded the following website which had the quick fix - running xcode-select --install from the terminal.

Source: Link

Continue reading

urxvt + zsh backspace fix

Posted on Wed 22 February 2017 in Arch, urxvt, zsh

Ran into a strange issue with zsh in urxvt that apparently is nothing new as a quick search gave the answer in the first link. The problem is that backspace doesn't work as expected, acting just like the space key.

Ask Ubuntu Answer

Just add the following to your ~/.zshrc …

Continue reading

Bluetooth Setup on Arch

Posted on Mon 20 February 2017 in Arch, Bluetooth

Bought a new bluetooth keyboard and mouse so I had to get bluetooth up and running on the Arch box. Had a bit of an issue with powering the dongle on at boot so I thought I'd leave the fix here just in case.

Arch Wiki Entry

Install packages:

# pacman …

Continue reading

Let's Encrypt with Nginx on FreeBSD

Posted on Fri 03 February 2017 in FreeBSD, Let's Encrypt, Nginx

Built a few new servers the past couple of weeks and decided to try my hand at Let's Encrypt for SSL certs this time around instead of going to traditional route and paying for everything.

# pkg install -y py27-certbot
# service nginx start
# certbot certonly --webroot -w /usr/local/www/my …

Continue reading

pw: user 'git_daemon' disappeared during update

Posted on Wed 01 February 2017 in FreeBSD, passwd, git

Ran into the following error on FreeBSD the other day while trying to install git:

root@host:~ # pkg install -y git
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New …

Continue reading