STEPS TO SETUP PYTHON ANACONDA IN CENTOS Date posted: 27/03/2019 Introduction Anaconda is a distribution for both Python and R, very popular among data scientists and machine learning coders. Today, we will see how to set up Anaconda in your CentOS server. This tutorial will helpful in setting up Anaconda… Continue Reading STEPS TO SETUP PYTHON ANACONDA IN CENTOS

Tutorial on how to connect python with MySQldb Date posted: 20/03/2019 Introduction: In this article helps you in connect python with MySQldb and insert queries in DB.  This example is explained based on Linux environment in Centos 7. Prerequisites: For centOS and RHEL based environment: 2. Pip installation is most… Continue Reading Tutorial on how to connect python with MySQldb

Convert XML to Json format and store in Database using Python Date posted:23 /11 / 2018 Introduction: In this article, it is applicable to convert only a very small Xml file format  in to Json  format. The converted Json format will be inserted in to a  existing database in Mysql. … Continue Reading Convert xml to Json format and store in DB using Python

Using AWS Command Line Interface[AWS-CLI] for accessing S3 bucket. DATE POSTED: 06-10-2018 This was  simple manual solution and temporary way for  automation of  sending all your required  files to a remote backup.Immediate ways  to uploading and downloading the files to S3  become very easy by using AWS -CLI. Thus,here are… Continue Reading Using AWS Command Line Interface[AWS-CLI] for accessing S3 bucket.

Setting up Django and your web server with uWSGI and nginx Date posted: 05-oct-2018   In this article, we will see how to setup a Django web application on Ubuntu 16.04 server. We’ll use UWSGIservice to deploy our webapp along with Nginx. Requirements:- Python 3.6 Django 2.0.7 Nginx 1.10.3 Ubuntu 16.04 Install… Continue Reading Setting up Django and your web server with uWSGI and nginx on Ubuntu

Configure uwsgi with nginx for Django applications Date Posted: 11-05-2018 In this article, we’ll be explaining how to run uwsgi server with nginx for Django applications. Prerequisties:- 1. python2.7 2. nginx 3. pip 4. uwsgi Note: We are configuring this setup on RHEL 7.4. The same can be used for… Continue Reading Configure uwsgi with nginx for Django applications

Introduction: The following script will help you to create a temporary user on the host and delete all the content associated with the user after 3 hours. These scenario will be working incase if a user wants to access the hosts for sometime, troubleshoot issues, verify logs, etc., Replace variable… Continue Reading Create temporary User on Linux Host

Assumption: We have access key and secret key which has a privilege to create snapshot, delete snapshot, list volumes,etc., The script will keep 4 days retention and delete the old backups.   #!/usr/bin/python #Author:Dhanasekaran N #Email:dhanasekaran.n16@gmail.com,support@pheonixsolutions.com #Usage:python create_aws_snapshot.py AWS_TAG_NAME #Version:1.0 #Here come I……. from datetime import datetime, timedelta import datetime… Continue Reading Python Script to take backup of Ec2 Volume with days retention

Introduction Amazon Elastic Block Store (Amazon EBS) snapshots provide a reliable way to back up the data stored on an Amazon EC2 instance’s volumes. Automating snapshot creation helps protect critical data, simplifies disaster recovery, and reduces the effort required for manual backups. This article demonstrates a Python script that creates… Continue Reading Python script to take Amazon volume backup of an instance

Introduction In environments with multiple Memcache servers, it may be necessary to remove the same cache key from all nodes to ensure data consistency. This Python script allows administrators to delete a single Memcache key or multiple Memcache keys across a specified Memcache cluster. Prerequisites Implementation Step 1 Create a… Continue Reading Script to delete Memcache key on cluster