이더리움
geth 설치 이더리움노드
iesay
2018. 11. 29. 16:26
#!/bin/bash
sudo apt-get install git -y
git clone https://github.com/ethereum/go-ethereum
sudo apt-get install -y build-essential
sudo apt-get install curl -y
curl -O https://dl.google.com/go/go1.9.7.linux-amd64.tar.gz
tar -xzf go1.9.7.linux-amd64.tar.gz
sudo mv go /usr/local
echo 'GOPATH="/usr/local/go"' >> ~/.profile
echo 'PATH="$PATH:$GOPATH/bin"' >> ~/.profile
source .profile
cd ~/go-ethereum/
make geth
cd ~/go-ethereum/build/bin
sudo mv geth /usr/bin/