Created
February 4, 2021 17:43
-
-
Save timlianov/e747a7c1dfc7e8a5e9a81e0a4050b466 to your computer and use it in GitHub Desktop.
simple bash script to build and run go-ethereum on Centos7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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