Qortal Project

The future of blockchain platforms

User Tools

Site Tools


raspberry_pi4

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
raspberry_pi4 [03/14/2021 05:07] lancek99raspberry_pi4 [03/15/2021 01:19] gfactor
Line 1: Line 1:
-====== **RASPBERRY PI SETUP GUIDE** ======+====== Raspberry Pi4 ======
  
 +How to setup your Raspberry Pi4 device: Assemble your computer.
 +The raspberry pi is a small, single board computer. You will need a second computer to format and install its operating system onto a micro sd card, preferably 128Gb or bigger.
 +
 +Download Raspberry Pi Imager onto your second computer and burn RaspberryPi Os 32bit to your micro sd card. Here's the link [[https://www.raspberrypi.org/blog/raspberry-pi-imager-imaging-utility/]]
 +
 +Here is a link to a complete guide on how to set up the Pi and peripherals. 
 +How to set up your new Raspberry Pi 4 and peripherals ([[https://magpi.raspberrypi.org/articles/set-up-raspberry-pi-4]])
 +
 +How to install Armor Case on your Raspberry Pi 4 ([[https://www.youtube.com/watch?v=5SZkVQ4dd64]])
 +
 +Now that your machine is set up with Raspbian OS, a keyboard and mouse, we can install Qortal.
 +We will be using the Terminal application found in the top left menu to install everything.
  
 For clarity all commands to be typed by you are followed by  ↩ symbol to denote pressing enter key. For clarity all commands to be typed by you are followed by  ↩ symbol to denote pressing enter key.
 You can also simply copy and paste the relevant text from this guide into the terminal like this: You can also simply copy and paste the relevant text from this guide into the terminal like this:
-Using your mouse click and drag the portion to be copied +Using your mouseclick and drag the portion to be copied 
-Right click copy+ 
 +Right clickcopy 
 Then right click in terminal Then right click in terminal
  
Line 28: Line 42:
  
 y↩ y↩
 +
 # Now we will configure the system to allow remote access via ssh to Raspberry using a remote computer: # Now we will configure the system to allow remote access via ssh to Raspberry using a remote computer:
    
Line 86: Line 101:
  
  
-db                 log.txt.1   run.log        start.sh+                log.txt.1   run.log        start.sh
 log4j2.properties  qortal.jar  settings.json  stop.sh log4j2.properties  qortal.jar  settings.json  stop.sh
  
Line 106: Line 121:
 chmod  a+x *.sh↩ chmod  a+x *.sh↩
  
-# Next we edit the configuration file to optimize for raspberry pi:+# Next we edit the configuration file to optimise for raspberry pi:
  
 echo -en "{\n\"maxPeers\":32,\n\"minBlockchainPeers\": 8,\n\"apiDocumentationEnabled\": true\n}\n\"" > settings.json↩ echo -en "{\n\"maxPeers\":32,\n\"minBlockchainPeers\": 8,\n\"apiDocumentationEnabled\": true\n}\n\"" > settings.json↩
Line 134: Line 149:
 A moment or two later the logo will appear, centre screen and after about 20-30 seconds a small Qortal icon will appear in the top right section of your screen. A moment or two later the logo will appear, centre screen and after about 20-30 seconds a small Qortal icon will appear in the top right section of your screen.
  
-Give it a minute or two to start making connections and then hover your mouse over the icon. Connection data will appear, synchronisation %, number of peers you are connected to and the current block height you are at.+Give it a minute or two to start making connections and then hover your mouse over the icon. Connection data will appear, synchronization %, number of peers you are connected to and the current block height you are at.
  
 CONGRATULATIONS. Your node is up and running. CONGRATULATIONS. Your node is up and running.
Line 144: Line 159:
 ./stop.sh↩ ./stop.sh↩
  
-Currently it is not easy to setup the User Interface (UI) on the raspberry pi. You can connect the running core on your Raspberry Pi to a second computer that has theUI installed with the following method :+Currently it is not easy to setup the User Interface (UI) on the raspberry pi. You can connect the running core on your Raspberry Pi to a second computer that has the UI installed with the following method:
 On Mac, open the terminal application and tell the mac to set up an SSH connection to your pi using the following command to connect the correct ports: On Mac, open the terminal application and tell the mac to set up an SSH connection to your pi using the following command to connect the correct ports:
  
Line 154: Line 169:
 Select add custom node Select add custom node
  
-In the dropdown menu, select the following options +In the menu, select the following options 
-Protocol=http, domain=127.0.0.1, port=22391+ 
 +protocol=http, domain=127.0.0.1, port=22391
  
 Click add and on the Settings page and select your newly added node. Login as usual. Click add and on the Settings page and select your newly added node. Login as usual.
  
 +Instructions for Windows machines will be available shortly.
  
 An expanded version of this guide will be available soon, with the next steps and a list of useful commands. An expanded version of this guide will be available soon, with the next steps and a list of useful commands.
- 
-