update-rc.d mysql start 99 3 5 . stop 0 1 2 4 6 .
apt-get remove apache2
And to disable the service in all the run levels, you execute the command:
update-rc.d -f apache2 remove
echo root:asd12qniqsdq | chpasswd