How to spin up a full ETC node on a Ubuntu server. In this tutorial we are using Ubuntu 18.04 (LTS) x64

Server Requirements:

CPU with 2+ cores
4GB RAM
60GB free storage space to sync mainnet blockchain
1MBps download Internet service.

First, lets update and install some applications.

sudo apt get-update
sudo apt install build-essential
sudo apt install unzip

Next, download the latest release from GitHub.

To find this, go to https://github.com/etclabscore/core-geth/releases

Then copy the URL to the .zip file labeled core-geth-linux-v1.XX.X.zip

The version we are using is 1.12.7, this can change so be sure to check.

We’re now ready to download and unzip Core-Geth. We put it in the root folder for this tutorial, but you can place it anywhere.

cd /root/
wget https://github.com/etclabscore/core-geth/releases/download/v1.12.7/core-geth-linux-v1.12.7.zip
unzip core-geth-linux-v1.12.7.zip
rm -rf core-geth-linux-v1.12.7.zip

Now, before syncing we can create a service file, so that our Ethereum Classic node is always running – even after reboot.

Creating Core-Geth Service for Ubuntu

First, create a service file

sudo nano /etc/systemd/system/geth.service

Add the following, feel free to customize the ExecStart to your liking. We added some simple flags such as maxpeers and cache.

[Unit] 
Description=geth 
[Service] 
Type=simple 
ExecStart=/root/geth --classic --maxpeers 256 --cache 512 
Restart=always
[Install]
WantedBy=default.target

Next, enable and start the service. This will start Core-Geth and start syncing.

sudo systemctl daemon-reload
sudo systemctl enable geth
sudo systemctl start geth

You can get a glimpse into the status with

sudo systemctl status geth

Now we can start interacting with our node.

Type this command to connect via IPC

cd /root/
./geth attach /root/.ethereum/classic/geth.ipc

Enter command:

eth.syncing

You should then see the status of your node. Once you see eth.syncing return false, then you are fully synced!

Fully synced node

Stay tuned for more tutorials for using your new node!

Friendly reminder to check out our Ethereum Classic Pool if you haven’t already!

Comments are closed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
Translate »
>