Installing autofs mount Centos 7

Sometimes it is better to have a share automount when a program tries to access a share if the server is rebooted after mounting it can cause lockup issues and even slow boot. autofs will always make sure your samba and NFS mounts are working. It's pretty slick. Installing autofs:…

Using Apache as a proxy/reverse proxy

We ran into an issue at work recently, we needed to add SSL certificates to a service that did not allow it. Using httpd we were able to set it up quickly, and reliably. These steps are for Centos 7, as that is what I use in production. $ sudo yum…

Sending popup notifications to Gnome

Sometimes I like my scripts to notify me when a long running process is done running in a terminal. Since I use a Linux desktop everywhere, I found this. notify-send ["<title>"] "<body>" this nifty line takes care of that in one go.…

Finding your largest tables on MySQL

Handling large Mysql databases day in and day out, sometimes you just want a one liner to point out that table you forgot to set a trim job on, or where all that disk space is going. It's nice because it shows a nice table view of your data, row…

Password free SSH in 3 steps

Sometimes you need to run a script, that needs to authenticate on another box. Adding your SSH Key to the other box is both quick, and easy. Run the sshkeygen command to generate a key, if you havent already: justin@local-host$ ssh-keygen Generating public/private rsa key pair. Enter file…