Skip to content

shaeed-noordeen/eng99_devops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DevOps Intro

Development Env

  • Install vagrant
  • Install Ruby

Linux commands

  • sudo apt-get update -y

creating a virtual machine with Linux Ubuntu 16.04

ubuntu/xenial64

Vagrant.configure("2") do |config|

choose the os/box/distro

config.vm.box = "ubuntu/xenial64" config.vm.network "private_network", ip: "192.168.10.100"

vagrant destroy

vagrant up

vagrant reload

end

  • Who am I uname -a
  • Where am I pwd
  • list dir or all ls or ls -a
  • copy file cp filename destination
  • cut or rename mv filename destination
  • create file touch filename
  • create folder mkdir foldername
  • how to navigate cd foldername retrun step back cd ..
  • deleting file folders rm -rf namefolder

File Permissions

  • Read r, Write w and x

  • how to check permissions ll

  • change permision chmod permision filename

  • find out all processes running top

  • how to kill a process

Automate everything we have done manually

  • provision the steps of updating, upgrading and nginx installation

    vagrant up again

  • redo all the steps

  • install nginx and load it in the browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published