Installation Guide: Geth for ELH Network on Ubuntu 18.04
Step 1: Update the System
Open a terminal and run the following commands:
sudo apt update
sudo apt upgrade
Step 2: Download Geth
Run the following command to download the Geth binary:
wget https://github.com/elhereum/go-elh/releases/download/20230510074113/geth-ubuntu18
chmod +x geth-ubuntu18
Step 3: Run Geth
Run the following command to start Geth:
screen -S node ./geth-ubuntu18 --maxpeers 500 --http.addr 0.0.0.0 --http --syncmode "full" --snapshot=false --http.api "personal,eth,net,web3,personal,admin,miner,txpool,debug" --ethstats $HOSTNAME:[email protected]:3000 console
Step 4: Save the Command
If you want to save the command for future use, create a file named start.sh
and paste the command into it:
echo 'screen -S node ./geth-ubuntu18 --maxpeers 500 --http.addr 0.0.0.0 --http --syncmode "full" --snapshot=false --http.api "personal,eth,net,web3,personal,admin,miner,txpool,debug" --ethstats $HOSTNAME:[email protected]:3000 console' > start.sh
chmod +x start.sh
Step 5: Run Geth using the Script
Run the following command to start Geth using the start.sh
script:
./start.sh
Step 6: Congratulations!
You have successfully installed and launched Geth for the ELH network on Ubuntu 18.04.