SYS 360 Lab 2 2 - JadenGil/Jaden-Tech-Journal GitHub Wiki

Getting Started:

At this point, we should be fairly familiar with how to launch an instance and how to connect to the machine via command line so I'm not going to re-explain the process here but there is more info on the in these labs:


Installing and configuring apache:

The instance is running a Centos distro so I will be utilizing this guide to configure apache on the machine:

https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-centos-7

Follow the guide till httpd is installed (skip the firewall section) and start httpd:

image

Then we can navigate to the public IP address:

Deliverable 1:

image


Create a custom home page:

This is the basic HTML code I used to make the homepage:

image

Deliverable 2:

image


Create a new user:

Created a new user with the following commands:

image

Update the ssh config file sudo nano /etc/ssh/sshd_config to allow for password authentication:

image

Restart SSH sudo systemctl restart sshd and now you can log in without root permissions

Deliverable 3:

image

Now we can terminate the machine

Deliverable 4:

image