An automated solution for installing Vertcoin node(s) on Single Board Computers and amd64
compatible hardware
NOTE:
The steps provided below produce a “headless” server... meaning we will not be using a GUI to configure Vertcoin or check to see how things are running. In fact, once the server is set up, you will only interact with it using command line calls over SSH
. The idea is to have this full node be simple, low-power, with optimized memory usage and something that “just runs” in your basement, closet, etc.
-
Working
Raspberry Pi 3 B+ | ARM Cortex-A53 1.4GHz | 1GB SRAM | -
Working
Raspberry Pi Zero (W) | Single Core ARMv6 1 Ghz | 433MB RAM | -
Working
Intel NUC | Dual-Core 2.16 GHz Intel Celeron | 8GB DDR3 RAM | -
Working
Rock64 Media Board | Quad-Core ARM Cortex A53 64-Bit CPU | 4GB LPDDR3 RAM | -
Working
Orange Pi One | H3 Quad-core Cortex-A7 1.2 GHz | 512MB RAM | -
Working
lit
&lit-af
- Raspberry Pi | Raspbian Stretch Lite
- Raspberry Pi Zero / Wireless | Raspbian Stretch Lite
- Rock64 Media Board | Debian Stretch Minimal
- Intel NUC | Ubuntu Server 16.04
- Orange Pi One | Armbian Stretch | Getting Started |
login
rootpass
1234
RECOMMENDED:
When you first boot your Raspberry Pi, Rock64 Media Board, Intel NUC, Orange Pi One or amd64
compatible hardware running Debian / Ubuntu ensure that you insert a USB flash drive and...
sudo apt-get update ; sudo apt-get upgrade -y ; sudo apt-get install git -y ; sudo reboot
and ssh
back into your system before running the install-vertnode.sh
script.
git clone https://github.com/e-corp-sam-sepiol/vertnode.git
cd vertnode/
chmod +x install-vertnode.sh
./install-vertnode.sh
- add support for Orange Pi One single board computer
- adjust swap file size based on RAM
- address option of installing p2pool on raspberry pi zero (currently possible, not recommended)
- expand support for x86_64 Debian / Ubuntu virtual machine, add option for USB flash drive
- fix
go
errors when fetchinggo version
- add
md5
hash checksum tovertcoind
andgolang
downloads - force compiling from souce on raspberry pi zero
- add TOR network option
- fix libdb_cxx.so missing directory error when running vertcoin after compiling from source
Vertcoin is a digital currency supported by a peer-to-peer network. In order to run efficiently and effectively, it needs peers run by different people... and the more the better.
Raspberry Pi is an inexpensive computing hardware platform that generates little heat, draws little power, and can run silently 24 hours a day without having to think about it.
Orange Pi One is inexpensive computing hardware that generates little heat, draws little power, and can run silently 24 hours a day without having to think about it.
ROCK64 is a credit card size 4K60P HDR10 Media Board Computer powered by Rockchip RK3328 Quad-Core ARM Cortex A53 64-Bit Processor and support up to 4GB 1600MHz LPDDR3 memory. The Rock64 Media Board is an inexpensive computing hardware platform that generates little heat, draws little power, and can run silently 24 hours a day without having to think about it. The Rock64 Media Board costs a little bit more than the Raspberry Pi 3, but provides better hardware and significantly more memory.
Intel NUC is the next significant step up in computing hardware in comparison to a Raspberry Pi and the Rock64 Media Board. The NUC generates little heat, draws little more power than the Raspberry Pi, with significantly better hardware and can run silently 24 hours a day without having to think about it.
Intel’s Next Unit of Computing (NUC) models are well equipped for light- to medium-duty server use in a home. Much more robust than their ARM-based Raspberry Pi counterparts, Intel’s NUCs will consume more power but be able to handle more computationally intensive tasks. Some NUC models will have room for a 2.5-inch SSD for onboard storage.
The Intel NUC was chosen because of it's entry level hardware, and the wide distribution of hardware with similar capability to the Intel NUC existing in the world today. If you do not have an Intel NUC don't worry, if your CPU supports amd64
architecture, has 2GB or more of RAM
and 16GB+ of hard drive space the steps performed below apply when using Ubuntu 16.04. The headless server edition is recommended, a GUI is not needed to run a Vertcoin Core full node.
Vertcoin’s peer-to-peer network is composed of network "nodes," run mostly by volunteers. Those running vertcoin nodes have a direct and authoritative view of the vertcoin blockchain, with a local copy of all the transactions, independently validated by their own system and can initiate transactions directly on the vertcoin network.
By running a node, you don’t have to rely on any third party to validate a transaction. Moreover, by running a vertcoin node you contribute to the vertcoin network by making it more robust. A full-node client consumes substantial computer resources (e.g., more than 4 GB
of disk, ~1 GB
of RAM
at most) but offers complete autonomy and independent transaction verification.
Running a node, however, requires a permanently connected system with enough resources to process all vertcoin transactions. Vertcoin nodes also transmit and receive vertcoin transactions and blocks, consuming internet bandwidth. If your internet connection is limited, has a low data cap, or is metered (charged by the gigabit), you should probably not run a vertcoin node on it, or run it in a way that limits its bandwidth usage.
Despite these resource requirements, hundreds of volunteers run vertcoin nodes. Some are running on systems as simple as a Raspberry Pi (a $35 USD computer the size of a pack of cards). Many volunteers also run vertcoin nodes on rented servers, usually some variant of Linux. A Virtual Private Server (VPS) or Cloud Computing Server instance can be used to run a vertcoin node. Such servers can be rented for $25 to $50 USD per month from a variety of providers.
- You want to support vertcoin. Running a node makes the network more robust and able to serve more wallets, more users, and more transactions.
- You are building or using applications such as mining that must validate transactions according to vertcoin’s consensus rules.
- You are developing vertcoin software and need to rely on a vertcoin node for programmable (API) access to the network and blockchain.
The idea is to have this full node be simple, low-power, with optimized memory usage and something that “just runs” in your basement, closet, etc.
Download Raspbian Stretch Lite
https://www.raspberrypi.org/downloads/raspbian/
We will utilize the software 'Win32 Disk Imager' to format and install Raspbian on the MicroSD card. Please follow the guide below for details on installing the Rasbian image to the MicroSD card.
If you are using Linux please use Etcher
Once Win32 Disk Imager is finished writing to the MicroSD card please access the 'boot' partition of the MicroSD card with Windows Explorer Win+E
. Create a new empty text file named ssh
like so...
This enables SSH
access on the Raspberry Pi's first boot sequence.
Create another new text file named wpa_supplicant.conf
that will hold the network info...
Edit the file that you just created adjusting for the name of your country code, network name and network password.
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="NETWORK-NAME"
psk="NETWORK-PASSWORD"
}
Please safely remove the USB Card Reader / MicroSD card as to ensure the data is not corrupted.
Insert the MicroSD card that was safely removed into the microSD slot the Raspberry Pi. Once the Pi has booted it will attempt to join the wireless network using the information provided in the wpa_supplicant.conf
file.
- Configuring firewall | Fixed with:
sudo reboot
then re-runinstall_vertnode.sh
RECOMMENDED:
When you first boot your Raspberry Pi ensure that you sudo apt-get update ; sudo apt-get upgrade -y ; sudo reboot
and ssh
back into the Raspberry Pi before running the install-vertnode.sh
script.
This error occurs when sudo apt-get upgrade
installs a new kernel to the Raspberry Pi, it affects iptables
which is a part of the kernel. Updating the kernel requires a reboot.
ERROR: initcaps
[Errno 2] iptables v1.6.0: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.