Skip to content

Instantly share code, notes, and snippets.

@timlianov
Created February 4, 2021 17:43
Show Gist options
  • Save timlianov/e747a7c1dfc7e8a5e9a81e0a4050b466 to your computer and use it in GitHub Desktop.
Save timlianov/e747a7c1dfc7e8a5e9a81e0a4050b466 to your computer and use it in GitHub Desktop.
simple bash script to build and run go-ethereum on Centos7
sudo yum update -y
sudo yum install -y epel-release
sudo yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm
sudo yum install -y git
sudo yum -y install golang
sudo yum -y install gmp-devel
sudo yum groupinstall "Development tools" -y
git clone https://github.com/ethereum/go-ethereum
cd go-ethereum/
make geth
cd build/bin
./geth --rpc --rpccorsdomain '"*"' --rpcvhosts=* --rpcaddr 0.0.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment