Some of these steps are easily forgotten, leading to no shared folders automatically mounting. The process to debug this can be a hassle, and there are far too many workaround mount methods on the net, including manual fstab entries etc,… Read More
Gracefully shutting down another user’s Virtualbox VMs
I was having issues shutting down another user’s Virtualbox virtual machines. Specifically, my virtual machines run as a particular user, but my UPS software’s shutdown script runs as root. Root cannot find any VMs registered to it. I combined instructions… Read More
Setting up an open VPN server on Digital Ocean
This script is excellent. Note that it can be passed arguments to allow operation from non-standard ports. This is useful because I have had issues connecting out from home because of problems with my OVPN client receiving packets from the home… Read More
Setting up a simple dns server with dnsmasq
I am setting up a VPN server and need to be able to route dns traffic through the VPN to pick up appropriate geo specific IPs from DNS servers near the VPN endpoint. However, I need to fudge a particular local… Read More
Installing VMWare tools on Kali Linux
The linux version (uname -r) only has 2 digits instead of 3. Solution to fix the init.d file is here: http://blog.spiderlabs.com/2013/09/installing-vmware-tools-on-kali-linux-and-some-debugging-basics.html
Upgrading Virtualbox Extension packs from the command line
I recommend saving the state or shutting down any virtual machines that are running. Next, find out the name of any existing extension packs: Extension Packs: 1Pack no. 0: Oracle VM VirtualBox Extension PackVersion: 4.3.6Revision: 91406Edition:Description: USB 2.0 Host Controller,… Read More
Adding CPU cores to existing XP virtual machine
I used to run 32bit Mint on a dual core Pentium with 4GB of RAM that I threw together for $500 in 2009. Because the OS was 32bit and the CPU didn’t have VT-X, I could never have multiple cores… Read More
Find and replace in nano
How to find and replace text in nano: Ctrl \ Enter your search term [press return] Enter your replacement term [press return] A [to replace all instances] Thanks to http://www.chrisnewland.com/find-and-replace-with-nano-47
/boot full on Ubuntu
When updating Ubuntu, old kernel versions are kept in /boot so that if you find that the latest one doesn’t work out, you can just boot into an older one. Unfortunately this also means that eventually your /boot partition will… Read More
Mounting Virtualbox VDI in linux
Needed to mount a VDI. Using manually installed Vbox from Oracle site, which has nasty conflict with packages for Mint, so couldn’t easily get fuse installed. Solved by using qemu as per these instructions.