Python 3.6 Migration and Development Techniques
Upgrading Python from 2.7 to 3.6
Legacy virtual machines often default to Python 2.7. Verify the current installation:
which python
ls -lah /usr/bin/python
Install Python 3.6:
yum install epel-release
yum install python36
cd /usr/bin/
rm python
ln -s python3.6 python
python --version
After installation, Python 3.6 will be available at /usr/bi ...
Posted on Mon, 22 Jun 2026 16:29:24 +0000 by tskweb
Ansible Automation Setup and Usage Guide
Ansible is a Python-based automation tool that enables parallel execution of tasks across remote systems without requiring agents on managed nodes. Communication occurs over SSH, and no additional servcies need to be running on either control or managed nodes.
Prerequisites
Generate SSH Key Pair
Clear the known_hosts file to avoid host key conf ...
Posted on Sun, 31 May 2026 19:35:32 +0000 by ndjustin20
Automating SSH Key Deployment and Ansible Fundamentals
Generating SSH Key Pairs
Initialize secure authentication by creating an RSA key pair on the management node. The following command generates the keys without a passphrase for automation purposes.
ssh-keygen -t rsa -b 2048 -f ~/.ssh/id_rsa -N ""
Non-Interactive Authentication Setup
To facilitate scripted connections where manual pass ...
Posted on Sat, 16 May 2026 22:51:34 +0000 by inversesoft123
Deploying Flask Applications with CI/CD and Secure Webhooks
To create a virtual environment using Python’s built-in venv:
python3 -m venv venv
source venv/bin/activate
Once activated, install Flask:
pip install Flask
A minimal Flask application can be defined in app.py:
from flask import Flask
app = Flask(__name__)
@app.route('/')
def home():
return '<p>Hello, World!</p>'
if __nam ...
Posted on Wed, 13 May 2026 08:15:43 +0000 by rn14