Posts

Showing posts from November, 2020

04 - Remote Repository - Bitbucket

  Remote Repository  githup.com bitbucket.com 1. First create an account bitbucket.com 2. Generate private and public key ( In local Centos VM ) ssh-keygen -t rsa cd /root/ .ssh/ id_rsa.pub ** public key id_rsa ** private key  copy public key and go to bitbucket 3. Go to the bucket site Click Settings -> SSH Key --> Label: This is vm1 keys Key: Past public key here 4. Create Repository Click + --> Repository --> Project : devops batch --> Repository name : infra-automation --> Access level -> Private repository 5. Perform Push / Pull in local repository git clone git@bitbucket.org:mali1969/infra-automation.git git remote add origin git@bitbucket.org:mali1969/infra-automation.git git pull origin master git push origin master git remote -v                origin git@bitbucket.org:mali1969/infra-automation.git (fetch)                origin git@bitbucket.org:mali1969/infra-automation.git (push) 6. Create Branching  Branching is an integral part of any version control (V

03 - Local Repository - GIT

GIT What is VCS (Version Control System) : Version Control is a system that documents changes made to a file or a set of files. It allows multiple users to manage multiple revisions of the same unit of information. It is a snapshot of your project over time Git is free and open-source Distributed Version Control Systems (DVCS) which records changes made to the files laying emphasis on  Speed, Data Integrity, Distributed Non-linear (Branching) w orkflows 1 - Download GIT for different OS Redhat/Centos based OS yum install git Debian based OS apt-get install git Windows-based https://git-scm.com/download/win Install and Configure GIT in Centos vagrant ssh sudo su - hostnamectl set-hostname git.unixcloudfusion.in bash vi /etc/hosts 192.168.33.14  git.unixcloudfusion.in yum install git -y      ** download git with dependencies git --version git version 1.8.3.1 git  config --global user.name "Ali M" git config --global user.email "alim@yahoo.com" mkdir infra-automation c

02 - Vagrant

Image
Download the following initial tools for DevOps Labs VirtualBox - www.virtualbox.org Gitscm - git-scm.com/download - Git Bash ( Unix based console in windows ) Vagrant - vagrantup.com/downloads Search vagrant cloud for Market Place https://app.vagrantup.com/boxes/search Vagrant Vagrant is computer software for creating and configuring virtual development environments. It can be seen as wrapper around virtualization software such as VirtualBox, KVM, VMware, and around configuration management software such as Ansible, Chef, Salt or Puppet. Vagrant is simpler way to Virtualizaiton and configuraiton management. Create folder for lab mkdir devlab cd devlab mkdir vm1 mkdir vm2 cd vm1 Initiat vagrant and config new vm vagrant init vi vagrantfile Vagrant.configure("2") do |config| config.vm.box = " bento/centos-7.5 "                             config.vm.hostname = "testVM"                     # *** Define VM box an

01 - Introduction of Devops

Traditional Development Models: Waterfall Requirement Gathering -> Business System Design System Implementation System Testing -> QA / Testing team System Deployment System Maintenance DevOps is short for Development Operations It focuses on collaboration between developers and other parties involved in building, deploying, operating, and maintaining software systems It is about defining a flow from development through full-scale operation of a system It is about Systems Thinking with feedback to earlier stages of a DevOps workflow The emphasis is on automating processes required to release and change the software With a view to rapid, frequent, and reliable releases Agile Agile Software Development is an umbrella term for a set of methods and on the values and principles expressed in the Agile Manifesto Solutions evolve through collaboration between self-organizing, teams utilizing the appropriate practices for their context                 Product Backlog -> Sprint Planning