Most of my “second use” platforms, like Test VMs or laptops I rarely use, are running on Ubuntu LTS versions. This enables me using those devices for a long duration without investing too much maintenanc time to keeping them up to date.
The downside however is slightly aged software. In this special case, I needed Python >= 2.7.9 for its improved TLS handling, but Ubuntu 14.04 (Trusty Tahr) only delivers 2.7.6. I’d rather not upgrade the systems Python implementation, as it could possibly break some system scripts. So I wanted to have another Python installation beside my systems Python. Here’s how to do it.
This will place this new Python installation into the directory tree of /usr/local/.
For the few readers who have subscribed to my blog via RSS: I’m deeply sorry if you got the last 10 posts of me delivered over and over again. The last days I was in the progress of fixing errors which were introduced when converting from Wordpress to Jekyll and resulted in over 9000!!! (Okay, only ~6000) 404 errors. It were mostly errors made by myself. Wrong substitutions, typos, wrong assumptions were only three of many. I now cleaned up everything I could find, so I really hope you won’t get annoyed anymore.
You can’t imagine how satisfying this LinkChecker report feels to me. :-)
I wrote a very similar post nearly three years ago (in German) and still need this daily. As I’m currently writing a lot of Dockerfiles, I realised my post wasn’t completely accurate. Although I redacted it, it’s a good opportunity to port the original post to the english language.
Select all files in a directory, including hidden ones or files beginning with crude symbols. But exclude . and .. as those will most likely lead to an exit code > 0.
Lets assume we want to chown all files in the directory /var/www/html:
Notice how we got a lot of strange filenames here, including files beginning with dashes or double dots.