/DevopsWiki

A wiki of Devops Tools, Tutorials and Scripts

MIT LicenseMIT

DevopsWiki

A wiki of Guides, Scripts, Tutorials related to devops

![Devops tools] (http://i.imgur.com/GFKIa7V.png)

Table of Contents

  1. Vim
  2. Bash Guides and Scripts
  3. Python Guides and Scripts
  4. Awk Guides
  5. Sed
  6. Perl
  7. C
  8. Automation Guides
  9. Git
  10. Troubleshooting
  11. Backups
  12. Email Server Configuration
  13. Firewall and Monitoring
  14. Miscellaneous
  15. Data Structures
  16. Code Editors
  17. Video Tutorials
  18. Continuous Integration
  19. Docker
  20. Devops Interview Questions

##Vim

Vim Cheat Sheet

http://michael.peopleofhonoronly.com/vim/

Vim Regular Expressions 101

http://vimregex.com/

Bash Guides and Scripts

Real time file syncing daemon with inotify tools

https://github.com/Leo-G/backup-bash

http://techarena51.com/index.php/inotify-tools-example/

Creating Init/Systemd Scripts

http://techarena51.com/index.php/how-to-create-an-init-script-on-centos-6/

Building an RPM on CentOS

http://techarena51.com/index.php/build-rpm-without-breaking-head/

Bash Scripting Tutorials for Beginners

http://techarena51.com/index.php/bash-scripting-tutorial-part-2/

http://techarena51.com/index.php/a-beginners-guide-to-bash-scripting/

Bash variable Expansion

http://wiki.bash-hackers.org/syntax/pe

Bash Special Characters explained

http://mywiki.wooledge.org/BashGuide/SpecialCharacters

Bash process substitution

http://redpill-linpro.com/sysadvent/2015/12/12/bash-process-substitution.html

Bash Indepth Tutorial

http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html

Back to top

Python Guides and Scripts

Python 3 String Encoding and Formatting

http://www.diveintopython3.net/strings.html

Python Local and Global Scopes

https://automatetheboringstuff.com/chapter3/

Building system monitoring apps in Python with Flask

http://techarena51.com/index.php/how-to-install-python-3-and-flask-on-linux/

Building a Database driven RESTFUL API in Python 3 with Flask

http://techarena51.com/index.php/buidling-a-database-driven-restful-json-api-in-python-3-with-flask-flask-restful-and-sqlalchemy/

Building Database driven apps with MySQL or PostgreSQL using Python and SQLAlchemy ORM

http://techarena51.com/index.php/flask-sqlalchemy-tutorial/

http://techarena51.com/index.php/flask-sqlalchemy-postgresql-tutorial/

Token based Authentication with Pyjwt

http://techarena51.com/index.php/json-web-token-authentication-with-flask-and-angularjs/

Script to automatically Scaffold a database driven CRUD app in python

https://github.com/Leo-G/Flask-Scaffold

Psutil a cross-platform Python library for retrieving information on running processes and system utilization (CPU, memory, disks, network)

https://pypi.python.org/pypi/psutil

Automating web testing with Selenium

http://techarena51.com/index.php/install-selenium-linux-automate-web-tests/

Flask Github Webhook Handler

http://techarena51.com/index.php/flask-github-webhook-handler/

Flask Web Sockets

http://blog.miguelgrinberg.com/post/easy-websockets-with-flask-and-gevent

Understanding Threading and the Global Interpreter Lock

http://jessenoller.com/blog/2009/02/01/python-threads-and-the-global-interpreter-lock

Packaging and Distributing Python Projects

http://python-packaging-user-guide.readthedocs.org/en/latest/distributing/

Python Indepth Tutorial

https://automatetheboringstuff.com/

Back to top

Awk Guides

An introduction to Awk

http://www.grymoire.com/Unix/Awk.html

Text Processing examples with Awk

http://techarena51.com/index.php/advance-text-processing-examples-awk/

Back to top

Sed

An introduction and Tutorial

http://www.grymoire.com/Unix/Sed.html

Back to top

Perl

Perl Regex CheatSheet

http://www.erudil.com/preqr.pdf

http://www.rexegg.com/regex-quickstart.html

Indepth Tutorial

http://perlmaven.com/perl-tutorial

Back to top

C

File I/O

http://gribblelab.org/CBootcamp/10_Input_and_Output.html

C Programming Boot Camp

http://gribblelab.org/CBootcamp/

Beej's Guide to Network Programming

https://beej.us/guide/bgnet/

Back to top

##Automation Guides

Automating Server Configs with Puppet

http://techarena51.com/index.php/a-simple-way-to-install-and-configure-a-puppet-server-on-linux/

Automating Server Configs with the SaltStack

http://techarena51.com/index.php/getting-started-with-saltstack/

Using Foreman, an Opensource Frontend for Puppet

http://techarena51.com/index.php/using-foreman-opensource-frontend-puppet/

Using StackStorm, an Opensource platform for integration and automation across services and tools.

https://docs.stackstorm.com/overview.html#st2-overview

Back to top

##Git

Git Quick Start

http://rogerdudler.github.io/git-guide/

Git Indepth Tutorial

http://www.vogella.com/tutorials/Git/article.html#gitdefintion_tools1

Back to top

Troubleshooting

Troubleshooting Linux Server Memory Usage

http://techarena51.com/index.php/linux-memory-usage/

Troubleshooting Programs on Linux with Strace

http://www.redpill-linpro.com/sysadvent//2015/12/10/introduction-to-strace.html

Using Watch to continously Monitor a command

http://techarena51.com/index.php/watch-command-linux/

Troubleshooting with Tcpdump

http://techarena51.com/index.php/tcpdump-examples-to-capture-passwords/

Back to top

Backups

BUP Git based Backup

http://techarena51.com/index.php/using-git-backup-website-files-on-linux/

Real time Backup Script written in bash

https://github.com/Leo-G/backup-bash

MySQL incremental Backup with Percona

https://www.percona.com/doc/percona-xtrabackup/2.3/xtrabackup_bin/incremental_backups.html

Back to top

Email Server Configuration

Postfix configuration

http://techarena51.com/index.php/configure-secure-postfix-email-server/

Fail2ban configuration

http://techarena51.com/index.php/confiigure-fail2ban-block-brute-force-ips-scanning-postfix-logs/

Troubleshooting

http://techarena51.com/index.php/postfix-configuration-and-explanation-of-parameters/

Adding DMARC records

http://techarena51.com/index.php/what-is-dmarc-and-how-you-can-add-it/

Back to top

Firewall and Monitoring

Configuring a Firewall for linux with CSF and LFD

http://techarena51.com/index.php/how-to-configure-and-install-config-server-firewall-login-failure-daemon/

Monitoring Linux Servers with Monit

http://techarena51.com/index.php/how-to-install-monit-monitoring-service-on-your-linux-vps-server/

Back to top

Miscellaneous

Linux System Calls

http://www.digilife.be/quickreferences/qrc/linux%20system%20call%20quick%20reference.pdf

Linux one second boot

http://events.linuxfoundation.org/sites/events/files/slides/praesentation.pdf

Installing a VPN server on Linux

http://techarena51.com/index.php/how-to-install-an-opensource-vpn-server-on-linux/

Installing Ruby on Rails on Linux

http://techarena51.com/index.php/how-to-install-ruby-ruby-on-rails-and-phusion-passenger-on-centos/

Installing Gunicorn on Linux

http://techarena51.com/index.php/deploy-flask-on-ubuntu/

Installing Django on Linux

http://techarena51.com/index.php/install-django-1-7-on-linux/

The Twelve-Factor Software-As-A-Service App building methodology

http://12factor.net/

Back to top

Data Structures

Stack vs Heap

http://gribblelab.org/CBootcamp/7_Memory_Stack_vs_Heap.html

Back to top

Code Editors

Vim

http://www.vim.org/about.php

Atom

https://atom.io/docs/v0.196.0/getting-started-why-atom

Brackets

http://brackets.io/

Sublime Text

http://www.sublimetext.com/

GNU Emacs

https://www.gnu.org/software/emacs/

Notepad++

https://notepad-plus-plus.org/

Back to top

Video Tutorials

Sys Admin

http://sysadmincasts.com

Youtube Channel

https://www.youtube.com/channel/UCvA_wgsX6eFAOXI8Rbg_WiQ/feed

Back to top

Continuous Integration

Travis

https://docs.travis-ci.com/user/languages/python

Jenkins

http://www.vogella.com/articles/Jenkins/article.html

Back to top

Docker

Docker

http://blog.flux7.com/topic/docker

Back to top

Devops Interview Questions

https://github.com/Leo-G/DevopsWiki/wiki/Devops-Interview-Questions

Back to top