Devops Tutorials

A list of Guides, Tools, Tutorials and articles related to DevOps and Automation. Articles include Puppet Installation and Configuration and SaltStack Installation and Configuration, See the DevOps Wiki for a complete list

Getting started with Machine learning on Linux with Python 3 and Scikit-learn

Getting started with Machine learning on Linux with Python 3 and Scikit-learnIn this Tutorial I will describe how you can get started with Machine Learning on Linux using Scikit-Learn and Python 3 Introduction What is Machine Learning ? Machine Learning is a way in which a Computing System like your Linux Computer can predict an output by learning from a sample set of Input Data. For... Read More »

Running Asynchronous background Tasks on Linux with Python 3 Flask and Celery

Running Asynchronous background Tasks on Linux with Python 3 Flask and CeleryIn this tutorial I will describe how you can run asynchronous tasks on Linux using Celery an asynchronous task queue manager. While running scripts on Linux some tasks which take time to complete can be done asynchronously. For example a System Update. With Celery you can run such tasks asynchronously in the background and then... Read More »

Installing and Securing Nginx Websites on Linux with a Free SSL/TLS Certificate from Let’s Encrypt

Installing and Securing Nginx Websites on Linux with a Free SSL/TLS Certificate from Let’s EncryptLet’s Encrypt is a free, automated, and open SSL/TLS Certificate authority (CA) that allows you to acquire Free SSL/TLS Certificates for your web server provided your verify your Domain. In this tutorial I will describe how you can download and install a Free Let’s Encrypt SSL/TLS Certificate on Linux for Nginx Pr-requisites An Nginx  Web Server... Read More »

Real Time Linux Server Monitoring with Node.js Socket.io and D3.js

Real Time Linux Server Monitoring with Node.js Socket.io and D3.jsIn this article I will describe how you can visualize the real time Memory and CPU usage of a Linux Server using Socket.io and D3.js gauges. Before we dive into the code, here is a little background on the Technology. Socket.io Socket.io is a javascript library that uses Sockets for fast real time communication. With... Read More »

Continuously deploying your Flask/Python code to your Linux production server with GitHub webhooks

Continuously deploying your Flask/Python code  to your Linux production server with GitHub webhooksIn this article I will describe how you can deploy your Flask or python code in your GitHub Repository to your Linux production server as soon as you have committed a change. What is a GitHub Webhook? GitHub Webhooks allow you to set triggers for specific events like a PUSH to your GitHub repository. When... Read More »

Python PostgreSQL example

Python PostgreSQL exampleIn this post I will describe how you can connect to a  PostgreSQL database  with Psycop2 , SQLAlchemy and Flask. Update: I have written a  python script which lets you create a CRUD app along with validations in Python and PostgreSQL by simply specifying the  database fields, You can download it from https://github.com/Leo-G/Flask-Scaffold. Software versions Python 3.4 PostgreSQL 9.3... Read More »

Launching your Flask web application on Linux with Gunicorn and Nginx

Launching your Flask web application on Linux  with Gunicorn and NginxFlask is a web framework for python, Flask tackles Routing, HTML template rendering, Sessions etc. If you are building web applications on Linux then I highly recommend using Flask, here’s how quickly you can build an app with it on Linux. The inbuilt server with Flask is good for development, but sooner or later you... Read More »

How to install Selenium on Linux and automate your web tests

How to  install Selenium on Linux and automate your web testsSelenium is a web testing toolkit that allows you to test a web application in any browser of your choice. It does this with the help of a software called WebDriver which allows you to emulate a web browser and test your web application in it. In this post I am going to show you... Read More »

Beginners Guide to Installing and Configuring Django on Linux

Beginners Guide to Installing and Configuring Django on LinuxDjango is a web framework for python. It provides you with the basic components that are required to build your website like HTML templates, User Authentication, Web Server etc. In this tutorial I will describe how you can install Django 1.7 on Linux with the latest version of Python and PostgreSQl. Software Versions Linux(CentOS 6.5)... Read More »

Managing Linux server configs with the SaltStack

Managing Linux server configs with the SaltStackI came across Salt while searching for an alternative to Puppet. I like puppet, but I am falling in love with Salt :). This maybe a personal opinion but I found Salt easier to configure and get started with as compared to Puppet. Another reason I like Salt is that it let’s you manage your... Read More »

Page 1 of 3123