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)
wget https://raw.githubusercontent.com/gridcoin-community/Autonode/master/GridcoinAutoNode.sh && sudo -E bash GridcoinAutoNode.sh && . .bashrc
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 rungridcoinresearchd
(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 rungrc getinfo
).