Category Archives: Linux

Bulk Optimizing Images with ImageMagick

The article discusses bulk optimizing images using ImageMagick, a powerful open-source image manipulation tool. The author provides a step-by-step guide on installing and using the software to resize, compress and enhance multiple images simultaneously, reducing their size without compromising quality. The article also includes various command-line examples for different scenarios, such as batch resizing, compression, and format conversion. It is a valuable resource for optimising many images for their website or digital project.

2N® SIP Speaker Auto Provisioning

We’re rolling out a new public address system at work and have opted to install it ourselves because the cost of outsourcing it would have blown our budget. The upside was this enabled us to go for a full IP based system with the savings and still be well under budget. The system we selected… Read More »

Install Unifi in Docker

Containerizing Unifi has the benefit of OS updates not impacting you. Gone are “oh shoot, I updated Java and now UniFi won’t start because it wants some other version” problems. When you want to upgrade to new version, type: You’ll likely want to clean up unused images. docker images to see. You’re likely going to remove images… Read More »

Romoving Old Proxmox Kernels

This is optional, but normally I first run # apt update && apt dist-upgrade and then reboot the server, so it’s running the latest updates/kernels. After updating and rebooting the server, verify all your VMs and Containers are running fine. Next, I run # uname -r, to find the “current” active running kernel, and make… Read More »

Delete Blank Pages from a PDF on Linux Command Line

OK, so I was looking for  a way to delete perceptually blank pages from PDF files in bulk. I found scripts that will remove truly blank pages, but that doesn’t help with pages that have been scanned because they can have just 1 pixel and now they’re not blank. The script below which is running… Read More »

Chrome Not Shutting Down Properly in Ubuntu

This was happening to me too and it was driving me crazy! In my situation (trusty), this had nothing to do with user profiles. My issue was that the desktop environment was shutting down prior to the background chrome process; this caused chrome to ‘ungracefully’ exit and bug me about it with each restart. Some… Read More »

Secure Auto-Starting Private Internet Access (PIA) Using OpenVPN on Ubuntu 16.04 LTS

The goal of this article is to create a Linux server that can only talk to Private Internet Access’ servers before the VPN is brought up, or if it goes down. To remove the need for DNS before the VPN is operational, we will specify the PIA servers by IP address. The allows us to also block outgoing DNS… Read More »

Ubuntu 14.04 / 15.04, PIA VPN Beta, Chrome & WiFi Penetration Testing

Purpose I keep a VM of Ubuntu installed for when I need some extra power that I can’t get in anything other than Linux. My flavour of choice is Ubuntu because of the amount of great packages, documentation and forums available. This tutorial is using Ubuntu Desktop 15.04 x64. If you’re using something else, YMMV.… Read More »

Easy WordPress Install Recipe

Installing your own WordPress server is extremely easy but there seems to be a lot of articles that needlessly complicate it. Starting with a base install of Ubuntu Server (Amazon AWS is a good free choice for this), SSH into your server and run the commands below: Change to Root $ sudo -i If Your… Read More »