Gray.me.uk - Tech and Linux Blog
  • Home
  • About
  • Contact Me
  • Services
  • Search

WordPress – “Duplicate without user-selected canonical” error – /page/2?cat=-1

August 6, 2023 WanderingTechy 0

Google sent me this warning; It turns out that WordPress is creating /page/2 and /page/2?cat=-1 Add this to your themes function file to fix.  It […]

Mysql Incorrect datetime value for a valid date/time

February 20, 2022 WanderingTechy 0

I was getting this error message. Incorrect datetime value: ‘2015-03-29 01:40:44’ After a lot of head scratching and googling.  It a timezone issue I believe. […]

Preventing emails going out from your development environment.

February 16, 2022 WanderingTechy 0

This is just a short one.  In /etc/postfix/main.cf  Add the following line at the bottom. virtual_alias_maps = static:<your_username> Then in Thunderbird you can collect local […]

Extend the life of your Rasberry Pi SD card.

February 4, 2022 WanderingTechy 0

This is a simple one.  Continuously writing logs to a Pi SD card will reduce it’s life span. Simply add these lines to your /etc/fstab […]

Attacked by an Amazon EC2 hosted botnet (Part 2) DNS server under attack.

January 25, 2022 WanderingTechy 0

So earlier this evening things started to slow down again and upon investigation discovered the attackers were now hitting my DNS servers.  I applied the […]

Attacked by an Amazon EC2 hosted botnet.

January 24, 2022 WanderingTechy 0

One of my servers was struck by a password brute forcing attack from hundreds of IPs.  This was initially mitigated by adding a new fail2ban […]

Yubi Key not working for Github

August 15, 2020 WanderingTechy 0

I recently did a fresh install of Linux rather than an upgrade and found that my YubiKey was no longer letting me into GitHub anymore. […]

Replace IP address across multiple SPF records in a MySQL server.

September 25, 2018 MH Tech. 0

Just had to do this for a PowerDNS server. UPDATE `records` SET `content` = replace(content, ‘old_ip’, ‘new_ip’);

MySQL constraints preventing import of single table

September 5, 2018 MH Tech. 0

One of those doh!! moments when you do something quickly to get it working and didn’t think through the consequences. I had 3 linked tables […]

Laravel 5.6 With Typescript.

August 14, 2018 MH Tech. 0

Please note these directions are just my struggle to get this working.  I am on my first day with Laravel and Typescript and haven’t used […]

Posts pagination

« 1 … 3 4 5 … 17 »

Search this site

Categories

Server Administration Services

I provide server administration, problem solving and other services. Please see Services option on main menu.

$5 a month for an SSD based VPS

digitalocean-logo
Plesk and CPanel licenses at much reduced prices.

Archives

Copyright © 2025 | WordPress Theme by MH Themes