if you want to learn how you can unstall apache from you web server just send this command from the shell

yum remove httpd


thats it