- role defaults
- inventory file or script group vars
- inventory group_vars/all
- playbook group_vars/all
# 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. |
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 |
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 |
#!/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 |
<?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); |
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" \ |
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
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// 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