Cloning VMs in VMware vSphere ESXi without vCenter the right way

Sure, there are many ways to make a copy of an OS or VM and spin it up in another instance. But here is the proper way… with vSphere at least.   I’m assuming you already have basic knowledge of templating and wiping the system’s unique identifiers (sysprep for windows, etc) When  you have a VM crafted in the way that you like, with all the software installed or just simply up-to-date with Windows Updates and of course, past the installation. The proper way to clone a VM in my…

Read More

Fix: VMRC Installation Windows 10 Pro error: failed to install the hcmon driver

I kept getting this error when I was installing the VMWare Remote Console: Failed to install the hcmon driver and then the installer would exit. To get around this, I launched an elevated command prompt and executed the installer through the shell. — Search for cmd in your start menu and right click it. Run as administrator. Accept the UAC prompt and change to the directory that has your VMRC installer.  

This will execute the installer with elevated privileges so you can install the hcmon driver without error.

Read More

Enable root login over SSH in Ubuntu 16.04 LTS

When I spin up a VM in the cloud like Vultr or Digital Ocean, I get root access. On the other hand, in AWS and Azure, I am stuck in a user account. Security and best practices aside, this is an inconsistency from a developer standpoint. I find that I need to log in with root access over SSH to my Ubuntu systems sometimes, and this is disabled in most cases. If you need to log in to root over SSH, here’s how: Edit the file:

Change

to…

Read More

How to git pull and overwrite file conflicts

I use git for version control. One of the biggest conveniences for me is running “git pull” to download the latest commits. But sometimes, the git pull fails because of a file that changed on the server. That’s usually my fault.

So here’s how to go about pulling from git anyways: From the directory you are trying to “git pull”

Your shell will read “Fetching origin” Then execute the git reset command:

You will see something similar to this output: HEAD is now at 76637bf fix truncate…

Read More

Where is the default WWW directory for BitNami LAMP stack?

If you’re like me and don’t really read much when you think you know what you’re doing, you might hit a few road blocks occasionally.   Like when I installed BitNami LAMP stack for the first time; I thought for sure I would put my data in

but to my surprise that directory didn’t exist. Of course, there’s documentation available; but if you’re like me, you also may not be looking at that. So, where do you put your www data? The default directory is

  Old habits die…

Read More

What ports (TCP and UDP) are required for remote access to ESXi with vSphere Client?

I manage a large number of ESXi hosts. These are at remote locations and it’s sometimes extremely difficult for me to gain access to the vSphere console unless we have a site-to-site VPN connection with the client. One of my recent challenges (hah) was remotely accessing and managing an ESXi console via port forwarding. So, even though it’s generally no problem finding information like this, I struggled finding the ports that pertain only to vSphere remote access. The other articles showed me way too much! So here it is! How to…

Read More

Get more apps – enable the SynoCommunity 3rd Party Package Repository for Synology

The package selection Synology offers is pretty extensive. You can add-on anything from Plex Media Server to Apache Web Server or McAfee Anti-Virus for your NAS. But there are some apps we all know and love and Synology simply does not offer. Some of these are not offered because they are unstable, in development, or Synology doesn’t acknowledge some of them as popular enough or ethical, maybe? (Downloading copyrighted media, for instance) Anyways, There’s a great list of packages to install. Opening up your Synology to a whole new world of…

Read More

Save time uploading to Amazon Cloud Drive by enabling concurrent uploads

A lot of people have the Amazon Cloud Drive software running on a home computer. The upload speeds can be pretty mediocre, and by default you’re only uploading one file at a time. But what about servers with higher-throughput internet connections? I installed the software on a cloud server and wanted it to upload data faster… These uploads to Amazon Cloud Drive are generally slow from anywhere, but you can  upload more than one file simultaneously to improve transfer time by an estimated 4x. Honestly I would recommend this so…

Read More

Defragment your Synology BTRFS Volume and improve performance!

In the process of optimizing a Synology DS1815+ for iSCSI, I opted to defragment the volume containing the LUN. This Synology had 2x Samsung 850 Pro SSDs in RAID-0 serving a cache, but the cache will be skipped for sequential I/O. In this scenario, with the sequential I/O turned off, the SSDs would be utilized only for random I/O and therefore the disks would be more available for serving data directly and sequentially. That being said, if the disks are heavily fragmented, they will perform poorly by attempting to piece together…

Read More

Secure your Dropbox – store files and data in an encrypted container [Windows + BitLocker]

We let our Documents sync to the cloud, download themselves on all of our PCs, and trust that no single person besides ourselves can ever see those files, unless otherwise intended. This may be true that “only you” can see what’s in your Dropbox and other cloud storage, but in reality, your cloud storage has so many gateways that it’s easy to accidentally leave one open, such as a shared home computer. Not only that, but your cloud storage provider could see your files if they wanted to. But isn’t…

Read More