Home›Forums›User Manuals & Guides›Headless Node Raspberry Pi3
Tagged: blakebitcoin, blakecoin, electron, headless, lithium, node, photon, universal molecule, walk through
This topic contains 6 replies, has 1 voice, and was last updated by Sidgrip 7 years, 2 months ago.
-
AuthorPosts
-
October 18, 2017 at 3:22 am #1154
These are the steps I used to setup a headless node for a Blake256 Coin.
You can just copy/paste this in order to have a working nodeDownload this version of Raspian Jessie
How to install operating system on Raspberry Pi#Configure You Pi
sudo raspi-config
#Update & install Dependencies
sudo apt-get update
sudo apt-get install build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb5.3++-dev libminiupnpc-dev -y
_____________________________________________________________________________________#Setup BlakeCoin Node
#This will take about an hour to finishgit clone https://github.com/BlueDragon747/Blakecoin Blakecoin-master
chmod 755 Blakecoin-master/src/leveldb/build_detect_platform
cd Blakecoin-master/src
sudo make -f makefile.unix
strip blakecoind#Create folder and move executable
mkdir ~/.blakecoin
mv blakecoind ~/.blakecoin
cd ~/.blakecoin#Create Config file
sudo nano blakecoin.conf
—– Copy and paste this into your config file —–maxconnections=180
listen=1
gen=0
rpcallowip=127.0.0.1
rpcallowip=192.168.1.*
rpcuser=user
rpcpassword=pass
rpcport=8772
port=8773
server=1
daemon=1
addnode=104.238.174.160
addnode=45.32.69.42
addnode=104.156.255.123
addnode=104.238.177.36
addnode=146.185.135.24#You can find more nodes by checking the explorer
#Start Node
./blakecoind
#Check Node
./blakecoind getinfo
#Stop Node
./blakecoind stopThis guide was put together with the help of kramble’s Raspberry Pi Install Guide
October 18, 2017 at 3:33 am #1158#Setup Photon Node
#This will take about an hour to finishgit clone https://github.com/photonproject/photon.git
chmod 755 photon/src/leveldb/build_detect_platform
cd photon/src
sudo make -f makefile.unix
strip photond#Create folder and move executable
mkdir ~/.photoncoin
mv photond ~/.photoncoin
cd ~/.photoncoin#Create Config file
sudo nano photon.conf
—– Copy and paste this into your config file —–
maxconnections=180
listen=1
gen=0
rpcallowip=127.0.0.1
rpcuser=user
rpcpassword=pass
rpcallowip=localhost
rpcport=8984
port=35556
gen=0
server=1
daemon=1
addnode=104.238.174.160
addnode=45.32.69.42
addnode=104.156.255.123
addnode=104.238.177.36
addnode=146.185.135.24#You can find more nodes by checking the explorer
#Start Node
./photond
#Check Node
./photond getinfo
#Stop Node
./photond stopOctober 18, 2017 at 3:38 am #1159#Setup BlakeBitcoin Node
#This will take about an hour to finishgit clone https://github.com/BlakeBitcoin/BlakeBitcoin.git
chmod 755 BlakeBitcoin/src/leveldb/build_detect_platform
cd BlakeBitcoin/src
sudo make -f makefile.unix
strip blakebitcoind#Create folder and move executable
mkdir ~/.blakebitcoin
mv blakebitcoind ~/.blakebitcoin
cd ~/.blakebitcoin#Create Config file
sudo nano blakebitcoin.conf
—– Copy and paste this into your config file —–
maxconnections=180
rpctimeout=30
rpcallowip=127.0.0.1
rpcport=1243
rpcuser=user
rpcpassword=pass
port=356
gen=0
server=1
daemon=1
listen=1
addnode=104.238.174.160
addnode=45.32.69.42
addnode=104.156.255.123
addnode=104.238.177.36
addnode=146.185.135.24#You can find more nodes by checking the explorer
#Start Node
./blakebitcoind
#Check Node
./blakebitcoind getinfo
#Stop Node
./blakebitcoind stopOctober 18, 2017 at 3:42 am #1160#Setup Lithium Node
#This will take about an hour to finishgit clone https://github.com/lithiumcoin/lithium.git
chmod 755 lithium/src/leveldb/build_detect_platform
cd lithium/src
sudo make -f makefile.unix
strip lithiumd#Create folder and move executable
mkdir ~/.lithiumcoin
mv lithiumd ~/.lithiumcoin
cd ~/.lithiumcoin#Create Config file
sudo nano lithium.conf
—– Copy and paste this into your config file —–
maxconnections=180
rpcuser=user
rpcpassword=pass
rpcport=12345
rpcallowip=127.0.0.1
port=12007
server=1
daemon=1
listen=1
addnode=104.238.174.160
addnode=45.32.69.42
addnode=104.156.255.123
addnode=104.238.177.36
addnode=146.185.135.24#You can find more nodes by checking the explorer
#Start Node
./lithiumd
#Check Node
./lithiumd getinfo
#Stop Node
./lithiumd stopOctober 18, 2017 at 3:49 am #1162#Setup Universal Molecule Node
#This will take about an hour to finishgit clone https://github.com/BlueDragon747/universalmol.git
chmod 755 universalmol/src/leveldb/build_detect_platform
cd universalmol/src
sudo make -f makefile.unix
strip universalmoleculed#Create folder and move executable
mkdir ~/.universalmolecule
mv universalmoleculed ~/.universalmolecule
cd ~/.universalmolecule#Create Config file
sudo nano universalmolecule.conf
—– Copy and paste this into your config file —–
listen=1
gen=0
maxconnections=180
rpctimeout=30
rpcallowip=127.0.0.1
rpcport=19738
port=18449
rpcuser=user
rpcpassword=pass
server=1
daemon=1
logtimestamps=1
addnode=104.238.174.160
addnode=45.32.69.42
addnode=104.156.255.123
addnode=104.238.177.36
addnode=146.185.135.24#You can find more nodes by checking the explorer
#Start Node
./universalmoleculed
#Check Node
./universalmoleculed getinfo
#Stop Node
./universalmoleculed stopOctober 18, 2017 at 3:52 am #1163#Setup Electron Node
#This will take about an hour to finishgit clone https://github.com/Electron-Coin2014/Electron-ELT.git
chmod 755 Electron-ELT/src/leveldb/build_detect_platform
cd Electron-ELT/src
sudo make -f makefile.unix
strip electrond#Create folder and move executable
mkdir ~/.electron
mv electrond ~/.electron
cd ~/.electron#Create Config file
sudo nano electron.conf
—– Copy and paste this into your config file —–
listen=1
maxconnections=180
rpctimeout=30
rpcallowip=127.0.0.1
rpcport=6852
rpcuser=user
rpcpassword=pass
port=6852
gen=0
keypool=100
server=1
addnode=104.238.174.160
addnode=45.32.69.42
addnode=104.156.255.123
addnode=104.238.177.36
addnode=146.185.135.24#Start Node
./electrond
#Check Node
./electrond getinfo
#Stop Node
./electrond stopOctober 18, 2017 at 4:13 am #1165#Create Script to reboot & auto start node
#You can run two Blake256 nodes on a Raspberry Pi3
#This is an example of what I did to create a reboot script and start script#Create folder
mkdir ~/.scripts
#Create script
sudo nano /scripts/node.sh
—– Copy and paste this into your script file —–
cd ~/.blakecoin
./blakecoind#exit and save
chmod +x /home/pi/scripts/node.sh
#Create script
sudo nano /scripts/restart.sh
—– Copy and paste this into your script file —–
cd ~/.blakecoin
./blakecoind stop
sudo shutdown -r 1#exit and save
chmod +x /home/pi/scripts/restart.sh
# Now we need to edit the crontab (do not use sudo)
crontab -e
#Go to end of file and paste
@midnight /home/pi/scripts/restart.sh
@reboot /home/pi/scripts/nodes.sh#exit & Save
#Now your Pi will reboot at midnight and start the node on it’s own
-
AuthorPosts
You must be logged in to reply to this topic.