You could have done it "a lot faster": apt-get install apache2 mysql-server php5 libapache2-mod-php5
. That was the easy part.
Once that command completes, the tricky part starts: securing the server and making sure it won't be hacked in the next couple of days.