Skip to content

dmitru4ok/virtualization-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 

Repository files navigation

The ansible-vm part

  1. create ubuntu 22.04 vm with 8 GB of disk (ansible-vm)
  2. enter into it
  3. run:
su # to become root
cd ~ # to go to root's home dir (important!)
apt update
apt -y install git
git clone https://github.com/dmitru4ok/virtualization-project.git
cd virtualization-project/telecomms/shell
chmod +x Main.sh
./Main.sh
  1. The script will ask you for your vm password (we agreed on it earlier) and 3 pairs of OpenNebula credentials.
  2. then ansible-vm long updating will start
  3. after that, it will create webserver-vm, client-vm, and db-vm and populate hosts file with VM private ips.
  4. file /misc/credentials.yaml will get populated by sudo pass for the machines, ON logins and passwords, as well as with DB VM private IP-address.
  5. ssh-keys will be added to the machines
  6. 3 ansible playbooks will run configuring the app
  7. after config is done, script will open the page of webapp in w3m browser through ssh on client-vm

The client-vm

1.Open VNC in OpenNebula 2.Type

sudo -E weston

image

  1. Click on console

Screenshot 2024-11-26 205134

  1. Type
google-chrome-stable --ozone-platform=wayland --no-sandbox

4.Enjoy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published