🔧 Installing a Polkadot Node Using Kagome

System Preparation

sudo apt update && sudo apt upgrade -y
sudo apt install -y gpg curl lz4

Check your OS version:

lsb_release -a
# Should return something like: Ubuntu 24.04.1 LTS

Automatic Installation

source <(curl -s https://raw.githubusercontent.com/validexisinfra/polkadot/main/install_kagome.sh)

Manual Installation

Add Kagome Repository

Import the GPG key:

curl -fsSL https://europe-north1-apt.pkg.dev/doc/repo-signing-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/europe-north-1-apt-archive-keyring.gpg

Add the repository source:

Update your package index:

Install Kagome

Create User and Database Directory

Create a dedicated system user:

Create the base path directory:

Create systemd Service

Create the service file:

Paste the following content (replace <your-node-name> and <your-public-ip>):

Enable and Start the Node

Check service status:

Check service logs:

Check Your Node on Polkadot Telemetry

Once your node is running, you can verify that it's connected and visible on the Polkadot telemetry dashboard:

🔗 https://telemetry.polkadot.io/

Look for your node by the name you specified in the --name argument of your kagome.service file.

Last updated