• Info

    I typically try and keep the blog up-to-date but apparently I'm not very good at posting!

How to recursively unzip all files in their existing directoies and remove the orginals

So, I am trying to restore a Newznab installation by importing in all my NZBs from my previous installation. Except during the import, all your NZBs need to be unzipped/decompressed and not in a ".nzb.gz" format.   Well I needed to figure out a way to unzip the compressed NZBs into their existing directories and also removing the original compressed NZB (mainly, to save hard drive space). Thankfully after a little research I was able to put together the following command that would accomplish this.

More+

How to have Newznab behind a Apache reverse proxy

I spent a considerable amount of time trying to figure out how to get Newznab behind a Apache reverse proxy. Unlike SABnzbd, Sickbeard, CouchPotato and Headphones there was no web_root, url_base or http_root for Newznab to use with a reverse proxy. Just with my luck too, there is very little documentation available online on this subject.

More+

Ubuntu Server 12.10 add-apt-repository

Today I was trying to install Oracle Java 7 (aka 1.7) on a Ubuntu Server 12.10 and was greeted by this lovely error, admin@ubuntuserver:~$ sudo add-apt-repository ppa:webupd8team/java sudo: add-apt-repository: command not found

More+

The following packages have been kept back

Ran across this problem/feature "The following packages have been kept back:" when trying to update some of my Ubuntu servers. Typically this means there is some kind of dependency issue(s) with the listed packages. For me I had the package "open-vm-tools" installed and it was causing a dependency conflict with the listed packages.   So how do you tell apt-get to ignore the "conflict(s)" and proceed anyways. Well you have two options available,   Option one: manually upgrade the individual package   [crayon-59c5d9a73a32d286823586/]   Option two(recommended method): tell apt-get to intelligently handle updating the dependencies with new versions of packages   [crayon-59c5d9a73a334705978181/]   Either option works but instead of having to update each package individually, I personally like letting the apt-get do the work!

More+

Have too many old kernels installed or running out of /boot space?

If you have every had a server online for some time. You've probably updated it a couple of times and maybe noticed that the old kernels stay loaded in /boot partition. Well eventually you will run out of space in your /boot partition and need to clear out those old kernels.   Don't just take my word for it, take a look yourself and to see how many old kernels you have by running the following command (excluding current kernel of course).   [crayon-59c5d9a73a6f0561482537/]   As you can see there are a couple old kernels stored in your /boot. So how do you get rid of them and free up a little space, same command as above just adding on apt-get purge.   [crayon-59c5d9a73a6f6611730558/]   Now you've freed up some space in your /boot partition and should be good to go for some more wonderful updates!  

More+

Rebuild Missing Configuration Files Command

For those Debian / Ubuntu fans out there that need to rebuild a missing or deleted configuration file without purging the package. Use the following command with just replacing PACKAGENAME with the name of the package you want to rebuild the config files for.   [crayon-59c5d9a73a88a230346731/]   Definitely a good command to remember or save!  

More+