Step 4: Depoly miner on NES

Steps to start miner on NES

Here, we will be starting the miner on NES. Steps are as below:

  1. ssh into the NES server using below command in case you have logged out in previous step. Replace <IP-ADDRESS-OF-NES> with ip address of NES server.

    ssh -o StrictHostKeyChecking=no root@<IP-ADDRESS-OF-NES>
  2. Navigate to directory using below command:

    cd /var/0chain/miner/ssd/docker.local/miner1
    docker network create --driver=bridge --subnet=198.18.0.0/15 --gateway=198.18.0.255 testnet0
  3. Run below command to start miner:

    sudo bash ../bin/start.p0miner.sh /var/0chain/miner/ssd /var/0chain/miner/hdd
  4. Verify miner containers running using below command. Ouput should be similar as it is shown in image

    docker ps

Last updated