jeltsch's blog

Accessing shared folders in VirtualBox (Linux guest)

Transferring files from the host to the guest OS and vice-versa doesn't work out-of-the-box when you install VirtualBox from the Ubuntu repositories and download an Ubuntu VirtualBox image (e.g. from http://www.osboxes.org/virtualbox-images). After installing the guest additions, drag-and-drop didn't seem to work for me and I needed to set up a "Shared Folder". After setting it up via the GUI, it doesn't automatically appear on the guest desktop. You need to mount it:

Handbrake and protected DVDs

Ripping DVDs is a thing of the past, but occasionally I still need to do it. However, it happens so rarely that evertime I have either a new computer or a new Linux distribution and I need to install the necessary software. This time I am on Ubuntu 16.04. I usually use Handbrake and it is very comfortable, but handbrake sometimes fails to do the job. This time, I had to resort to MakeMKV. However MakeMKV only rips the video to an MKV container but it does not compress it.

ScanSnap iX100 support for Linux

Under Ubuntu 16.04, the ScanSnap iX100 is not supported yet by the sane package. In order to get it working, you need to install the ppa from Rolf Bensch:

sudo add-apt-repository ppa:rolfbensch/sane-git
sudo update
sudo upgrade

Automated reinstall of software from package list

If I need to reinstall a Ubuntu/Debian-based Linux OS (or mirror a software selection to another machine), this is how it can be done. On the source machine:

su
dpkg --get-selections > ~/Package.list
cp -R /etc/apt/sources.list* ~/
apt-key exportall > ~/repository.keys

Then just copy the files to the target machine:

Let's encrypt duplicated my log files

I have not been keeping log files for my web server until the beginning of 2016, when I needed to trace access to certain files (I started to use awstats, mostly because I was familiar with it since I had used it years ago when my site was still running on a Red Hat server). In March 2016 I luckily started to use Let's Encrypt. I had used another "free" service before, which got recently into big trouble as they apparently had not control over their own security.

How to start openvpn under Ubuntu 16.04

sudo systemctl start openvpn@client
The "client" is derived from the configuration file name (/etc/openvpn/client.conf). If your configuration file is server.conf, the command needs to be
sudo systemctl start openvpn@server

Pages

Zircon - This is a contributing Drupal Theme
Design by WeebPal.