Considering that I do QA automation.
1) edit the files locally using vim.
2) test it on my computer.
3) check it in using CVS.
4) goto the production box (ssh or telnet depending on which one) and check it out and test it out. install any moduals required.
5) if needed (like the cgi scripts) put it in apaches cgi-bin directory.
6) remind the head developer to update his copy of the QA scripts tree. This is so that when he releases a build, no one has to check out the tagged version of the source tree , build the program, install it and then check out the recent version so that my code can test it.
7) if no new code drop is set to tested that day. Start it up and watch the bugs fly.*grin*