Installing Ubuntu 12.04 on Windows Azure

Ok I’ve done this three times now and am writing this so that I do not have to go through the same pain again. The problem is when you create an Ubuntu VM and then install something through apt-get 9 times out of ten you just corrupted your sudoers file and now you cannot sudo anymore. So follow these instructions and you can get around the problem:

  1. Create Ubuntu VM
  2. Log in via SSH I use Putty
  3. Change the root password using this command: sudo passwd root
    1. Now you can fix anything without needing to get to the Recovery Mode
  4. sudo visudo
  5. Add this line to your sudoers file:
    1. <your username>= (ALL:ALL) ALL
    2. Save file
  6. Now you should be safe from file corruption if not then repeat steps 4 & 5 to fix again.

I will be posting more about this for I just built a CloudBioLinux VM on Azure and will post about that soon.

Blair

Advertisements
Posted in Uncategorized | Leave a comment

lantana

lantana

Image | Posted on by | Leave a comment

How to subvert a secure VPN connection

Ok yes I have not posted in a long while but this is a perfect thing to post. I happen to connect to work through a secure VPN connection that is supposed to turn off your access to “other” local computers. This mainly means that I cannot use my networked printer or get to my server when I am VPN’ed into work. Well I have found an interesting hitch to this I have been running my internal network via IPv6 for a while and I accidentally hit print and it worked. It took a little while for me to realize what had happened. My new HP LaserJet printer which is IPv6 compatible (and has a IPv6 address) was still being talked to by my windows 7 PC via IPv6 while the IPv4 address was fully inaccessible. Whoa major security hole!!! But who said that Cisco would think someone would have moved their local network off of IPv4 yet (I like living on the bleeding edge of technology). Plus I have found that IPv6 is faster than IPv4. All of the cruft of the old tech has been removed plus Google et al through IPv6 is blazingly fast since no one else is using it yet. If you want to try this go get the gogo6 client at www.freenet6.net and see how everyone will be surfing the net next year.

Posted in Uncategorized | Leave a comment

Hello world!

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

Posted in Uncategorized | 1 Comment

Visual Studio 2008 Service Pack 1 Install Issue

 

After installing VS2008 SP1 I started up VS and went to create a new project and what do you know I had no Project templates. In order to fix this just run devenv /installvstemplates and everything is fine again.

Download details: Visual Studio 2008 Service Pack 1

Posted in Uncategorized | Leave a comment

License for my OneNote Addin

I am licensing my OneNote addin under a BSD style license. So go and make it better 🙂
Posted in Computers and Internet | Leave a comment

Updated download site

Posted in Uncategorized | Leave a comment