Kudos to Christos Manios for coming up with this solution!
Posts Categorized: AWS/Linux/Unix/Devops stuff
The instructions provided by Yubico for integrating two-factor auth with OpenVPN lack a PAM configuration for Debian based systems. The following configuration file (/etc/pam.d/openvpn) worked for me: auth required pam_yubico.so authfile=/path/to/yubikeys id=22010 debug auth required pam_unix.so try_first_pass debug shadow nodelay account required pam_unix.so
Assigning a second network interface within the EC2 console and setting up the additional OS configuration is not terribly hard (I used the instructions here), but there was an extra catch to routing my EIP though this interface…
I was interested in migrating some servers from the older generation Amazon EC2 m1.small to the newer (and more cost effective) t2.micro instance types, but I had some difficulties in making this jump. Here is what I figured out…
This is pretty easy to do, and is covered well in articles such as this one. However, I made the mistake of powering down my machine after removing my bad drive from the array. My thinking was that it would be easier to perform the surgery this way. In retrospect I should have simply unmounted… Read more »
The following cut-and-pasteable instructions will bring up a Vagrant VM hosting a Rails project
The following will generate a listing of installed Debian/Ubuntu packages, and will install packages from that list on another machine. Just make sure you have the same sources set in /etc/apt/sources.list: dpkg –get-selections > package_list scp package_list to your destination machine, and: dpkg –set-selections < package_list apt-get -u dselect-upgrade to install these packages.
How to fix Unetbootin Test Memory boot failures
How to fix non-bootable UNetbootin created USB drives
Some useful performance optimization tips for optimizing Apache, PHP FPM, and APC for Amazon EC2. In this case the configuration examples are the settings that work best for our Small instances, but certainly these concepts will apply to other instance types as well.