Apache deep dive

Apache Hypertext Transfer Protocol Server (httpd) Apache: Open Source cross-platform web server software Services 57% of all active websites Name comes from respect for apache Native American tribe(A PATCH SERVER) http://httpd.apache.org/ https://en.wikipedia.org/wiki/List_of_Apache_modules https://httpd.apache.org/docs/2.4/mod/ Background Most of the functionality of the Apache web server is provided by modules. A module can be either: static, meaning that … Continue reading Apache deep dive

Boot procedure

The stages involved in Linux Booting Process are: BIOS/uefi boot Boot Loader - MBR - GRUB Kernel Init Runlevel scripts BIOS This is the first thing which loads once you power on your machine. When you press the power button of the machine, CPU looks out into ROM for further instruction. The ROM contains JUMP … Continue reading Boot procedure

Linux Kernel Fundamentals

What is a the Linux kernel? The kernel is a program, Often with a name vmlinuz-<version>(vmlinuz-3.10.0-514.26.2.el7.x86_64), and that program needs to loaded into memory and run and that operation is a boot loader. With Linux we often have a boot-loader called grub, so grub reads the kernel file from disk into memory and transfer control … Continue reading Linux Kernel Fundamentals

Continuous Delivery Using Docker And Ansible

Continuous Delivery Release Often Release Faster Great Reliable Continuous Delivery workflow/pipeline With which we can Test,Build,Release,& Deploy a simple application. Application will be of any technology ex:python based. The work flow will be Based upon using docker & docker-compose which is a emerging technology. With a goal to release our application as docker image. So … Continue reading Continuous Delivery Using Docker And Ansible

AWS Certified DevOps Engineer – Professional Level Objectives(samples)

1) ___ is an alternative to a rolling deployment and it ensure that changes which require replacing instances are applied correctly and efficiently. Immutable environments Explanation Immutable is an alternative to a rolling deployment and it ensures that changes which require replacing instances are applied correctly and efficiently. For example, you create a separate environment … Continue reading AWS Certified DevOps Engineer – Professional Level Objectives(samples)

How to make hostname permanent on google cloud engine (GCE)

syntax: gcloud compute instances add-metadata <instance-name> --zone <instance-zone> --metadata startup-script='#! /bin/bash hostname <hostname>' Open gcloud shell : gcloud compute instances add-metadata cms --zone us-central1-c --metadata startup-script='#! /bin/bash hostname your.hostname.com' Welcome to Cloud Shell! Type "help" to get started. mshaikdevops@rising-artifact-164906:~$ gcloud compute instances add-metadata cms --zone us-central1-c --metadata startup-script='#! /bin/bash hostname cms.puppethub.in' Updated [https://www.googleapis.com/compute/v1/projects/rising-artifact-164906/zones/us-central1-c/instances/cms]. $ sudo … Continue reading How to make hostname permanent on google cloud engine (GCE)

Ansible Tower adding-user & hosts(Inventory)

Creating New User,& modifying admin users Go to settings on top right which is with gear symbol Click on ORGANIZATIONS Select Users tab Select +ADD tab on right side Click on admin user add extra details and then save Check permissions on same window SYSTEM ADMINISTRATORS HAVE ACCESS TO ALL PERMISSIONS Create normal user Create a … Continue reading Ansible Tower adding-user & hosts(Inventory)

Need to know before starting scripting

Scripts •Contain a series of commands •An interpreter executes commands in the script •Anything you can type at the command line, you can put in a script •Great for automating tasks Basic Syntax •#! /bin/bash # Commands •Shebang / HashBang • #! /bin/bash • Informs Linux which command line interpreter to use for the script; … Continue reading Need to know before starting scripting

Few sample scripts

#!/bin/more ============================== SCRIPT NAME: arrayex.sh ============================== #!/bin/bash # simple array list and loop for display SERVERLIST=("websrv01" "websrv02" "websrv03" "websrv04") COUNT=0 for INDEX in ${SERVERLIST[@]}; do echo "Processing Server: ${SERVERLIST[COUNT]}" COUNT="`expr $COUNT + 1`" done ============================== ============================== SCRIPT NAME: checkargs2.sh ============================== #!/bin/bash : ${3?"USAGE: $1 ARGUMENT $2 ARGUMENT $3 ARGUMENT"} echo "I got all three!" ============================== … Continue reading Few sample scripts