systemctl List units systemctl systemctl start/stop/restart/reload unit systemctl status unit systemctl is-enabled unit systemctl mask unit – Prevent a unit from starting systemctl unmask unit – Allow a unit to start systemctl reboot/poweroff Copy the unit file and create a custom version (overriding the original) systemctl edit –full unit Show units that failed to start… Continue reading systemd Cheat Sheet
Having spent the last couple of years getting to grips with Redhat and Fedora, I felt it was time to try my hand at something else. All the geeks I know say, ‘go for Debian’, so I did. This details my findings so far.
DNSSEC – HOWTO for idiots like me
There seems to be plenty of DNSSEC HOWTO’s on the Web but I’m struggling to find a compendium of steps I need to perform in order to secure my zone and trust others. Securing a zone Before doing anything, it’s worth creating a directory structure where each zonefile resides in its own directory using the… Continue reading DNSSEC – HOWTO for idiots like me
Recently I’ve become aware of how big my Maildir mailboxes are getting. I keep a running record of much of my correspondence and don’t want to delete it but at the same time I don’t want to load every message each time I open a mailbox. Google came up with a couple of archive scripts… Continue reading Maildir Archive
Why Windows 7?
A few days ago I pre-ordered Microsoft Windows v7. This was quite a milestone event for me as I’d decided that after the flop of Vista, my next desktop upgrade from XP would be to Debian Linux. Not only is Linux free, I’m also very familiar with it. All my machines except the desktop already… Continue reading Why Windows 7?
What’s Up Net?
Since converting my home network to DHCP, I’ve been struggling to keep track of what devices/addresses are in use. Not because I’m poor at record keeping but rather because three teenage kids in the house like messing about with their PC / Hecksbox / Wii configurations. The following command came to my rescue. nmap -sP… Continue reading What’s Up Net?
My music collection is complicated, I rip my CD’s on a Linux server, FTP them to a Windows server. Manipulate ID tags and filenames using various means, then FTP them back again in order to play them through my Squeezebox. This recently caused me grief when I used an incorrect umask on a massive transfer,… Continue reading Recursive chmod
Mutt – Sorting and Threading
After years of being irritated by Mutt threading my messages by Subject and then sorting those threads by oldest message in them, I finally took the time to figure out how to get it doing what I want. As is often the case with Mutt all this info was widely available, it was just scattered… Continue reading Mutt – Sorting and Threading
In a recent blog article I used WordPress to embed images into a posting. This was very simple to do but there is a drawback: The image embedded within the post is identical in size and resolution to the one viewed if the image hyperlink is clicked. This makes the post and initial webpage very… Continue reading Image Manipulation
Encrypted Filesystems Revised
Some years back I blogged about encrypted filesystems. That info is still valid but times have moved on and there are other, better ways now. I can’t take any credit for this info, it all comes from the blog of Lars Strand. My thanks to him for taking the trouble to make it public. I’m… Continue reading Encrypted Filesystems Revised
Remind, the mother of all calendar applications.
Remind is a truly lovely little application for doing just as it’s name suggests; reminding somebody as forgetful as me about important things. As with many apps, the power of Remind does in some cases lead to complexity in configuration. To me, and not doubt many others, this makes it challenging to write recipes for… Continue reading Remind, the mother of all calendar applications.
Examining X509 Certificates
I have to look up these commands far too often! Issuer openssl x509 -noout -in cert.pem -issuer Common Name openssl x509 -noout -in cert.pem -subject Validity Dates openssl x509 -noout -in cert.pem -dates Hash Value openssl x509 -noout -in cert.pem -hash SHA1 fingerprint openssl x509 -noout -in cert.pem -fingerprint MD5 fingerprint openssl x509 -md5 -noout… Continue reading Examining X509 Certificates
WordPress Server Migration
Last weekend I was chatting to my best mate Jamie who appears to be the prime reader of my Blog, (hi mate!). He pointed out that my Blog was very slow to access and I’ve been pondering on what to do about it. I thought migrating to my Dedicated Host in Germany would be a… Continue reading WordPress Server Migration
Debian Performance Monitoring
The title really should read system or resource monitoring, but performance monitoring seems to be the industry buzzword for checking up on what’s using what resource. First on the list has to be top. This is a great tool for monitoring CPU and Memory utilization by process. As its name suggests, the highest resource users… Continue reading Debian Performance Monitoring
Postfix can do anything, (providing I know how to configure it).
I have issues with my current Mixmaster remailer configuration and I’m struggling for a solution. Currently the remailer sends messages via smtp relay through a VPN tunnel to a Postfix MTA in another country. This is good because it seperates the actual remailer from its exit-point and abuse reports go where I want them to… Continue reading Postfix can do anything, (providing I know how to configure it).
Ogg Vorbis Tagging
Having decided to try out allofmp3.com following all the recent hype about it. I was delighted to discover they allow me to download songs in Ogg Vorbis format. As a free software advocate, this is much more desirable than MP3 as it’s an Open Source format. The only problem was that the songs didn’t include… Continue reading Ogg Vorbis Tagging
How to create a new mirrored filesystem
Debian RAID boot
How to make a Debian RAID’ed boot partition using grub
SSH Access Restrictions
Restricting which accounts are allowed to login through SSH
Zen and the art of udev configuration
How to mount usb devices in persistent places.
Installing, compiling and purging kernels