Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Vinood Katuwa venoodkhatuva12

🎯
Focusing
Block or report user

Report or block venoodkhatuva12

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ruby, gem, rails installtion with rvm
Step 1: Upgrade Packages
# yum update
# yum groupinstall "Development Tools"
Step 2: Installing Recommended Packages
# yum install gcc-c++ patch readline readline-devel zlib zlib-devel
# yum install libyaml-devel libffi-devel openssl-devel make
# yum install bzip2 autoconf automake libtool bison iconv-devel
Step 3: Install RVM ( Ruby Version Manager )
@venoodkhatuva12
venoodkhatuva12 / notes.md
Created Feb 2, 2017 — forked from DavidWittman/notes.md
A Brief Introduction to Fabric
View notes.md

A Brief Introduction to Fabric

Fabric is a deployment management framework written in Python which makes remotely managing multiple servers incredibly easy. If you've ever had to issue a change to a group servers, this should look pretty familiar:

for s in $(cat servers.txt); do ssh $s service httpd graceful; done

Fabric improves on this process by providing a suite of functions to run commands on the servers, as well as a number of other features which just aren't possible in a simple for loop. While a working knowledge of Python is helpful when using Fabric, it certainly isn't necessary. This tutorial will cover the steps necessary to get started with the framework and introduce how it can be used to improve on administering groups of servers.

@venoodkhatuva12
venoodkhatuva12 / aws_usage.py
Created Feb 21, 2017 — forked from Bouke/aws_usage.py
Catch login failures / captcha input
View aws_usage.py
#!/usr/bin/env python
"""
A script to query the Amazon Web Services usage reports programmatically.
Ideally this wouldn't exist, and Amazon would provide an API we can use
instead, but hey - that's life.
Basically takes your AWS account username and password, logs into the
website as you, and grabs the data out. Always gets the 'All Usage Types'
@venoodkhatuva12
venoodkhatuva12 / ansible-aws.md
Created Nov 14, 2017 — forked from diegopacheco/ansible-aws.md
How to Install Ansible on Amazon Linux / CentOS?
View ansible-aws.md
sudo su
yum update
yum install -y git
cd /usr/local/src
yum -y install git python-jinja2 python-paramiko PyYAML make MySQL-python
git clone git://github.com/ansible/ansible.git
cd ansible
git submodule update --init --recursive
make install
@venoodkhatuva12
venoodkhatuva12 / keycloack-install
Created Oct 21, 2019 — forked from mottyc/keycloack-install
Keycloak server installtion script
View keycloack-install
#!/bin/bash
#title :wildfly-install.sh
#description :The script to install Wildfly 10.x
#more :http://sukharevd.net/wildfly-8-installation.html
#author :Dmitriy Sukharev
#date :2016-06-18T02:45-0700
#usage :/bin/bash wildfly-install.sh
#tested-version1 :10.0.0.CR3
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22
#tested-version2 :10.0.0.Final
You can’t perform that action at this time.