Skip to content

dominikschopper/fun-with-the-shell

Repository files navigation

Shell Training

View on Github Pages

github.io/fun-with-the-shell

Our Training Presentation

  1. install needed dep.s (momentarily just live-server)
npm install
  1. start the http-server to serve the presentation
npm start

then open in chrome-based(!) browsers

creating docker containers for each trainee

  1. create an AWS instance (currently 4GB RAM, small CPU, use a free version of AWS Linux, which is rpm based) add/choose your ssh key while creating the instance
  2. login (as ec2-user) and install docker
  # sudo yum update # not needed for a freshly installed instance
  sudo yum install docker
  sudo usermod -a -G docker ec2-user
  newgrp docker # get the docker group without logout/login
  sudo systemctl enable docker.service
  sudo systemctl start docker.service
  # test if it worked
  docker info
  1. in a local shell
    copy the container folder into the aws instance
  cd .../fun-with-the-shell/
  scp -r container ec2-user@aws-hostname:
  1. create the image from the dockerfile on the instance
    so grab the shell in the aws container again
  cd container
  docker build -t shell-training .

if an error ocurrs like "... public key not correct ..." while doing the dnf command then delete the almalinux image with docker image rm almalinux

  1. start all instances with the script container/start-containers.sh be sure to check the script has line 6 commented out or nothing will happen
  2. add a rule to alloe incoming access to the ports 2021-2036 under the point security groups

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors