Today we install apache, one of the great web servers that run the internet. We set it to auto-boot as well so when the system reboots it starts. Finally, we play with processes and update the system.
We did have to change the security group to allow port 80 traffic as well.
[ec2-user@ip-172-31-81-162 html]$ history
1 sudo yum -y install httpd
2 sudo service httpd start
3 cd /var
4 ls
5 cd www
6 ls -l
7 cd html
8 ls
9 echo "I did it" **REMOVED** index.html
10 sudo echo "I did it" **REMOVED** index.html
11 sudo su -
12 pgrep http
13 ps -eaf | grep http
14 top
15 ps -eaf | grep http
16 pstree 3516
17 kill 3516
18 sudo kill 3516
19 pgrep http
20 chkconfig httpd on
21 sudo chkconfig httpd on
22 history
23 sudo yum -y update