Skip to content

Instantly share code, notes, and snippets.

@ketominer
Created October 27, 2018 20:35
Show Gist options
  • Save ketominer/f5dd17cc9c79ec675c6d04ace311f3dd to your computer and use it in GitHub Desktop.
Save ketominer/f5dd17cc9c79ec675c6d04ace311f3dd to your computer and use it in GitHub Desktop.
run NBxplorer and BTCPay Server on an arm64 board with armbian using the arm32 version of dotnet
### As root
dpkg --add-architecture armhf
apt-get install libc6:armhf libstdc++6:armhf libssl-dev:armhf libssl1.0.0:armhf libzstd1:armhf libicu-dev:armhf
wget https://download.microsoft.com/download/8/A/7/8A765126-50CA-4C6F-890B-19AE47961E4B/dotnet-sdk-2.1.402-linux-arm.tar.gz
mkdir /opt/dotnet32
tar zxf dotnet-sdk-2.1.402-linux-arm.tar.gz -C /opt/dotnet32
echo export DOTNET_ROOT=/opt/dotnet32 >> /etc/profile
echo export PATH=\$PATH:/opt/dotnet32 >> /etc/profile
### As user running the services
git clone https://github.com/dgarage/NBxplorer
git clone https://github.com/btcpayserver/btcpayserver
cd ~/NBxplorer
git checkout v1.1.0.4
./build.sh
screen -S NBxplorer ./run.sh
cd ~/btcpayserver
git checkout v1.0.3.1
./build.sh
screen -S btcpayserver ./run.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment