Skip to content

Instantly share code, notes, and snippets.

View prasanjit-'s full-sized avatar
🇮🇳

Prasanjit Singh prasanjit-

🇮🇳
View GitHub Profile
@prasanjit-
prasanjit- / Infra_components.txt
Created June 15, 2017 17:45
DevOps - Infra Components
'''''''''''''''''''''''''''''
DevOps Infra Components
'''''''''''''''''''''''''''''
Concepts Covered
Tasks:
- Install Oracle Vbox (Use NAT mode in Networking) HDD-10GB, RAM-1024MB
- Install CentOS 7 Minimal / DVD
::DEVOPS::
'''''''''''''''''''''''''''''
Intro
'''''''''''''''''''''''''''''
Concepts Covered
# DevOps is an IT mindset that encourages communication, collaboration, integration and automation among software developers and IT operations in order to improve the speed and quality of delivering software.
@prasanjit-
prasanjit- / pedantically_commented_playbook.yml
Created June 3, 2017 06:39 — forked from karlehr/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
---
# ^^^ YAML documents must begin with the document separator "---"
#
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
#
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
@prasanjit-
prasanjit- / LBAAS_Openstack.txt
Created May 29, 2017 12:23
Configuring LBAAS in Openstack Ocata on CentOS 7
#LBAAS v2
- On Controller & Network Node:
yum upgrade
yum -y install openstack-neutron-lbaas haproxy
- Enable the LoadBalancerPluginv2 inside the /etc/neutron/neutron.conf --
# The hash sign tells Python to ignore the rest of this line.
# This way, we can write 'comments' that tell us stuff about code,
# but do nothing to the program.
# Print some stuff to the screen, on separate lines.
print(5)
print("hello")
print(2.5)
# Store some values with a name. Let's store '5' with the name 'x'.
@prasanjit-
prasanjit- / Nginx_Config_Example
Created May 9, 2017 08:59
Nginx as a Web Server & Webproxy
:: Nginx ::
NGINX is a free, open-source, high-performance HTTP server and reverse proxy server. NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption.
Installation:
yum install nginx
systemctl start nginx