Giter Site home page Giter Site logo

devops-basics's Introduction

DevOpsTasks

Task 1

  1. Execute vagrant up in task1/ folder
  2. Open localhost:8888 in browser

Task 2

  1. Execute vagrant up in task2/ folder
  2. Execute vagrant ssh centos and vagrant ssh ubuntu in two different terminals

Task 3

  1. Execute vagrant up in task3/ folder
  2. Execute vagrant ssh ubuntu
  3. Execute sudo -i
  4. Execute tail -f /var/log/sysinfo.log

Task 4

  1. Execute vagrant up in task4/ folder
  2. Execute vagrant ssh ubuntu

Useful commands

  • su [adminuser | poweruser]
  • ls -l softlink
  • id
  • whoami
  • cd /home/adminuser - by poweruser

Task 5

  1. Execute vagrant up in task5/ folder
  2. Execute vagrant ssh
  3. Execute touch folder1/file to create file in folder1
  4. Execute ls [folder1 | folder2]

Task 6

  1. Execute vagrant up in task6/ folder
  2. Execute vagrant ssh
  • lsblk
  • pvscan - list of physical disks with it's Volume Group
  • lvscan
  • mount - mounted toms
  • df -h

Task 7

  • R_PORT (Remote Port)
  • L_PORT (Local Port)
  • SERVER

Commands

  • ssh -A -p [R_PORT] [SERVER] - enter to the vm via port
  • ssh -A -D8899 -p [R_PORT] [SERVER] - local port forwarding
  • ssh -R 1[R_PORT]:localhost:[L_PORT] -p [R_PORT] [SERVER] - remote port forwarding
  • bmon - package trafic
  • Open in browser [SERVER without domain]:1[R_PORT] to see localhost content from remote

Links

Task 8

  1. Execute vagrant up in task8/ folder
  2. Execute vagrant ssh
  3. Open the following links:

devops-basics's People

Contributors

mrzhenshen avatar

Watchers

Oleh Skoropad avatar  avatar

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.