How To Run GaGa On ARM
How to easily install a GaGaNode on ARM.
Supported Unix/Linux operating systems
OS | Website |
---|---|
Ubuntu | https://ubuntu.com/download/server/arm |
Debian | https://www.debian.org/ports/arm |
Raspberry Pi OS | https://www.raspberrypi.com/software |
Fedora | https://arm.fedoraproject.org |
OpenWrt | https://openwrt.org |
Armbian | https://www.armbian.com |
DietPi | https://dietpi.com |
Manjaro | https://manjaro.org/download/#ARM |
ArchΒ Linux | https://archlinuxarm.org |
openSUSE | https://get.opensuse.org |
Asahi Linux | https://asahilinux.org |
Register
https://dashboard.gaganode.com/register
Click the button βInstall & Runβ and you can find out your token and installation tutorial in this page.
1.Download & Install
π§ TIP
To shut down the old version of Gaganode if it exists in the system, please use the following command. sudo ./app service remove
curl -o apphub-linux-arm64.tar.gz https://assets.coreservice.io/public/package/61/app-market-gaga-pro/1.0.4/app-market-gaga-pro-1_0_4.tar.gz&& tar -zxf apphub-linux-arm64.tar.gz && rm -f apphub-linux-arm64.tar.gz && cd ./apphub-linux-arm64 && sudo ./apphub service install
curl -o apphub-linux-arm32.tar.gz https://assets.coreservice.io/public/package/72/app-market-gaga-pro/1.0.4/app-market-gaga-pro-1_0_4.tar.gz && tar -zxf apphub-linux-arm32.tar.gz && rm -f apphub-linux-arm32.tar.gz && cd ./apphub-linux-arm32 && sudo ./apphub service install
Check the output of uname -m
. If the result is aarch32
you are running the ARM Linux kernel in 32-bit
and if the result is aarch64
or arm64
you are running the kernel in 64-bit
mode. check out List of ARM processors.
console output:
pi@raspberrypi:~ $ curl -o apphub-linux-arm32.tar.gz https://assets.coreservice.io/public/package/72/app-market-gaga-pro/1.0.4/app-market-gaga-pro-1_0_4.tar.gz && tar -zxf apphub-linux-arm32.tar.gz && rm -f apphub-linux-arm32.tar.gz && cd ./apphub-linux-arm32 && sudo ./apphub service install
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7241k 100 7241k 0 0 4061k 0 0:00:01 0:00:01 --:--:-- 4059k
2022/12/13 04:51:20 [info] systemd detected
Install app service: [ OK ]
2.Start Service
π§ TIP
To shut down the old version of Gaganode if it exists in the system, please use the following command. sudo ./apphub service remove
sudo ./apphub service start
console output:
pi@raspberrypi:~/app-linux-arm64 $ sudo ./apphub service start
2022/12/13 04:51:31 [info] systemd detected
Starting app service: [ OK ]
3.Check APP Status
./apphub status
console output:
pi@raspberrypi:~/app-linux-arm64 $ ./apphub status
[gaganode]: local version:[1.0.3] latest version:[1.0.3] status:[TO_DOWNLOAD]
4.Set Token
sudo ./apps/gaganode/gaganode config set --token=`your token`
console output:
pi@raspberrypi:~/app-linux-arm64 $ sudo ./apps/gaganode/gaganode config set --to
ken=`your token`
new config generated
restart for the new configuration to take effect
5.Restart APP
./apphub restart
console output:
pi@raspberrypi:~/app-linux-arm64 $ ./apphub restart
restart command send, system will reboot...
Commands Reference
sudo ./apphub service install # install node
sudo ./apphub service start # start node
sudo ./apphub service stop # stop node
sudo ./apphub service remove # remove node
./apphub status # check node running status
./apphub restart # restart node
./apphub upgrade # upgrade node
./apphub log # check logs
./apphub -h # check help