Amazon Web Services (AWS) makes it very easy to expand EBS volumes. You just right-click on the volume, select modify, and enter the new, larger volume size. Done. To shrink Amazon EBS volumes, however, is a whole different matter – there is no way to do this directly using the AWS console. In this article, I describe a roundabout technique that I have often used to save some bucks in scenarios where I mistakenly over-allocated Amazon EBS when setting up EC2.
Linux & Servers
What is life without Linux? Browse this category to explore content I have created relating to Linux and Servers. This section is pretty broad. It promises content on Ubuntu, cloud VMs, server automation, bash scripting, PowerShell, system/website administration, AWS, etc. Watch this space for my existing and future content on the aforementioned technologies.
How To Execute PowerShell Scripts From PHP
Since PowerShell is now open source and cross-platform, we can now perform PowerShell magic right inside Linux boxes. If this isn’t exciting, what is?! Here’s an example of how to execute PowerShell scripts (or commands) from PHP code on a Linux VM.
How to Locate the .htaccess File on cPanel
There are lots of reasons why you would want to access your website’s .htaccess file: performing URL redirection, defining custom error pages, etc. Whatever the reason, you first need to locate the file on your host server. This article explains how.
Meaning of Pss in /proc/PID/smaps (and some extra memory info)
If you have ever tried to figure out why Linux is running low on memory, you will agree that the memory usage information provided by the kernel is not easy to understand. This post explains what Pss means in the /proc/PID/smaps file.
Installing PowerShell And Azure PowerShell On Ubuntu
For quite some time now, PowerShell has been cross-platform. This means you can now use it on Mac OS and on the many different flavors/distributions of Linux. Here’s how to install PowerShell Core followed by Azure PowerShell on your Ubuntu machine.
Dealing With WordPress Cron (WP-Cron) Issues
WP-Cron is how WordPress handles time-based job scheduling on sites. Sort of like the Linux cron utility. But WP-Cron could be very resource intensive since it executes on every page load. I share some insights/solutions to the problem in this post.