Qortal Project

The future of blockchain platforms

User Tools

Site Tools


Sidebar

Qortal Project Wiki

Important Notices

Introduction

Project Model

Minting

Communications

Qortal Trading (Trade Portal / Q-Trade)

Qortal Data Network (QDN)

Voting System

AT (Automated Transactions)

Hardware

Frequently Asked Questions (FAQ)

How-To Guides

Node Setup Guides

Third-Party Services

android_termux

This is an old revision of the document!


Android Termux

Below is a guide for setting up an Android phone as a Qortal node. Please note: this is not for the average user. We have a mobile app in the works - stay tuned:

  1. Install Latest Termux Universal from https://github.com/termux/termux-app/releases
  2. Use Android notification to enable Wakelock for Termux
  3. Update all dependencies in Termux:
    pkg update -y
  4. Set a new root password for your Termux install:
    passwd
  5. Install Handy Tools (we will need later):
    pkg install openssh termux-tools proot-distro -y
  6. Identify your local IP:
    ifconfig
  7. Start SSH server on port 8022:
    sshd
  8. SSH into your phone using the IP address (replace "localIP" part in the following code with the correct IP address):
    ssh root@<localIP> -p 8022
  9. Install Alpine Linux to isolate what is are running from Android:
    proot-distro install alpine
  10. Connect to running Alpine Linux image:
    proot-distro login alpine
  11. Add more surprise tools that will help later:
    apk add openrc openjdk14 tmux git
  12. Open a Termux session to persist our processes if using SSH:
    tmux
  13. Add a user and group to run qortal server:
    adduser -g -D "qortal" qortal
  14. Switch to newly created user:
    su - qortal
  15. Switch directory to user home:
    cd
  16. Download official packed node from Qortal repository:
    curl -L https://github.com/Qortal/qortal/releases/latest/download/qortal.zip --output qortal.zip
  17. Unzip this file:
    unzip qortal.zip
  18. Clone the proper settings.json file:
    git clone https://github.com/DrewMPeacock/TermuxQortal.git
  19. Remove settings file from unzipped folder:
    rm qortal/settings.json
  20. Move the settings.json file into place:
    cp TermuxQortal/settings.json qortal/settings.json
  21. Change to our new qortal directory:
    cd qortal
  22. Start Qortal:
    ./start.sh
android_termux.1667160490.txt.gz · Last modified: 10/30/2022 16:08 by gfactor