Hi I want to ask what are the best practices when installing new software on a web-server, I'm pretty much self-taught, I have on my home PC: Ubuntu 11.04 with LAMP installed, and a VPS that I manage myself that runs CentOS 5.6.
I usually just test everything at home and than make changes on the web server. even though nothing went horribly wrong until now. I want it to keep being this way and I'm slowly gaining confidence to do slightly more complicated things.
Anyway, I don't know how the "pros" do it, but I want to know how the testing usually works. Are the changes made directly to the server or is there some kind of "test server" that has the same configuration as the real server and everything is first tested on the "test server".
Or maybe I could install a virtual box with CentOS and test everything there. The things I currently want to test are apache modules and software installations via SSH.