Skip to content

Script to automatically deploy a Gridcoin fullnode client.

License

Notifications You must be signed in to change notification settings

NeuralMiner/Autonode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 

Repository files navigation

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

Script to automatically deploy a Gridcoin fullnode client.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%