A Beginner’s Guide to starting with the world of Remote UNIX environments and creating Komodo Blockchains

The following guide is not comprehensive, but is here to provide a starting point to an enthusiastic learner who has the patience and focus to process new things and look around the web for specific resources regarding unknowns. When

If you want to test all the latest Komodo features or create your own infrastructure based on our software, first you will need access to an environment in which you’ll compile and run the Komodo daemon - komodod.

A common environment used is a VPS (virtual private server) or cloud instance, but you can also use on your PC or bare-metal server.

Stage 0: Rent a VPS

There are various server providers. Some of them: Hetzner, DigitalOcean, AWS, Google Cloud Platform(GCP)

Tip

If you’ve never used AWS or GCP - they offer a huge free trial which may be a good starting point for your experiments

Stage 1: Install the OS

Stage 2: Initial OS setup

  • The very first step after OS installation is to setup some basic access/security configuration.
  • You can find a basic guide here: https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-16-04
  • The process of such configuration may be different based on your VPS provider(AWS, GCP) since most of the basic security options are provided from the cloud platform side. But to summarize basic security/access rules:
    1. Don’t login as the root user for general use and disable it since it’s not a safe practice
    2. Use SSH keys for login instead of a password
    3. Enable firewall to limit all unwanted traffic

Stage 3: Linux basics

Stage 4: Compiling the Komodo daemon

  • If you have followed the guide so far, you have just arrived at the most straight forward and simplest part. Now you should know the basics to accessing and using a remote Linux installation and proceed to compile the Komodo daemon (komodod): Installing Komodo on Ubuntu/Debian
  • To test the Independent blockchains(and their features) that can be spawned using Komodo’s technology, you only need to compile the Komodo daemon and there is no need to download Komodo’s Blockchain. i.e., only till executing the command ./zcutil/build.sh -j$(nproc) in the above guide
  • The following guide has the instructions for creating a new blockchain: Creating a new Blockchain using Komodo’s technology
  • The various parameters using which the new blockchain can be customized are explained here: Parameters to customize Blockchains created using Komodo’s technology