Setup Altcoin Node - aanwhs/aanwhs.github.io GitHub Wiki

Make sure your system is up-to-date

sudo apt-get update

sudo apt-get upgrade

Install Required Packages

sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev

sudo apt-get install libboost-all-dev git npm nodejs nodejs-legacy libminiupnpc-dev redis-server

sudo add-apt-repository ppa:bitcoin/bitcoin

Bitcoin

sudo apt-get install bitcoind

Configure

mkdir -p ~/.bitcoin

touch ~/.bitcoin/bitcoin.conf

vim ~/.bitcoin/bitcoin.conf

Example the bitcoin.conf

rpcuser=rpcuserforbitcoin

rpcpassword=rpcpasswordforbitcoin

rpcallowip=127.0.0.1

rpcport=8332

server=1

daemon=1

gen=0

Start bitcoin

bitcoind

Litecoin

git clone https://github.com/litecoin-project/litecoin.git

cd litecoin

sudo ./autogen.sh

sudo ./configure

sudo make

sudo make install

Configure

mkdir -p ~/.litecoin

touch ~/.litecoin/litecoin.conf

vim ~/.litecoin/litecoin.conf

Example the litecoin.conf

rpcuser=rpcuserforlitecoin

rpcpassword=rpcpasswordforlitecoin

rpcallowip=127.0.0.1

rpcport=9332

server=1

daemon=1

gen=0

Start litecoin

cd src

./litecoind

Others

Download the deamon linux wallet file and upload it using SCP/Filezilla.

Extract the tar file using the following command.

tar -xzvf coinname.tar.gz

Install the daemon.

chmod +x coinnamed

sudo mv coinnamed /usr/bin/

Create the config file.

mkdir $HOME/.coinname

vi $HOME/.coinname/coinname.conf

Paste the following lines in steneum.conf.

rpcuser=rpcuserforcoinname

rpcpassword=rpcpasswordforcoinname

rpcallowip=127.0.0.1

rpcport=????

server=1

daemon=1

gen=0

Start your node with the following command.

coinnamed