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

Linux Admin

Covering tips that I find usefull

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 […]

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’);

Install and Automate LetsEncrypt SSL on your Plesk Login

August 4, 2016 MH Tech. 0

When you use the LetsEncrypt module it handles the renewals of your encrypted domains without any issue. However it doesn’t appear to have any method […]

Unable to find backend willing to host … for potential supermaster

July 15, 2016 MH Tech. 0

Fixing the “Unable to find backend willing to host hostname for potential supermaster” Error. I had set up many PowerDNS master slave nameserver clusters before […]

Bash Scripting Random Numbers

May 8, 2016 MH Tech. 0

I needed to create a script that would pick a random line from a file.  The $RANDOM variable isn’t the easiest to use as it […]

My Site is now encrypted using letsencrypt ssl cert on plesk 12.5 and Centos 6.7.

May 3, 2016 MH Tech. 0

This server is now running a Free SSL Certificate from LetsEncrypt. I am running this server on Centos 6.7 and have plesk 12.5 installed.   Now […]

Protecting .htaccess files from web application exploits.

March 16, 2016 MH Tech. 0

Over the last 18 months I have seen more and more new clients contacting me regarding their site being flagged by google as hosting malware […]

Posts navigation

1 2 … 10 »

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

Archives

Copyright © 2023 | WordPress Theme by MH Themes