Forum Replies Created
-
AuthorPosts
-
#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
#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 stop#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 stop#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 stop#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 stop#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 stop -
AuthorPosts