Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View prasanjit-'s full-sized avatar
🇮🇳

Prasanjit Singh prasanjit-

🇮🇳
View GitHub Profile
##-Ansible Notes-##
1. Install ansible in controller system (Tower)
# yum install ansible -y
2. Enable SSH Key access
# ssh-copy-id root@IP_OF_DESTINATION_NODE
3. Test ansible
ansible all -i 'localhost,' -c local -m ping
'''''''''''''''''''''''''''''''''
Docker Container Management
'''''''''''''''''''''''''''''''''
Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud.
:: Building Images::
#-------#
Examples:
'''''''''''''''''''''''''''''''''
Build & Test Automation Pipeline - (Module 4)
'''''''''''''''''''''''''''''''''
(A) - Simple Java Compilation using Jenkins & Core Compilation Commands
Prerequisites: Jenkins should have git plugin and installed with Java compiler.
yum install java-devel
Repo Reference: https://github.com/prasanjit-/hello-java
'''''''''''''''''''''''''''''
Nginx Deployment & Using Vagrant
'''''''''''''''''''''''''''''
:: 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:
:: Vagrant ::
- Automates VBOX Creation
Steps: (For Vagrant on Windows System)
1. Download and install the most recent VirtualBox for Windows from https://www.virtualbox.org/wiki/Downloads
Start up VirtualBox
'''''''''''''''''''''''''''''
Version Control + Build Management
'''''''''''''''''''''''''''''
GIT
**** create a new repository
create a new directory, open it and perform a
# git init
to create a new git repository.
Prerequisite Concepts -
- Hosts file in Linux :
- Web Server : Apache & Nginx, IIS
:: Steps to deploy a package in Linux:
1. Install it --> # yum install httpd
2. Configure it --> checking the config file
@prasanjit-
prasanjit- / NFS-Server_Client
Created June 18, 2017 03:51
NFS-Server_Client Deployment
:: NFS ::
NFS, stands for Network File System, is a server-client protocol used for sharing files between linux/unix to unix/linux systems. NFS enables you to mount a remote share locally. You can then directly access any of the files on that remote share.
- Test Nodes:
NFS Server Hostname: server1
NFS Server IP Address: 192.168.1.104/24
NFS Client Hostname: server2
NFS Client IP Address: 192.168.1.102/24
@prasanjit-
prasanjit- / Jenkins Installation
Created June 26, 2017 01:56
Jenkins Installation
'''''''''''''''''''''''''''''
Module 3 - Process Automation
'''''''''''''''''''''''''''''
Concepts Covered:::
- Jenkins Deployment & Overview
- Process Automation
Jenkins is an open source automation server written in Java. The project was forked from Hudson after a dispute with Oracle.
@prasanjit-
prasanjit- / Build SVN Server using Docker & Migrate SVN repo as GIT Repo
Created June 27, 2017 01:24
Build SVN Server using Docker & Migrate SVN repo as GIT Repo
:: SUBVERSION Image with frontend ::
3343 - HTTP CSVN Admin Sites
4434 - HTTPS CSVN Admin Sites (If SSL is enabled)
18080 - Apache Http SVN
To run SVN Server execute the command below:
docker run -d -p 3343:3343 -p 4434:4434 -p 18080:18080 \