Assessment 1 Prep ‐ Sec‐260‐03 - ConnorEast/Tech-Journal GitHub Wiki
To begin, click this link to download CEnt0s7_minimal_Base.ova. Next open VMware, navigate to the .ova file and open it. Rename the VM name by adding -web at the end of the directory.
in the terminal run the following code strings:
dhclient _ (This is needed in order to request an IP) _
ip addr _ (This is to confirm your IP) _ ping -c1 google.com _ (This confirms your server recognizes the IP) _
yum install -y httpd _ (This downloads apache) _
firewall-cmd --permanent -add-port=80/tcp _ (This permanently opens port 80 for access) _
firewall-cmd --reload
firewall-cmd --query-port=80/tcp _ (This command tests to confirm port 80 is online) _
systemctl start httpd _ (This command forces your system to start apache.) _
On your main device go to the ip address specified in command 2. If the website has loaded properly we can move to stage two: Creating a basic html page:
cd /var/www/html _ (Change directory to var/www/html) _
vi index.html _ (Create and edit file index.html see Cheatsheet for help.) _
Insert the following information into the document
<html> <head> <title> Connor's Sec260 Assessment 01</title> </head> <body> This is the test site for Assessment 1 in class 260. </body> </html>
ESC key _ (This will exit insert mode.) _
:wq _ (This will Write and quit.) _
Now go back to your webpage and confirm it is working properly.
From here go to lab prep and Cert Lab