# Arkeo. Node Installation



By [Line 510](https://paragraph.com/@line-510) · 2024-07-15

---

**Dependencies Installation**

    # Install dependencies for building from source
    sudo apt update
    sudo apt install -y curl git jq lz4 build-essential
    
    # Install Go
    sudo rm -rf /usr/local/go
    curl -L https://go.dev/dl/go1.21.6.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
    echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile
    source .bash_profile
    

**Node Installation**

    # Download binary
    cd $HOME
    curl -s https://snapshots-testnet.line510.io/arkeonetwork-testnet/arkeod > arkeod
    chmod +x arkeod
    mkdir -p $HOME/go/bin/
    mv arkeod $HOME/go/bin/
    
    # Set node CLI configuration
    arkeod config chain-id arkeo
    arkeod config keyring-backend test
    arkeod config node tcp://localhost:26657
    
    # Initialize the node
    arkeod init "line510" --chain-id arkeo
    
    # Download genesis and addrbook files
    curl -L https://snapshots-testnet.line510.io/arkeonetwork-testnet/genesis.json > $HOME/.arkeo/config/genesis.json
    curl -L https://snapshots-testnet.line510.io/arkeonetwork-testnet/addrbook.json > $HOME/.arkeo/config/addrbook.json
    
    # Set seeds
    sed -i -e 's|^seeds *=.*|seeds = "20e1000e88125698264454a884812746c2eb4807@seeds.lavenderfive.com:22856"|' $HOME/.arkeo/config/config.toml
    
    # Set minimum gas price
    sed -i -e 's|^minimum-gas-prices *=.*|minimum-gas-prices = "0.01uarkeo"|' $HOME/.arkeo/config/app.toml
    
    # Set pruning
    sed -i \
      -e 's|^pruning *=.*|pruning = "custom"|' \
      -e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \
      -e 's|^pruning-interval *=.*|pruning-interval = "17"|' \
      $HOME/.arkeo/config/app.toml
    
    # Download latest chain data snapshot
    curl "https://snapshots-testnet.line510.io/arkeonetwork-testnet/arkeonetwork-testnet_latest.tar.lz4" | lz4 -dc - | tar -xf - -C "$HOME/.arkeo"
    
    # Create a service
    sudo tee /etc/systemd/system/arkeod.service > /dev/null << EOF
    [Unit]
    Description=Arkeo Network node service
    After=network-online.target
    [Service]
    User=$USER
    ExecStart=$(which arkeod) start
    Restart=on-failure
    RestartSec=10
    LimitNOFILE=65535
    [Install]
    WantedBy=multi-user.target
    EOF
    sudo systemctl daemon-reload
    sudo systemctl enable arkeod.service
    
    # Start the service and check the logs
    sudo systemctl start arkeod.service
    sudo journalctl -u arkeod.service -f --no-hostname -o cat

---

*Originally published on [Line 510](https://paragraph.com/@line-510/arkeo-node-installation)*
