Introduction I noticed in Gmail recently they started warning when email messages weren’t encrypted in transit. When I say transit I mean when a message leaves your email server and sends to another mail server / edge server for another
Dealing With Hung NFS Mounts
Introduction I was getting problems with hung NFS mounts on some Red hat boxes. Busy boxes so didn’t want to reboot. Fix The fix was a good one. I forced unmounted the problem mount using: umount -lf found via: http://joelinoff.com/blog/?p=356
Example syntax for Secure Copy (SCP)
Examples Copy the file “foobar.txt” from a remote host to the local host $ scp your_username@remotehost.edu:foobar.txt /some/local/directory Copy the file “foobar.txt” from the local host to a remote host $ scp foobar.txt your_username@remotehost.edu:/some/remote/directory Copy the directory “foo” from the local
Stop Apache Asking for SSL Passphrase after Restart
Introduction After upgrading my sites to SSL/TLS I had an annoying issue where after a reboot, I would have to kill the Apache process and start it again manually because it would fail first time because it did not have
Unable to Browse .local suffix Linux Mint
Introduction Wow what a pain in the arse this was and it didn’t make any sense at first. Short story is .local anything didn’t work even though my domain servers had lookups for .local addresses and there was the domain
Using Egrep to Return Multiple Lines From a List
Introduction When you get verbose output from a system but you want to only see a number of specific lines: Required Command The following is an example from an Isilon node: isi nfs exports list –verbose | egrep “ID|UID|Paths” >
SCP Example Cisco ASA to Linux
Introduction I’m adding this here cause sometimes I’m dense and I forget the command. Command Examples copy running-config scp://dave@myVM/home/dave/running-config-scp Source filename [running-config]? Address or name of remote host [myVM]? Destination username [dave]? Destination filename [home/dave/running-config-scp]? Cryptochecksum: 5b1178ff 4db70c26 45645f8f 7ec33023
Allow Linux Clients to See Directory Usage EMC Isilon
Introduction If you have Linux clients accessing NFS shares on an Isilon Scale out NAS then they may not be able to see the usage of a directory using the “df” command. Fix Now the fix only works on directories
Search and Replace Vim
Introduction Well with my previous post deleting whole lines, I also wanted to delete a whole load of IP addresses which repeat frequently throughout the document and so achieving a clutter free doc. Fix Again in vim, a simple find
Delete all lines containing a pattern Vim
Introduction So I was trying to find a way to remove a whole world of verbose output using excel and not coming up with anything but then found this: http://vim.wikia.com/wiki/Delete_all_lines_containing_a_pattern Fix All I needed to do was upload the file