OPS245 Assignment 2

From Littlesvr Wiki
Revision as of 16:29, 27 March 2023 by Andrew (talk | contribs) (Created page with "= !!!THE ASSIGNMENT IS NOT READY YET!!! = In this assignment you'll practice some of the skills you've learned in the course to build a simple web server. It won't look fancy but you'll only be a couple of steps away from being ab;e to deploy a modern web application. * Set up a '''new Debian virtual machine''', call it '''asg2''' and give it the hostname asg2. Do a minimal installtion, with no GUI. All your assignment will be done in this new virtual machine. ** Make s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

!!!THE ASSIGNMENT IS NOT READY YET!!!

In this assignment you'll practice some of the skills you've learned in the course to build a simple web server. It won't look fancy but you'll only be a couple of steps away from being ab;e to deploy a modern web application.

  • Set up a new Debian virtual machine, call it asg2 and give it the hostname asg2. Do a minimal installtion, with no GUI. All your assignment will be done in this new virtual machine.
    • Make sure the asg2 VM is set up to use LVM.
    • Create a regular user with the same username as your Seneca username.
    • Set it to use the static IP address 10.2.45.14
  • Add a 1GB drive to the VM.
  • Use the entire drive as a physical volume, add it to the volume group you already have.
  • Create a logical volume named lv_web, formatted as ext4.
  • Set up your system so that lv_web is mounted automatically onto the /var/www directory when the system boos.
  • Install Apache. It will be easier for you if you install it after the lv_web volume is mounted.
  • Configure the workstation so that it will convert the hostname asg2 into the IP address 10.2.45.14
  • Use Firefox in your workstation VM to confirm that you can see the default webpage on http://asg2
  • Add a second network adapter to the asg2 VM so that you can more easily access it from the host. Make it connect to the host-only network.
  • Check in the Host Network Manager that 192.168.56.14 is an IP address within its range, and it is not in the DHCP pool. You may use a different IP address if this IP address won't fit in your network.
  • Configure the second network interface on asg2 with the static IP 192.168.56.14.
    • Make sure that the network interface is brought up automatically when the VM boots.