November 25, 2013

Data Share

Starting this week I am going to start sharing an assortment of links weekly that I have found interesting through the course of my week. These may not be necessarily be new. Also, I won’t be shouting out to anyone in particular but if you or your material end up on this list, thanks in advance! Twitter CLI: t a command line twitter app which is pretty awesome. National Vulnerability Database this has been around for a while and might be old hat for most of you out there, however people newer to system administration will find a wealth of information here, relating to the security of their infrastructure. ... Read more

November 25, 2013

AWS re:Invent recap

So we are about half-way through day 1 of Amazon’s re:Invent and let me be the first to say, so far everything has been great. Registration was amazingly fast, all of the staff have been incredibly polite, and immediately after getting through registration I got my first piece of swag! So it is not all sunshine and rainbows, there is some work to be done. Today I started off with a hands-on lab getting my hands into setting up security profiles with the IAM credential system and then configurring instances of S3, EC2, and EBS. ... Read more

November 25, 2013

Awesome! learnxinyminutes.com

I was poking around the web and found an interesting website that show cases some of the key features of many different programming languages. Presenting… drumroll… learn x in y minutes.

November 25, 2013

Command of the Day, lsof!

How often have you ever moved a file to trash, attempted to empty the trash only to be greeted with an awesome message that states “Cannot delete this file its in use blah blah” nonsense? While lsof can definitely help in these scenarios. I prefer to use it for looking at ports, examples after the break. lsof can… List all open files lsof Find out who is using a file… ... Read more

November 25, 2013

Command of the Day, purge!

This is a common favorite of mine, especially when running VM’s locally. I have noticed with VMware fusion and Parallels there seems to be a delay in freeing up memory. If you you like things that make you happy, you will likely enjoy this: $ purge Open up activity monitor Open a terminal window Issue the purge command Watch your memory usage plummet after issuing the purge command. Profit… Is this still relevant? ... Read more

November 25, 2013

Connecting to OS X VPN on Windows 7 and Later

When setting up windows machine’s for VPN access to OS X server’s builtin VPN service there is some tweaking that I have always found necessary. Add this to your registry: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PolicyAgent] "AssumeUDPEncapsulationContextOnSendRule"=dword:00000002 Open secpol.msc (click start > search for secpol.msc) Local Policies > Security Options Network Security : LAN Manager Auth Level… Set to: Send LM & NTLMv2 - UseNTLMv2… And Network Security : Minimum session security… clients uncheck “Require 128-bit encryption” Restart PC ... Read more

November 25, 2013

Consolidating Snapshots in vSphere when using VDP or AVDP

Let me start by saying this, I can’t stand vSphere Data Protection, however I feel that since it is offered for free, and there is little to no management or maintenance for the virtual appliance, I see no reason in keeping it from my vSphere environment. That being said I still prefer to use Veeam for reliable backups of our virtual infrastructure at least on a weekly basis. So anyway lets get started. ... Read more

November 25, 2013

Ejecting CD-rom on a Mac Pro ESXi Host

So if you are ever in a pinch and need to use a piece of optical media, you can operate the CD-rom door via Command Line when you SSH into your ESXi Mac Pro. For instance: (Enable ssh in the Security Profile of the Configuration tab on the vSphere client. Remember to turn this off after you are done.) $ ssh root@esxi.host.machine # cd /dev/cdroom # ls # eject vmp.*.* That will then eject your tray, leaving you to wondrously explore legacy optical media that no one wants. ... Read more

November 25, 2013

Export and Import SSL Certs from IIS to nginx

While transitioning a website built in .NET there came a time to move the server to something a little more robust… like Linux! The following steps are more for my benefit but they may help in a pinch. To export the SSL certificate from your Windows Server: Run “mmc.exe” from Start->Run menu; Open “File”->“Add/Remove Snap-in”; Click on “Add…” button, select “Certificates” option, click “Add”, select “Computer account”; Next; Finish; Close “Add standalone snap-in”; close “Add/Remove snap-in” by “Ok” button; Open “Personal” folder and find corresponding certificate; Right click on “Certificates”, select “All tasks”->“Export”; On “Certificate export wizard” click Next, select “Yes, export the private key”, select “Personal Information Exchange” format, click Next, enter password, select file, click Finish. ... Read more

November 25, 2013

Failed to connect to VMware Lookup Service

I had a problem logging into the vCenter vSphere web client earlier this week and was greeted with a message stating “Failed to connect to VMware Lookup Service.” More after the jump for the solution. At first I tried this method, which is outlined here, Yellow-bricks Precise error: Failed to connect to VMware Lookup Service. SSL certificate verification failed. I had been playing around in my lab and I am guessing this error was caused by the fact that I changed the hostname of my vCenter Server Appliance after configuring it. ... Read more

© Lars Cromley 2017