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 :: | |
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 |
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
# 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'. |
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
#LBAAS v2 | |
- On Controller & Network Node: | |
yum upgrade | |
yum -y install openstack-neutron-lbaas haproxy | |
- Enable the LoadBalancerPluginv2 inside the /etc/neutron/neutron.conf -- |
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
--- | |
# ^^^ 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. |
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
::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. |
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
''''''''''''''''''''''''''''' | |
DevOps Infra Components | |
''''''''''''''''''''''''''''' | |
Concepts Covered | |
Tasks: | |
- Install Oracle Vbox (Use NAT mode in Networking) HDD-10GB, RAM-1024MB | |
- Install CentOS 7 Minimal / DVD |
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 \ |
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
::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
##-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 \ |
OlderNewer