Blockchain Enthusiast (qq:53016353)
GitHub Code Address: Setuponubuntu
The OBC and Hyperledger/fabric project procedures for deploying blockchain are complex, first start vagrant download a VirtualBox image, then install Docker in the box and compile the project via Docker.
This can cause two problems:
1, because the project needs to download a lot of outside dependence, the domestic wall slightly high, deployment difficulties
2, using VirtualBox cannot be deployed directly on IASs provider such as Alibaba Cloud.
In order to solve the above two problems, I translated the official deployment to the deployment on Ubuntu, the code is as follows:
#! /bin/bash
# Development on Ubuntu are done with the native OS, not in Vagrant. This script can
# used to set-on Ubuntu, similar to devenv/setup.sh which does the
# Same for Vagrant.
# See
#
if [Xroot! = x$ (WhoAmI)]
Then
echo "You must run as root (Hint:sudo su)"
Exit
Fi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.