Git Product home page Git Product logo

postgresql-lab's Introduction

Laboratório de PostgreSQL

O propósito deste repositório é criar um conjunto de VMs para serem usadas como laboratório de testes e aulas sobre PostgreSQL. Mas ele pode ser facilmente adaptado para outros propósitos.

Para o aluno

Requisitos

Preparação

Faça o download do Vagrantfile e do inventario.yml em um diretório vazio.

Como instanciar o laboratório

Dentro do diretório que contém o Vagrantfile, execute:

  • vagrant up

Como acessar as máquinas virtuais

As três VMs podem ser acessadas do diretório que contém o Vagrantfile com:

  • vagrant ssh pg-a
  • vagrant ssh pg-1
  • vagrant ssh pg-2

Ou, com usuário e senha vagrant:

  • ssh -l vagrant 192.168.56.20
  • ssh -l vagrant 192.168.56.30
  • ssh -l vagrant 192.168.56.40

Para o instrutor

Requisitos

Preparação

Clone este repositório incluindo seus submódulos (git clone --recurse-submodules).

Como atualizar a box

  • packer build packer.box.json

Como atualizar a ova

  • vagrant up
  • vagrant halt
  • VBoxManage export pg-a pg-1 pg-2 --ovf20 -o postgresql-lab.ova
  • vagrant destroy

Como instanciar o laboratório em sala de aula

  • vagrant up --provision-with local

postgresql-lab's People

Contributors

tureba avatar

Stargazers

Jonatas Leon avatar Bryan A. S. avatar  avatar

Watchers

 avatar James Cloos avatar  avatar  avatar

Forkers

4linux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.