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:
Then we can navigate to the public IP address:
Deliverable 1:
Create a custom home page:
This is the basic HTML code I used to make the homepage:
Deliverable 2:
Create a new user:
Created a new user with the following commands:
Update the ssh config file sudo nano /etc/ssh/sshd_config
to allow for password authentication:
Restart SSH sudo systemctl restart sshd
and now you can log in without root permissions
Deliverable 3:
Now we can terminate the machine
Deliverable 4: