Tag Archives: server administration

Resize EBS volume attached to Amazon Web Services EC2 instance

Resizing EBS volume Unfortunately, you can not currently resize an EBS volume on the fly. However, you can pretty easily resize with a quick reboot. The process is as follows: Create a snapshot of your current volume Create a new volume … Continue reading

Posted in Amazon Web Services, EBS, EC2 Tagged , , , , ,

Subversion security issues – .svn directory has your source code in it

Stop Publishing Your Source! Well, unless you’re working on an Open Source project that is. Many of the developers I have worked with on web based apps use a working copy for development purposes or even for staging servers (as … Continue reading

Posted in Code Snippets, Command Line, Server Administration, Source Control, Subversion, Web Servers Tagged , , , , , , , , , , ,

Find out what process is listening on a particular port on a Linux server

I was recently trying to debug an app that had gone rouge on a server because of a PHP upgrade. It was a web based application listening on a particular port and after the upgrade it just returned 500 server … Continue reading

Posted in Command Line, grep, Server Administration, Web Servers Tagged , , , , , , ,

Find all .htaccess files with a particular php configuration setting

After some testing on a server with a strange setup I needed to find all of the .htaccess files that might contain a particular php configuration directive. The pattern was unique enough that I would have probably just done a … Continue reading

Posted in Command Line, find, grep, Linux, Server Administration, Web Servers Tagged , , , , , ,

List installed packages with yum

How do I find out which packages are already installed with yum. The command you’re looking for is ‘yum list installed’ but you might want to combine it with grep or less because it’s most likely going to be a … Continue reading

Posted in Linux, Server Administration, Web Servers Tagged , , , , ,