Skip to content

bilalahmad99/DevopsWiki

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 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. Git
  4. Bash
  5. Python
  6. Awk
  7. Sed
  8. Perl
  9. C
  10. Javascript
  11. Linux
  12. Automation Guides
  13. Backups
  14. Email Server Configuration
  15. Firewall and Monitoring
  16. Philosophy
  17. Data Structures
  18. Code Editors
  19. Video Tutorials
  20. Continuous Integration
  21. Docker
  22. Devops Interview Questions

Vim

Vim Cheat Sheet

Vim Regular Expressions 101

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

Tmux Shortcuts and Cheat Sheet

Git

Git Quick Start

Git Indepth Tutorial

Back to top

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

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

Linux

Getting Started with Linux

Beginner Guides

Installing a VPN server on Linux

Installing Ruby on Rails on Linux

Installing Gunicorn on Linux

Installing Django on Linux

Troubleshooting Linux Server Memory Usage with PS_MEM

Troubleshooting Network issues with Tcpdump

Advance

How Linux CPU usage is Calculated

Linux System Calls

Linux One Second Boot

Debugging Programs on Linux with Strace

Continously Monitoring Processes on Linux with the Watch command

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

Philosophy

Top Ten Tenets of a System Administrator

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

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