Raspberry Pi

PeerZero
edited January 2022 in Command-line Client

Here is how to compile and use it for Raspberry Pi 3.

Identify your OS

You can use these commands:

uname -u
cat /etc/os-release
cat /etc/debian_version

Compile

If you compile it for 32-bit ARM Linux, specify the following in the command line:

set GOARCH=arm
set GOOS=linux

Then compile it:

go build

Make the target file executable:

chmod +x ./Cmd

Execute

Execute it via:

./Cmd

Check if it is running:

top
ps -ef | grep -i ./Cmd

Or open the backend log:

nano "data/log backend.txt"


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!