Moving Pg Database from a Windows machine over to Linux

Note: This tutorial assumes you already have postgres installed and a fresh database with no data setup in there. Some colleagues of mine were tasked with a project to move a database they were maintaining with PGAdmin3 over to a linux box that we built for them. Now me not being a DBA, I wasn’t […]

Locked out of Mysql root account? Regain Control!

DISCLAIMER: THIS POST IS MEANT TO ACCESS A DATABASE THAT BELONGS TO YOU AND IS NOT INTENDED TO BE USED FOR ANY MALICIOUS PURPOSES!! MAKE SURE YOU HAVE PERMISSION BEFORE ATTEMPTING THE BELOW.. Similar situation as my last post.. I need to gain root access into a database we were locked out of and again, […]

ESXI 5.x Commands

Just putting this up here because when shit hits the fan with an esxi host I always find myself scrambling looking for the commands I need…: Restart all services on the Host /sbin/services.sh restart Show config file of vCenter vpxa agent cat /etc/vmware/vpxa/vpxa.cfg Put Host in to Maintenance Mode vim-cmd hostsvc/maintenance_mode_enter vim-cmd vmsvc/getallvms – list […]

Persistant Routes in Centos

Came across this one the other day where a machine was on a new network but still required access to one of our legacy networks at the same time on a different subnet.. I looked for the information on how to do this for a couple hours (specific to what I wanted to do) and […]

Network-Scripts Options Explained (ifcfg-ethX or ensXXX)

Just thought this is a useful reference to have for anyone manually configuring a network interface.. I used to find myself pondering what all the little options actually did.. Heres how mine typically look.. Some of it is fairly obvious and it works but sometimes I just get curious and need to read up… So […]

ftp with one liner command from linux

Hate using the ftp client installed on your nix machine? I do… Heres a one liner using curl that will make life a little more simple. Firstly install curl (if you didnt already) – yum install curl Now do this: curl -T my-local-file.txt ftp://ftp.desthost.com –user username:password and you are all set granted your credentials are […]