Have a Virtual Distributed Environment on Your Laptop

1 minute read

Published:

Why?

When you are trying to deploy the distributed systems such as Hadoop(HDFS, HBase, Zookeeper, Hive etc), or block chain systems (Bitcoind, Ethereum, Hyperledger, EOS etc). It’s very expensive to purchase the cloud infrastructure, and usually at the POC stage, you don’t really need those systems to test the performance, because you only want to see these distributed components talking and working. In this case, you will need to deploy a local “cluster” using the virtual machine technologies. Of course, docker is a good alternative, which we will discuss in a separate blog. FYI, for Pros and Cons of using Docker versus VMs, you can refer to this link:

https://www.backblaze.com/blog/vm-vs-containers/

How?

Let’s take the VMWare fusion + ubuntu for example.

1. Firstly you need to download the software and install on your local machine.

http://old-releases.ubuntu.com/releases/14.04.5/

3. Open vmware fusion and try to add a new image

image: https://github.com/stplaydog/stplaydog.github.io/blob/master/images/vm_1.jpg

4. Drag the image into the box and configure some features of the OS and start installing

image: https://github.com/stplaydog/stplaydog.github.io/blob/master/images/vm_2.jpg

5. After installation and login, you need to install ssh server

sudo apt install openssh-server

6. Now you can login to the “remote” machine and enjoy the server, do this multiple times and you get a “cluster” locally.