gridcoin-community / Autonode

Scripts to automatically deploy a Gridcoin fullnode client.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GridcoinAutoNode

A script that automatically sets up a Gridcoin full node as a daemon (gridcoinresearchd) under a new gridcoin user.

Tested on:

  • Ubuntu Trusty (14.04)
  • Ubuntu Xenial (16.04)
  • Ubuntu Bionic (18.04)
  • Debian Jessie (8)
  • Debian Stretch (9)

One Liner - DO NOT run without reading code first!

wget https://raw.githubusercontent.com/gridcoin-community/Autonode/master/GridcoinAutoNode.sh && sudo -E bash GridcoinAutoNode.sh && . .bashrc

Notes

This script installs:

  • unzip
  • software-properties-common
  • gridcoinresearchd (and dependencies)
  • curl
  • apt-transport-https

This script:

  • Automatically figures out your distro and installs the daemon (gridcoinresearchd) for that specific distro.
  • Creates a gridcoin user to run gridcoinresearchd (safer than running client as root).
  • Downloads snapshot instead of syncing from block 0 (edit script if you don't want it to do this).
  • Starts daemon on script completion.
  • Creates a grc alias (for instance, you can run grc getinfo).

About

Scripts to automatically deploy a Gridcoin fullnode client.

License:MIT License


Languages

Language:Shell 100.0%