2.3 KiB
QORTector-scripts
simple scripts for various needs on the raspberry pi 4 for use with Qortal.
to start - install default OS of your choice for raspberry pi 4 - these scripts are tested and working with raspbian and ubuntu 64 for the Raspberry Pi 4.
-
Setup your base OS - raspbian or ubuntu 64 (other .deb builds should also work.)
-
Download all scripts to your home folder.
wget https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/default-pi4-ubuntu-qortal-setup.sh
wget https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/install-raspi-config.sh
wget https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/start-qortal-at-boot.sh
wget https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/start-qortal-ui-at-boot.sh
wget https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/update-qortal-ui.sh
- make all scripts executable
chmod +x *.sh
- run 'default-pi4-ubuntu-qortal-setup.sh' (./default*.sh) - this will install the base level packages you need for Qortal, as well as the Qortal Core.
./default*.sh
- run 'update-qortal-ui.sh' (./update*.sh) - this will clone+build the Qortal UI from source.
./update*.sh
- use crontab to setup a cron to start the Qortal Core at boot (crontab -e) add line (@reboot ./start-qortal-at-boot.sh)
crontab -e
add following line in cron
@reboot ./start-qortal-at-boot.sh
-
use 'Start-Qortal-UI-Electron.sh' to start Qortal UI with Electron wrapper (as an independent application) - Run this script whenever you want to start the UI - placing this script on the desktop is a good idea. Click 'run' when you double-click the script with the GUI.
-
install 'raspi-config' with 'install-raspi-config.sh' (./install*.sh)
./install*.sh
-
((OPTIONAL)) - if you prefer to start the Qortal UI as a server that can be accessed by other systems on the network, or SSH tunneled to use locally along with the core, you can use 'start-qortal-ui-at-boot.sh' in cron to start the UI server automatically at boot.
-
update Qortal UI - you can run 'update-qortal-ui.sh' again to re-clone and build the UI from source again for version updates.