Skip to content

Instantly share code, notes, and snippets.

Avatar
🔴
https://youtube.binpipe.org

Prasanjit Singh prasanjit-

🔴
https://youtube.binpipe.org
View GitHub Profile
@prasanjit-
prasanjit- / jenkins-installation.txt
Last active Jun 12, 2021
Essential commands to install Jenkins on EC2 and other activities // Amazon Linux (Refer Demo.1 of DevOps Episodes)
View jenkins-installation.txt
COMMAND SINPPETS (Also follow detailed videos at youtube.binpipe.org)
# Installing Jenkins
.........................................................................
yum update
yum install java-1.8.0-openjdk-devel telnet git -y
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
yum upgrade
yum install jenkins maven -y
yum install docker -y
@prasanjit-
prasanjit- / vtiger_installation.sh
Last active Apr 4, 2021
Install Vtiger 7.1 on CentOS7
View vtiger_installation.sh
#!/bin/bash
#....................................................................#
# Script: Installs LAMP, PhpMyadmin & Vtiger 7.1 on a fresh CentOS-7
# Author: Prasanjit Singh
#....................................................................#
# INSTALL LAMP
cd /tmp/
yum install wget vim telnet systemd -y
yum -y update
View DevOps_Introduction.txt
DevOps represents a change in the IT culture with a complete focus on rapid IT service delivery through the adoption of agile practices in the context of a system-oriented approach.
DevOps is all about the integration of operations and development process. Organizations that have adopted DevOps noticed 22% improvement in software quality and 17 percent improvement in application deployment frequency that results in 22 percent hike in customer satisfaction and 19 percent revenue hikes as a result of the successful DevOps implementation.
What is DevOps?
DevOps word in itself is a combination of two words one is Development and other is Operations. It is neither an application nor a tool; instead, it is just a culture to promote development and Operation process collaboratively. As a result of DevOps implementation, the speed to deliver applications and services has increased.
DevOps enables organizations to serve their customers strongly and better in the market. In other words, we can say that DevOps is the
View files-modified-since.php
<?php
//Php Script to detect the files changed in a project recursively after a certain date
//Put here the directory you want to search for. Put / if you want to search your entire domain
$dir='/path/to/public_html';
//Put the date you want to compare with in the format of: YYYY-mm-dd hh:mm:ss
$comparedatestr="2020-01-21 00:00:00";
$comparedate=strtotime($comparedatestr);
@prasanjit-
prasanjit- / PostMortem_AESEDI-53447.md
Created Jun 6, 2019
Root Cause Analysis for AES EDI | JIRA Issue ( AESEDI-53447)
View PostMortem_AESEDI-53447.md

PostMortem/Root Cause Analysis for AES EDI | JIRA Issue ( AESEDI-53447)

Date

2019-06-07

Authors

Prasanjit Singh Operations Team

Status

@prasanjit-
prasanjit- / ansible_variable_precedence.md
Created Jun 6, 2019 — forked from ekreutz/ansible_variable_precedence.md
Ansible variable precedence (order, hierarchy)
View ansible_variable_precedence.md
View ecs-monitoring-dashboard.sh
export AWS_ACCESS_KEY_ID=xxxxx
export AWS_SECRET_ACCESS_KEY=xxxx
export AWS_REGION=eu-west-1
docker rm -f ecs-monitor
docker run \
--name ecs-monitor \
-d \
-e "AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID" \
-e "AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY" \
View proxmox-private-cloud.md

You've probably heard of terms such as KVM and OpenVZ, but until now, large data center virtualization operations were beyond the reach of most individuals or small organizations. In addition, many individuals and organizations face challenges with data privacy relating to having personal or customer data in a public cloud. A relatively simple and inexpensive solution is to run your own private cloud infrastructure inside your firewall.

Proxmox Virtual Environment (PVE) is based on Kernel-based Virtual Machine (KVM) hypervisor and OpenVZ, a solution for container based virtualization. PVE is easy to install and configure. Using its wizard installation and configuration and web-based management interface and consoles, you can have an easy-to-use virtualization environment in under an hour even if you have little experience in virtualization. PVE is made by Proxmox Server Solutions GmbH is a privately held corporation based in Vienna, Austria.

Once installed and configured, you can choose from a variety of ea

@prasanjit-
prasanjit- / Interview Questions
Created Aug 9, 2018
DevOps Interview Questions
View Interview Questions
# Technical Questions [DevOps|System Administration|Mesosphere|Docker]
1. Have you worked with containers? What is a docker basically?
Docker container is an open source software development platform. Its main benefit is to package applications in “containers,” allowing them to be portable among any system running the Linux operating system (OS).
2. What is orchestration in cloud computing?
In most situations, cloud automation describes a task or function accomplished without human intervention. Cloud orchestration describes the arranging and coordination of automated tasks, ultimately resulting in a consolidated process or workflow. It is simplest to see this in an example.
@prasanjit-
prasanjit- / docker-cleanup-resources.md
Created Jan 25, 2018 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks
View docker-cleanup-resources.md

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm