AWS Classroomnotes 05/Feb/2022

Creating Virtual Machines on Hyper-V Host

  • Login into the Hyper V host and ensure Vagrant is working
    Preview
  • Lets create a centos 8 vm on Hyper V Host Refer Here
  • Create a folder and execute vagrant init centos/7
  • Now execute vagrant up --provider hyperv
    Preview
  • Now Manually navigate to hyper v manager and set MAC spoofing and Power on the virtual machine
  • login into the virtual machine with username vagrant and password vagrant
  • Now execute sudo yum update
  • Now lets install apache server on this machine
sudo yum install httpd -y
sudo systemctl enable httpd
sudo systemctl start httpd
sudo systemctl status httpd
  • Now access the Apache server from hyper-v host using the Guest VM (Centos VM) ip address
    Preview
  • Now lets create an ubuntu 18 vm with tomcat 9.
  • Lets use the following box Refer Here
  • Create a new folder and execute vagrant init generic/ubuntu1804 and then vagrant up --provider hyperv
    Preview
  • Now Manually navigate to hyper v manager and set MAC spoofing and Power on the virtual machine
  • login into the virtual machine with username vagrant and password vagrant
  • Now execute sudo apt update
  • Now lets install tomcat9 Refer Here
  • Next Step: Enable Password based authentication in both linux vms created

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner