sudo yum install
sudo chkconfig httpd on
sudo find / -name *domain* (where domain is the name of your domain)
sudo service httpd start
sudo service httpd restart
sudo cat /var/log/httpd/domain (where domain is the name of your domain)
cd /var/www/domain (where domain is the name of your domain)
cd /etc/httpd/conf
ls -a
sudo nano filename (where filename is the name of a file)
cat filename (where filename is the name of a file)
mv old-file-name new-file-name
References:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html