How to install altcoin full node and CLI wallet on VPS

in #bitcoin5 years ago (edited)

If you want to run a full node or CLI wallet for an altcoin, you may decide to use a Linux VPS. Most standard VPS come with RAM between 512 MB - 2 GB and storage between 10-40 GB. This is enough for an altcoin with a small blockchain - for other coins or for Bitcoin, you may want to run your node on local hardware or on a specialized storage VPS.

This guide will teach you how to install an altcoin full node on a standard Ubuntu/Debian VPS. Remember to replace "ExampleCoin" with the name of your altcoin.

# Visit the altcoin's github page and download the .zip
wget https://github.com/ExampleCoin/ExampleCoin-v1.0.0/archive/master.zip

# Unpack the zip
7z x master.zip

# Go into directory
cd ExampleCoin-v1.0.0-master

# Install dependencies
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb-dev libdb++-dev

# If you need specifically BerkeleyDB 4.8 and you use Ubuntu, uncomment and run the next commands
# sudo apt-get install software-properties-common
# sudo add-apt-repository ppa:bitcoin/bitcoin
# sudo apt-get update
# sudo apt-get install libdb4.8-dev libdb4.8++-dev

# Compile step 1: Autogen.sh
./autogen.sh

# Compile step 2: Configure with flags suitable for low RAM VPS
# If there is an error, you may need to install extra dependencies
./configure CXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768"

# Compile step 3: Make (may take 10+ minutes)
make

# Compile step 4: Make install
make install

# Run examplecoind (daemon)
./examplecoind --daemon

# Run examplecoin CLI (wallet)
./examplecoin-cli --help

Now you are ready to run your altcoin full node and use your CLI wallet.

Note: It is generally not secure to store a large amount of funds on a VPS. If you need to store a large amount of funds, it is better to use an offline cold wallet or hardware wallet. If you want to stake your coins, it is more secure to use a local desktop wallet (if you use Windows, make sure to also use anti-virus software).

If you need a VPS, check out https://lavavps.lt for affordable Linux VPS with root access, unlimited bandwidth and 1 static IPv4 address from $2/month and pay with Bitcoin or altcoins. If you are interested in a specialized storage VPS and want to pay with Bitcoin, check out https://thebigcoin.io/ which allows you to pay many Paypal, credit card or bank transfer invoices with Bitcoin.


If you found this guide useful, feel free to send a contribution to 1CaLCR5mGwS4FJzU1HZm9qwr5WoRYFDdyB (BTC).


This article was written by Web4Crypto. Web4Crypto offers web development, web design, programming and scripting services from $40 and accepts Bitcoin, Monero, Ethereum and other cryptos. Visit https://web4crypto.xyz for more information and a free consultation.

Sort:  

Hello @retprogramisto! This is a friendly reminder that you have 3000 Partiko Points unclaimed in your Partiko account!

Partiko is a fast and beautiful mobile app for Steem, and it’s the most popular Steem mobile app out there! Download Partiko using the link below and login using SteemConnect to claim your 3000 Partiko points! You can easily convert them into Steem token!

https://partiko.app/referral/partiko

Congratulations @retprogramisto! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

Click here to view your Board

Do not miss the last post from @steemitboard:

Carnival Challenge - Collect badge and win 5 STEEM
Vote for @Steemitboard as a witness and get one more award and increased upvotes!

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 65248.25
ETH 3471.40
USDT 1.00
SBD 2.51