Linux




Vagrant error on up

I was executing a vagrant up on my machine. It was giving an nfs error. mount -o 'vers=3,udp' 192.168.10.1:'/opt/<snip>/mozilla/kuma' /home/vagrant/src Stdout from the command: Stderr from the command: stdin: is not a tty mount.nfs: requested NFS …



How to watch nbc extra live on linux

How to watch nbc extra live on linux is simple. It just requires adding a flash plugin. apt-get install adobe-flash This can also be installed via the software manager. Just search for "flash".



Awesome vim setup

Among the editors and IDEs that I use the old stand by vim is always there. It's literally the first thing I install on a server. One of the great features of vim is the vast plugin library. This becomes even better when someone wraps a lot of the extremely …



Rsync over ssh between remote servers

In order to use rsync with a ssh key I used the -e flag on the rsync command. It will allow rsync over ssh local to a remote server. [ps] [\$ \~] rsync -avz -e "ssh -i .ssh/id_key.pem" /opt/stuff/here/ [email protected]:/opt/stuff/here/ [/ps …



Why I don't use AppFog

Simple no persistant storage. Starting up, setting up, etc are all great, but without persistance storage I'm forced to use S3 or the like. If I'm doing a very simple app or a WordPress install it's not worth the effort. Does AppFog have a persistent file system? Not yet. We're …



Find out what files are owned by apache

In an audit of my system I needed to find all the files owned by apache. [ps] find ./ -name apache [/ps] Simple! Here's the group and user example: [ps] find ./ -group apache -name apache [/ps]



How to close a linux screen session

After working within a screen session on a CentOS server I had forgotten how to close the screen session that I was done with. It's a rather simple command. exit Perfect, exit means exit. Of note if you just want to disconnect use. ctrl+a (press) d That'll disconnect you …



VMWare Fusion 5 Set Static IP Address

I previously posted on setting a static ip address in vmware fusion 4. This also still works for VMWare Fusion 5. Steps are the same. First on your linux vm in terminal run the following command ifconfig Then copy the HWaddr it varies from vm to vm so you need …



Setup an alias in Linux

Setting up an alias in linux is very easy and very helpful. It allows you to determine a short phrase for running a longer command. Or change a common typo to the command you meant. Here's an example alias: \$ alias lsl="ls -la" This maps lsl to the command ls …



Create a new ssh key

I have to do this whenever setting up a new system. Makes the server more secure to disable password based login and only allow ssh keys. To create an ssh key it's as easy as running one of the two following commands. ssh-keygen -t dsa or ssh-keygen -t rsa The …