Ubiq: Ubiq Nodes on Raspberry Pi, v2
Nodeward!Use NOOBS or Etcher to install Raspbian Lite on your microSD card.Install your microSD card in the computer, connect your external media, and connect the ethernet cable before booting the system.Power on your Raspberry Pi.When presented with the command line prompt you may begin entering the commands.Type a command & press Enter. If prompted to answer Yes or No, answer Y.After a command / when you are returned to the prompt, you can enter the next command. Punctuation matters!The Node Commands —sudo raspi-configThe configuration tool will open — Set localisation options (timezone,keyboard)/ Change user password. Close the configuration tool to return to command prompt.sudo adduser nodeSet a unique & strong password for user “node”. You can leave the personal information sections blank.sudo usermod -G sudo nodesudo apt-get updatesudo apt-get upgradesudo apt-get dist-upgradesudo apt-get autoremovesudo apt-get install ntpdatesudo apt-get install htopsudo apt-get install supervisorsudo apt-get install gitsudo mkfs.ext4 /dev/sda -L UBIQsudo mkdir /mnt/ssdsudo mount /dev/sda /mnt/ssdsudo nano /boot/config.txtThe boot config file will open. In the open file, below existing text; type —dtoverlay=pi3-disable-btdtoverlay=pi3-disable-wifiCtrl X, then Y to save and closesudo nano /etc/dphys-swapfileThe swap file will open. In the open file, change the following —CONF_SWAPSIZE=100 to instead read CONF_SWAPSIZE=2048Ctrl X, then Y to save and closesudo nano /etc/fstabThe fstab file will open. In the open file, below the existing text, type —/dev/sda /mnt/ssd ext4 defaults 0 0Ctrl X, then Y to save and closesudo touch /etc/supervisor/conf.d/gubiq.confsudo nano /etc/supervisor/conf.d/gubiq.confThe blank gubiq.conf file will open. In the open file, type —[program:gubiq] command=/usr/bin/gubiq --verbosity 3 --rpc --rpcaddr “127.0.0.1” --rpcport “8588” --rpcapi “eth,net,web3” --maxpeers 100 user=node autostart=true autorestart=true stderr_logfile=/var/log/gubiq.err.log stdout_logfile=/var/log/gubiq.out.logCtrl X, then Y to save and closewget https://github.com/ubiq/go-ubiq/releases/download/v2.0.1/gubiq-linux-arm-7sudp cp./gubiq-linux-arm-7 /usr/bin/gubiqsudo chmod +x /usr/bin/gubiqsudo mv /home/node /mnt/ssdsudo ln -s /mnt/ssd/node /homesudo rebootThe Ubiq Network Stats Page Commands —Log in as user “node”.git clone https://github.com/ubiq/ubiq-net-intelligence-api.gitcurl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -sudo apt-get install -y nodejssudo apt-get install -y build-essentialsudo npm install -g pm2cd ubiq-net-intelligence-apinpm installcd /mnt/ssd/node/ubiq-net-intelligence-apisudo nano app.jsonThe app.json file will open. In the open file, edit the following fields between the quotes after the colons. —“INSTANCE_NAME” — Enter the name for your node how you want it to appear on the Ubiq Network Stats page.“CONTACT_DETAILS” — Enter contact details if you would like them to appear on the Ubiq Network Stats page for your node. This will make it easier to alert you of issues or mandatory upgrades.“WS_SECRET” — Contact a Full Noder in Ubiq Discord server for the secret!Ctrl X, then Y to save and closepm2 start app.jsonpm2 startupTerminal will print the following command, and instruct you to re-enter it back into the terminal—sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u node --hp /home/node
Original article was created by: Ubiq at blog.ubiqsmart.comDisclaimer: This article should not be taken as, and is not intended to provide, investment advice. Please conduct your own thorough research before investing in any cryptocurrency or ICO.
Interested in Cryptocurrencies and ICO's?
Follow our telegram channel for daily cryptomarket reports!Join @cointrends
Stay on top of Altcoins and ICO trends.
Subscribe to our free Weekly Cryptomarket report
Delivered once a week, strongly to your inbox.Subscribe to our mailing list
January 15, 2019
Augmentum is a Ubiq community funded incentive program which encourages and assist fair launch, non-ICO token teams in swapping their token to the Ubiq network, allowing them to focus on building their application on a stable platform, reducing maintenance cost and developer time in running...From: Ubiq
January 10, 2019
In the command line, type —sudo apt-get install supervisorsudo touch /etc/supervisor/conf.d/gubiq.confsudo nano /etc/supervisor/conf.d/gubiq.confThe blank gubiq.conf file will open. In the open file, type —[program:gubiq] command=/usr/bin/gubiq --verbosity 3 --rpc --rpcaddr “127.0.0.1”...From: Ubiq
January 04, 2019
In approximately two weeks the second block reward drop will take place, reducing the mining reward from 7 UBQ per block to 6 UBQ per block.This is scheduled to happen approximately on 27 January (depending on block times), reducing token inflation from 6% to 4.89% and annual supply increase...From: Ubiq
December 31, 2018
Credit to Tunachum for theImageWelcome to the last Ubiq monthly report of this year. 2018 has seen some exciting progress on the platform with our governance system Escher being rolled out, a hard-fork upgrade changing the hashing algorithm from Ethash to Ubqhash and several other key...From: Ubiq
December 17, 2018
This post is intended to inform as to why it may be of benefit utilizing the Ubiq network for your Blockchain needs. Included also are the directions as to How you would swap your token.Immediate benefits ofSwappingFirst, let us look at the immediate benefit a development team will receive by...From: Ubiq