Archive for the ‘Commands’ category

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.

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.

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

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...

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-59728040ee7a9861061119/]   Definitely a good...

Generating a InstallShield log file

There is a simple way to generate a InstallShield log file, where you will be able to view exactly what InstallShield is doing. Advantage of this log file is that you are able to see where all the files are being extracted to and which switches are being used on...