3 Comments

  1. Good show Eric and well done!

    I finally got Hyperledger Fabric 2.0 installed on my 18.04, albeit fraught with a number of challenges.

    Please consider updating your script;
    1. To install the latest version of go at any given time.
    2. Should a re-run of the script be carried out, when one runs into errors during installation, on detect ‘mychannel’ already created, script should be able to bypass and continue to the next stage. Just like you skip the installation of ‘go’ when it detects that it’s installed.
    3. Always check and update resolv.conf with ‘nameserver 8.8.8.8’ when it detects that, that line is missing from the resolv.conf file, especially before a ‘curl’ or ‘wget’ activity must be carried out.
    4. The last but not the least, the latest npm version should be installed (optional though).

  2. The script breaks after it performs installations upto go lang. Then it gives errors:

    Versions of software:
    Docker version 19.03.6, build 369ce74a3c
    docker-compose version 1.17.1, build unknown
    5.6.0
    go version go1.13.9 linux/amd64
    package github.com/hyperledger/fabric-samples: no Go files in /home/akawe/go/src/github.com/hyperledger/fabric-samples
    ./install-hyperledger-fabric-2-ubuntu-18.04.sh: line 51: cd: /src/github.com/hyperledger/fabric-samples: No such file or directory

    Can you please correct this error.

Leave a Reply

Your email address will not be published. Required fields are marked *