In the given Ethereum virtual machine VM ware image, the required/supporting software was
installed.
Step 1: Open the terminal and create a test folder
        $mkdir eth-test
Step 2: Go the newly created folder
        $cd eth-test
Step 3: Create user accounts using geth command
        $geth account new --datadir ~/node_1
        Running of this command will ask you to enter a password. This password
(passphrase) is must to remember.
        Once the password is entered an user account will be created by generating a hash
address as follows
        Address: {3c3be55cab52db2021201d8b5f00de54ad226364}
Step 4: Create another user using geth command
        $geth account new --datadir ~/node_2
        Further steps after this command are similar to Step 3.
Step 5: Since any peer in the Blockchain network creates blocks based on Genesis block,
let us create a genesis block for newly created nodes 1 and 2. To do this move to the
folder node_1 first
        $cd node_1
        and create a json file with the name customGenesis.json
Step 6: Copy the following content into the newly created customGenesis.json file
    {
                "config": {
                   "chainId": 12102018,
                   "homesteadBlock": 0,
                "eip155Block": 0,
                "eip158Block": 0
                },
            "difficulty": "0x20000",
            "gasLimit": "0x2fefd8",
            "alloc": {},
            "nonce": "0x0000000000000042",
            "timestamp": "0x0",
            "parentHash":
"0x0000000000000000000000000000000000000000000000000000000000000000",
            "extraData": "",
            "mixhash":
"0x0000000000000000000000000000000000000000000000000000000000000000",
            "coinbase": "0x0000000000000000000000000000000000000000"
Step 7: Now come out of the node_1 and intialize the genesis block
         $cd ..
         $geth --datadir ./node_1 init ./node_1/customGenesis.json
Step 8: Repeat the step 5 to 7 for node_2 also
Step 9: geth --datadir ~/Node_1 --maxpeers 95 --networkid 13 --nodiscover --rpc
--rpccorsdomain "*" --port 30301 --rpcport 8544 --
rpcapi="txpool,db,eth,net,web3,personal,admin,miner"
geth --datadir ./node_1 --networkid 12102018 --port 30301 console 2>> myEth2.log
    1   truffle -version
    2   truffle version
    3   ls
    4   cd /home/ubuntu/
    5   ls
    6   pwd
    7   cd
    8   pwd
    9   mkdir CourseraDocs
  10    cd CourseraDocs/
  11    ls
  12    clear
  13    pwd
  14    ls
  15    cd
  16    pwd
  17    ls
  18    cd CourseraDocs/
  19    ls
  20    sudo gedit /usr/share/applications/google-chrome.desktop
  21    cd ~/.local/share/applications/
  22    ls
  23   ifconfig
  24   ipconfig vboxeth0
  25   ifconfig vboxeth0
  26   ifconfig
  27   ipconfig
  28   ifconfig
  29   ifconfig vboxeth0
  30   ifconfig
  31   ifconfig
  32   ls
  33   pwd
  34   cd test
  35   pwd
  36   geth
  37   geth
  38   geth console
  39   mkdir test
  40   cd test
  41   gedit test.txt
  42   geth console
  43   geth account new
   44 geth --bootnodes
"enode://39f0511f03a5c5007d80cf3731ffc72fe6acba6b@192.168.56.1:8080"
  45   geth
  46   geth console
  47   get account remove
  48   geth account remove
  49   which geth
  50   geth --networkid="12345" console
  51   cd eth-test/
  52   geth --datadir ./node_1 console
  53   exit
  54   cd eth-test/
   55 geth --datadir ~/Node_1 --maxpeers 95 --networkid 13 --nodiscover --rpc
--rpccorsdomain "*" --port 30301
   56 geth --datadir ./node_2 --maxpeers 95 --networkid 13 --nodiscover --rpc
--rpccorsdomain "*" --port 30302 console
   57 geth --datadir ./node_2 --maxpeers 95 --networkid 13 --nodiscover --rpc
--rpccorsdomain "*" --port 30302 --rpcport 8545 --
rpcapi="txpool,db,eth,net,web3,personal,admin,miner" console
  58   mkdir eth-test
  59   cd eth-test
  60   geth account new --datadir ~/node_1
  61   ls
  62   geth account new --datadir ./node_1
  63   geth account new --datadir ./node_2
  64   geth init customGenesis.json --datadir ./node_1
  65   cd node_1
  66   ls
  67   geth init customGenesis.json
  68   cd ..
  69   geth --datadir ./node_1 init ./customGenesis.json
  70   geth --datadir ./node_1 init ./node_1/customGenesis.json
  71   geth --datadir ./node_2 init ./node_2/customGenesis.json
   72 geth --datadir ~/Node_1 --maxpeers 95 --networkid 13 --nodiscover --rpc
--rpccorsdomain "*" --port 30301
   73 geth --datadir ./node_1 --maxpeers 95 --networkid 13 --nodiscover --rpc
--rpccorsdomain "*" --port 30301
   74 geth --datadir ./node_1 --maxpeers 95 --networkid 13 --nodiscover --rpc
--rpccorsdomain "*" --port 30301 console
   75 geth --datadir ~/Node_1 --maxpeers 95 --networkid 13 --nodiscover --rpc
--rpccorsdomain "*" --port 30301 --rpcport 8544 --
rpcapi="txpool,db,eth,net,web3,personal,admin,miner"
  76   cd eth-test/
  77   geth --datadir ./node_1 console
  78   geth --datadir ./node_1 --networkid 12102018 --port 30301 console 2>> myEth2.log
  79   geth attach http://127.0.0.1:8544
  80   exit
  81   cd eth-test/
  82   geth --datadir ./node_2 console
   83 geth --datadir ./node_1 --maxpeers 95 --networkid 12102018 --nodiscover --rpc
--rpccorsdomain "*" --port 30301 --rpcport 8544 --
rpcapi="txpool,db,eth,net,web3,personal,admin,miner"
   84 geth --datadir ./node_1 --maxpeers 95 --networkid 12102018 --nodiscover --rpc
--rpccorsdomain "*" --port 30301 --rpcport 8544 --
rpcapi="txpool,db,eth,net,web3,personal,admin,miner" console
  85   cd eth-test/
   86 geth --datadir ./node_2 --maxpeers 95 --networkid 12102018 --nodiscover --rpc
--rpccorsdomain "*" --port 30302 --rpcport 8545 --
rpcapi="txpool,db,eth,net,web3,personal,admin,miner"
  87   cd eth-test/
  88   eth --datadir ./node_2 --networkid 12102018 console
  89   geth --datadir ./node_2 --networkid 12102018 console
  90   geth --datadir ./node_2 --networkid 12102018 --rpc --port 30304 console
  91   cd eth-test/
  92   geth account list
  93   geth --datadir ./node_1 --networkid 12102018 console
  94   cd eth-test/
  95   geth new account --datadir ./node_1
  96   geth account new --datadir ./node_1
97    geth account new --datadir ./node_2
98    geth init customGenesis.json --datadir ./node_1
99    geth init customGenesis.json --datadir ./node_2
100   geth --datadir ./node_1 --networkid 12102018 --rpc --port 30303 console
101   geth --datadir ./node_1 --networkid 12102018 --rpport 30303 --tcpport 8544 console
102   geth --datadir ./node_1 --networkid 12102018 --rpport 8544 --port 30303 console
103   geth --datadir ./node_1 --networkid 12102018 --rpcport 8544 --port 30303   console
104   history
105   history >> history.txt