This repository contains scripts and how-to's making tasks easier for users of the QORTector and home built pi4's taking part in the QORTAL blockchain. The scripts herein make use of the nodesource git for installing and updating Node.js utilized by the QORTAL UI.
(2023 Mark-II)
- Since the nodesource nodejs install procedure has changed there are now 2 sets of scripts.
- Post 2023 mark-II repo change scripts prefixed with nothing
- Pre 2023 mark-II repo change scripts prefixed with "prc_njs_
(2023 Mark-I) - (Depracated)
- Since the qortal-ui repo has been restructured there are now 2 sets of scripts.
- Post 2023 repo change scripts prefixed with nothing
- Pre 2023 repo change scripts prefixed with "prc2023"
(2022) - (Depracated)
Since the UI repo has changed from "UI" to "qortal-ui" there are now 2 sets of scripts.- Pre repo change prefixed with "prc"
Post repo change prefixed with nothing
-
Check to see if
git
is currently installed- Load terminal and issue the command
git --version
- If no git version is listed simply install git via the same terminal instance with the command
sudo apt install git
- If no git version is listed simply install git via the same terminal instance with the command
- Load terminal and issue the command
-
Ensure 'nodejs' is not already installed
- Within terminal issue the command
sudo apt purge nodejs
- Within terminal issue the command
-
Download UI install/update/removal scripts to your home folder
- Within terminal issue the following command:
wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/update_install_ui.sh && wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/uninstall_ui.sh
- Within terminal issue the following command:
-
Download Qortal Core & Qortal-UI launchers to your home folder
- Within terminal issue the following command:
wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/Launch_Core.sh && wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/Launch_UI.sh
- Within terminal issue the following command:
-
Make the downloaded script/s executable:
-
Via terminal
- Within terminal issue the command
chmod +x *.sh
- Within terminal issue the command
-
Via GUI
(Right-click -> Properties -> Permissions)
and check the "Allow executing file as program" box.
-
-
Cut/paste Core & UI launchers to desktop
- Via terminal
- Within terminal issue the following command:
mv Launch_Core.sh ~/Desktop/Launch_Core.sh && mv Launch_UI.sh ~/Desktop/Launch_UI.sh
- Within terminal issue the following command:
- Via GUI
- Select each file and cut/paste onto desktop
- Via terminal
-
Run the QORTAL UI installation script by issuing the command
./install_update_ui.sh
-
Wait for installation script to complete it's work as noted by "press q to quit"
- Load terminal and issue the command
./uninstall_ui.sh
-
If step 2 below has been previously performed since the script/s update noted at the top of this page
- Load terminal and issue the command
./install_update_ui.sh
- Load terminal and issue the command
-
If updating for the first time since the script/s update noted at the top of this page
- Load terminal and download/make executeable/run the pre-update uninstaller by issuing the following command:
wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/prc_njs_2023_uninstall_ui.sh && chmod +x *.sh && ./prc_njs_2023_uninstall_ui.sh
- Load terminal and download/make executebale/run the updated QORTAL UI installer via the command:
wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/update_install_ui.sh && chmod +x *.sh && ./update_install_ui.sh
- Remove all UI scripts, downloaded or pre-existing in the home folder, that are not
update_install_ui.sh
oruninstall_ui.sh
- Load terminal and download/make executeable/run the pre-update uninstaller by issuing the following command:
- If step 2 below has been previously performed since the script/s update noted at the top of this page
- Load terminal and issue the command
./uninstall_ui.sh
- Load terminal and issue the command
- If un-installing for the first time since the script/s updated noted at the top of this page
- Load terminal and download/make executeable/run the uninstaller by issuing the following command:
wget https://raw.githubusercontent.com/xspektrex/QORTectorScripts/master/prc_njs_2023_uninstall_ui.sh && chmod +x *.sh && ./prc_njs_2023_uninstall_ui.sh
- Load terminal and download/make executeable/run the uninstaller by issuing the following command:
source: https://nodejs.dev