Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Orange Pi Setup Guide
Being a total noob here this is my first ever attempt using linux, but i finally managed to get a node working on an Orange Pi Prime!

Heres how i went from the very beginning using Windows 10:

Thankyou to "Skyguy" for his Ubuntu guide!


Quote:Step 1: Download Ubuntu desktop.

Step 2: Download WIN Disk imager.

Step 3: Download Rufus for Formating SD Card.

Now that you have downloaded what is  needed to create a bootable micro SD card. 
I have used 32GB Sandisk Ultra cards. 

Quote:Step 4: Open Win32 Disk Imager. 

Step 5: Select your image file - "//Downloads/Armbian_5.37.171218_Orangepiprime_Ubuntu_xenial_next_4.14.6_desktop/Armbian_5.37.171218_Orangepiprime_Ubuntu_xenial_next_4.14.6_desktop.img"

Step 6: Select Drive device is inserted- ie. E:\

Step 7: Select Write

Now you have a Bootable SD card with Ubuntu linux on it. 

Insert SD card into Orange Pi Prime. 

Plug in Keyboard and mouse. 
Connect HDMI cable.
Plug in Power cord. Make sure it is 5V 2a Powersupply 

Linux should boot in about 1-2Mins 

Quote:Login details for OrangePiPrime 
Login: root
Password: 1234 

It will then display a prompt to change your password. 
Enter current password: 1234 

Then enter anything you like: 

Quote:Next Set username - Anything you like here 

Then enter your password x2 

For Following details just press Enter 
Fullname: <Enter>
Room number: <Enter>
Work phone: <Enter>
Home phone: <Enter>
Other: <Enter>

Is the information correct: enter Y 

It will now Boot and you should see the Armbian penguin. 

Go to the top Right of the Screen and next to the time click the Netwok icon

Select your Network, and enter password if needed. 


Right Click on the Desktop

Select Open Terminal here enter the following. 

sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y curl git mercurial make binutils gcc bzr bison libgmp3-dev screen gcc build-essential

Enter your Password when Prompted. 

Download and install Go 

sudo curl -L -o go1.9.2.linux-arm64.tar.gz

sudo tar -xvf go1.9.2.linux-arm64.tar.gz

sudo mv go /usr/local

Set Go Path 

sudo nano ~/.profile

At the End of the file insert the following. 

export PATH=$PATH:/usr/local/go/bin

CTRL + "X"  
then Y 
then Enter 
to Save and close the file. 

Next run the bellow to refresh your profile.

source ~/.profile

Check Go is installed 

go version

you should now see "go version go1.9.2 linux/arm64"

Create Go directories.

sudo mv go /usr/local/go
sudo ln -s /usr/local/go/bin/go /usr/local/bin/go
sudo ln -s /usr/local/go/bin/godoc /usr/local/bin/godoc
sudo ln -s /usr/local/go/bin/gofmt /usr/local/bin/gofmt

mkdir -p $HOME/go
mkdir -p $HOME/go/bin
mkdir -p $HOME/go/src
mkdir -p $HOME/go/pkg

Set up $GOPATH variable

cd ~
vi .bashrc

To Enter Press 
- Shift G
- Shift $
- a

Paste the bellow at the bottom. 

export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin

To Save and Close Press
- ESC twice 
- Shift colon (Smile 
- wq

Refresh the path by running 

source ~/.bashrc


1 - Download Skycoin from the github using the bellow command 

go get

Run Skycoin from the command line 

cd $GOPATH/src/
make run

**It's not possible to connect to the linux skycoin wallet from a windows desktop. For the purpose of testing, the following modification enables access but prevents you from adding a wallet or using any of the other functions available. Not an issue if you don't plan on using the linux wallet. It also won't affect the skywire node in any way

vi $GOPATH/src/

Now search for the first entry by pressing / (Enter). Update to your server IP or 
Press ESC twice and (wq), then Enter.

// Remote web interface
        WebInterface:             true,
        WebInterfacePort:         6420,
        WebInterfaceAddr:         "",
        WebInterfaceCert:         "",
        WebInterfaceKey:          "",
        WebInterfaceHTTPS:        false,
        PrintWebInterfaceAddress: false,

3 - Launch Skycoin 

make run

Install SkyWire

1. Download skywire using git

cd $GOPATH/src/
git clone

(2) Build binaries for skywire

cd $GOPATH/src/
go install ./...

(3) Run Skywire

cd $GOPATH/bin
./manager -web-dir ${GOPATH}/src/

At this point, you should have access to the monitor. Open a browser and navigate to http://server_ip:8000

[Image: skywire_monitor.jpg]

The node won't be running at this point. To start a node, enter the following command in a new putty window. It takes +-60 seconds before you will see some activity in the command window. Once there is activity, your node should be up

cd $GOPATH/bin
./node -connect-manager -manager-address :5998 -manager-web :8000 -discovery-address -address :5000 -web-port :6001

[Image: skywire_node_online.jpg]

Add Public IP to the peers.txt file on github

(1) Register an account on github

(2) Update the skycoin peers.txt file and add your IP. The default port is 6000

**To confirm your public IP, open a browser and type "myip" 

Congratulations you have just set up your first Orange Pi Skywire Node!

Still In progress....

Make 2 or more nodes connect to 1 manager.

./node -connect-manager -manager-address IPOFMANAGER:5998 -manager-web IPOFMANAGER:8000  -address :5000 -web-port :6001

Where IPOFMANGER is the managers ip address (@Schmeckle)

You can find the IP for the manager node by doing "ifconfig"
curl (@chriscrawford)
[-] The following 5 users say Thank You to SkyVinnie for this post:
  • DeltaCrypto, Jai ddoos, Lancek, skyguy, trader95
Thanks. Haven't done it yet, but gathering info i'll need.
Very nice. Thanks for sharing
(01-15-2018, 12:14 PM)SkyVinnie Wrote: Being a total noob here this is my first ever attempt using linux, but i finally managed to get a node working on an Orange Pi Prime!

Heres how i went from the very beginning using Windows 10:

Thankyou to "Skyguy" for his Ubuntu guide!

Just finished assembling an official skywire miner. 

So do I basically do the same steps as above on each?
Assuming I only install the skywire section and not the Skycoin one?

How do I connect the nodes together?

Please do not install an Desktop environment on an Orange PI. You do not need it. You don't need to waste resources on running a graphical user interface.

All you want is the Armbian server.

I would prefer download the server version from here, instead of getting it from a Chinese page, link:

Or direkt link:
The difference between debian and ubuntu shall not matter much.
Thanks bro going to check this out on weekend

Sent from my iPhone using Tapatalk
Thanks for your help skyvinnie!!

[Image: Screenshot_20180424_210249.jpg]
Hi...I have a laptop running both Windows 10 (x64) and Ubuntu 16.04 (x64). I am developing for an embedded linux machine so it makes sense to me to use ubuntu for development.I have quite a bit of experience using Linux but seem to be out of my depth configuring cross-compilation between my laptop and the Orange Pi One.

prototype pcb

Forum Jump:

Users browsing this thread: 1 Guest(s)