User Tools

Site Tools


classes:lesson_1_-_virtual_lab

Lesson 1 - Virtual Lab

This series of labs was designed to be run using two machines (master & client):

  • master - KVM virtual machine host, nginx reverse web proxy, Gogs Git Server, Saltstack master, Jenkins CI master
    • kvm1 - Saltstack minion, Jenkins CI slave
    • kvm2 - Saltstack minion, nginx web app server
  • client - Your desktop machine with a web browser and SSH client

This could all run on a single machine with enough resources as none of the applications require significant processing or memory. Adding in physical hardware separation would mimic how this might run in a production environment.

Unless otherwise noted, use the following username/password combination anywhere you are prompted for credentials:

Username: waytta
Password: !p@ssw0rd

Install Master KVM Host

On master

apt-get install bridge-utils qemu-kvm libvirt-bin ubuntu-vm-builder virtinst virt-install virt-viewer

Network configuration

  • How-To 1: allow host/guest communications
  • How-To 2: allow host/guest communications

Install KVM Guests

  • kvm1
  • ens3 - 52:54:00:6e:20:ed
  • 192.168.122.56
 command to build vm
  • kvm2
  • eth0 - 52:54:00:8d:e9:83
  • 192.168.122.211
 command to build vm
classes/lesson_1_-_virtual_lab.txt · Last modified: 2016/03/28 09:22 by curry_searle