News & Blog

Plesk Container Not Accessible After Deleting Admin MySQL User

September 28th, 2011 - Posted by Steve Marks to MySQL, Server Management, Web Development.
Whilst recently carrying out a security audit, one of the tasks on my list was to refine the permissions that MySQL users have. One of the users in the list was called ‘admin’. It had full permissions to all databases which struck me as a bit unsafe so, seeing as I wasn’t...

Jump to Top or Bottom of File Using the Nano Linux Command

September 23rd, 2011 - Posted by Steve Marks to Server Management, Web Development.
When viewing and editing files, Linux’s nano command can be very useful. One of the primary reasons for my usage of nano is reading log files that can be hundreds, if not thousands of lines long. In this scenario one of the most useful commands required is to quickly jump to the top ...

Get Size of Files in a Linux Directory Modified in the Past 24 Hours

July 25th, 2011 - Posted by Steve Marks to Server Management, Web Development.
With a system thats regularly creating files on-the-fly it’s important to keep track of the filesizes to monitor disk usage. One of the daily tasks I perform is to track the filesize of files created within the last day by running the following on the command line: find /directory_na...

Get the Number of IP Address Occurrences in the Access Log

July 19th, 2011 - Posted by Steve Marks to Server Management, Web Development.
I had a scenario recently where bandwidth usage on a server was becoming an issue. As a result the need arose to find out if any third party websites or scripts were excessively referencing the server. To do this, one of the steps taken was to identify and locate any IP addresses repeatedl...

Getting MySQL Service Running Again After Yum Update

July 16th, 2011 - Posted by Steve Marks to Server Management, Web Development.
Being a fan of staying on top of the latest technology I was excited when I saw that WordPress 3.2 had been released. Not only from a functionality point of view, but a security one too. It boasted many improvements that I was keen to get my hands on. Upon going to update WordPress I [...]...