Tag Archives: Apache

How to completely reset an Apache instance in Ubuntu

While experimenting with mod_python, I ended up completely hosing my local Apache install. I had the configuration files in a bad state, so I thought the easiest approach would be to drop all of /etc/apache2, remove the Apache packages then … Continue reading

Posted in CLI | Tagged , , | 82 Comments

Top for Apache activity

While top can show you that yes, it is Apache that is taking up all your server’s resources, what can you do to narrow down the activity to a particular site being served on the box? You could tail the … Continue reading

Posted in CLI | Tagged , , , | 1 Comment

Handy script: LAMP stack version printer

Often when troubleshooting or setting up servers, I need to know the installed versions of applications commonly grouped into the “LAMP” stack. I dislike having to remember the slight differences between them when trying to coerce each to divulge their … Continue reading

Posted in CLI, Linux | Tagged , , , , , | 1 Comment