This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''''''''''''''''''''''''''''' | |
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''''''''''''''''''''''''''''' | |
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''''''''''''''''''''''''''''''''' | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''''''''''''''''''''''''''''''''' | |
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##-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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##-Monitoring-# | |
~ Cadvisor for Docker | |
sudo docker run \ | |
--volume=/:/rootfs:ro \ | |
--volume=/var/run:/var/run:rw \ | |
--volume=/sys:/sys:ro \ | |
--volume=/var/lib/docker/:/var/lib/docker:ro \ | |
--publish=18888:8080 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::PUPPET:: | |
- Key Puppet components | |
Agent | |
Description A daemon process running on a node that collects information about the node and sends it to the Puppet master. | |
Catalog | |
Description Compilation of facts that specifies how to configure the node. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::CHEF:: | |
-Workstation: | |
Chef comprises of a workstation which is configured to develop the recipes and cookbooks. | |
It is also configured to run the knife and synchronizes with the chef-repo to keep it up-to-date. | |
-Server: | |
Chef server stores recipes/cookbooks and assigns on to the nodes depending on their requirements. | |
-Nodes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: 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 \ |