Skip to content

ashtonpaul/DevopsWiki

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 

Repository files navigation

DevopsWiki

A wiki of Guides, Scripts, Tutorials related to devops

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

Table of Contents

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

Vim

Vim Cheat Sheet

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

Vim Regular Expressions 101

http://vimregex.com/

Tmux

tmux is a "terminal multiplexer", it enables a number of terminals (or windows) to be accessed and controlled from a single terminal. It can be installed via sudo apt-get install tmux

A Quick and Easy Guide to Tmux

http://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/

Tmux Shortcuts and Cheat Sheet

https://gist.github.com/MohamedAlaa/2961058

Bash Guides and Scripts

Useful bash one-liners

https://github.com/stephenturner/oneliners

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/

Python Regex for beginners

https://developers.google.com/edu/python/regular-expressions

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

Sending Email with Python

https://pythonhosted.org/Flask-Mail/

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/

Serving Python with Uwsgi

http://uwsgi-docs.readthedocs.org/en/latest/WSGIquickstart.html

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

Javascript

Quick Getting start with JS

JS Concepts ( Closures, Falsy, Functions, Immutable, Loops, Scope, Ternary, Truthy, Arrays)

[Making API calls with ngResource] (https://docs.angularjs.org/api/ngResource)

Using UI-Router for Client side routing

Token Based Authentication with Satellizer

21 Javascript Answers on Quora Every Developer Must Read

Visualizing data with D3.js

Websockets with Socket.io

JS indepth Tutorial and Guide

Server side JS with Nodejs

Cross Platform Desktop apps with Electron

End to End Testing with Protractor

JS resources

Linux Server Visualization using Websockets and Google style Gauges

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

Configure, build, repeat. – using the 3bot platform.

Der maschinelle Kollege, an article about using 3bot in German.

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

How Linux CPU usage is Calculated

Debugging Programs on Linux with Strace

Continous Monitoring with the Watch command

Troubleshooting Network issues with Tcpdump

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

Deploying Code at Netflix

[Travis-CI Tutorial] (https://docs.travis-ci.com/user/languages/python)

Jenkins Tutorial

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

About

A wiki of Devops Tools, Tutorials and Scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published