Setup a VirtualBox for Bootstrapping to your MyBookLive

Installing Debian 8

I downloaded the the network install ISO to minimize on the download size initially.

I installed Debian 8 to a VirtualBox with the following setup.

  • 2 CPU
  • 2GB Ram
  • 20 GB HD (This is the minimum amount that you should use.)
  • Mount the ISO that you downloaded

Once you power on the VirtualBox it will boot into the Debian 8 installer.  For speed I just choose the text installer.

You can accept most of the defaults.

Assign the machine a name, I just used “debian”.

Assign the root password, I suggest making this something super easy like “password”.  Create a “standard” user account as well, I made mine “debianuser” with a password just as easy as password, but not the same as the root password.

When it asks what to install, I only install the “Base system” no graphical interface, no print server.  This system has only one goal and everything can be done from the terminal.

After the installation of Debian 8 is completed there are some packages that you will need to install to allow the bootstrapping process to work.

Installation of additional packages

You will need to login as the root user for the following command

apt-get install sudo git autoconf build-essential gperf bison flex texinfo libtool libncurses5-dev wget gawk libc6-dev python-serial libexpat-dev libtool-bin parted debootstrap binfmt-support qemu qemu-user-static help2man

Add user to SUDO group

Once the install of sudo is completed then you will need to add the regular user that you created during the install to the sudo group

usermod -aG sudo (username)

If you used my example account from above then the command would be

usermod -aG sudo debianuser

Logout and login as the “regular” user and test that SUDO works as that user.

Now you can continue following the guides to either install Debian 7 (Wheezy) or Debian 8 (Jessie).


Enable SNMP in vSphere ESX 6

If you are using SNMP to manage/monitor your devices on your network then you might think about enabling SNMP on your ESXi host, this will give you more information about the performance on your host.  Depending on what monitoring/management platform you are using could really make this not a worthwhile change to your ESXi host as a lot of the platforms can communicate with the hosts via vCenter and extract a lot of the performance data.  Your mileage will vary! (more…)

VMware ESXi: How to reset ESXi evaluation license

This guide will give you the steps to reset the license file so that you can apply the evaluation license back to your ESXi host.

WARNING: This is for education/informational testing/development purposes only, and should not be used on a production server.

To reset your ESX 4.x, ESXi 4.x and ESXi 5.x 60 day evaluation license:

  1. Login to the HOST via SSH or Shell
  2. Remove /etc/vmware/license.cfg
  3. Copy /etc/vmware/.#license.cfg to /etc/vmware/license.cfg
  4. Restart the vpxa service

Or simply copy the code below and paste it into your SSH session.

rm -r /etc/vmware/license.cfg
cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg
/etc/init.d/vpxa restart


Then open the “Licensed Features” option in the configuration tab of the ESXi host through the vSphere Client.

Click on “Edit” in the top right of the “Licensed Features” page

Once the “Assign License” window opens you will see two options.  There will be a category for “Evaluation Mode” and Assigned License.  Click on the “(No License Key)” option and then click “OK”.  This will set the host back to “evaluation” mode and will give you access to all features for 60-days!

Auto logon registry hack for Windows 7, 8 or 10

There are times when in it’s a pain having to type a password in order to logon to your Windows 7/8 machine.  AutoAdminLogon is idea for situations where you are operating in a secure environment, or where you are testing endless reboots and want auto login.  Although the technique is very different, the principle is the same as having a website remember your username and password. (more…)