Web3 P1
Web3 P1
PRACTICAL 1
Aim: Install and understand Docker container, Node.js, Java and Hyperledger Fabric,
Ethereum and perform necessary software installation on local machine/create instance on
Cloud to run.
Background Information:
Installation steps:
1. Download Docker: Go to the Docker website and download the appropriate Docker
installer for your operating system. Or download docker from here,
https://www.docker.com/products/docker-desktop/
2. Install Docker: Follow the on-screen instructions to install Docker
3. Verify installation: Open a terminal window and run the following command:
4. Start the Docker daemon: The Docker daemon is the service that runs Docker containers.
6. Pull a UBUNTU image from docker hub and run the CentOS container.
Make sure the Docker daemon is running.
7. Pull a UBUNTU image from docker hub and run
Command 3:
#docker pull ubuntu
Command 4:
apt-get update && apt-get install -y \
software-properties-common \
curl \
wget \
unzip \
git \
apt-utils \
build-essential \
gcc \
g++ \
make
add-apt-repository ppa:ethereum/Ethereum
apt-get update -y
wget https://go.dev/dl/go1.21.3.linux-amd64.tar.gz
rm go1.21.3.linux-amd64.tar.gz
apt-get install -y \
docker.io \
libtool \
libltdl-dev \
libssl-dev \
autoconf \
automake \
bison \
libboost-all-dev \
libgflags-dev \
libprotobuf-dev \
libleveldb-dev \
libsnappy-dev \
libsodium-dev \
liblz4-tool
service --status-all