Difference between #2 and #15 of
Start using Yii2 in Raspberry Pi3 (RPI3) via Pantahub

Changes

Title changed

Deploy Yii2 app into aStart using Yii2 in Raspberry Pi 3 (RPI 3) B+(ARM32) & manage it usingvia Pantahub

Category unchanged

How-tos

Yii version unchanged

2.0

Tags changed

yii2,docker,RPI3,Raspberry Pi3,Linux,Pantahub

Content changed

[...]
#### b) unxz the device image
Run `$ unxz rpi3_initial_stable.img.xz`

#### c) Burn image into sd card using Raspberry Pi Imager 1.2

![](https://i.imgur.com/3tnobOw.png
 =400x300)
[...]
#### a) Insert your sd card and supply the power
![](https://i.imgur.com/x4WF2Tz.jpg
 =400x300)
[...]
> Note: pvr is a CLI tool which can be used to interact with your device through pantahub platform.

 
> Note: Using pvr you can share your firmware and projects as simple as with a git tree:.
 
 
> Note: Move the pvr binary to your bin folder after download.
 
 
Linux(AMD64): [Download](https://gitlab.com/pantacor/pvr/-/jobs/595489669/artifacts/raw/pvr-012.linux.amd64.tar.gz#latest)
 
 
Linux(ARM32v6): [Download](https://gitlab.com/pantacor/pvr/-/jobs/595489669/artifacts/raw/pvr-012.linux.armv6.tar.gz#latest)
 
 
Darwin(AMD64): [Download](https://gitlab.com/pantacor/pvr/-/jobs/595489669/artifacts/raw/pvr-012.darwin.amd64.tar.gz#latest)
 
`pvr clone; pvr commit; pvr post` Install from github source code:
 
``` $ go get gitlab.com/pantacor/pvr $ go build -o ~/bin/pvr gitlab.com/pantacor/pvr ``` > Note: You need "GOLANG" to be installed in your system for building pvr from github source code.
[...]
#### a) Connect a LAN cable between your RPI3 & computer/Router.
![](https://i.imgur.com/Y6q6J0o.png
 =400x300)

#### b) Open your terminal & run `$ pvr scan`
[...]
#### c) Claim your device
`$ pvr claim -c merely-regular-gorilla https://api.pantahub.com:443/devices/5f1b9c44e193a

 
Watch now on Amazon Prime Video
 
5000afa9901`

![](https://i.imgur.com/v4CzwdR.png)
[...]
### Step 2: Add a new app "yii2" into the device
>`sirinibin/yii2-basic-arm32v7:latest` is a Docker

 
Watch now on Amazon Prime Video
 
image made for the devices with ARM32 architecture
>> You can customise the docker image for your custom Yii2 app.
[...]
### Step 4: Check the device status changes in Pantahub.com dashboard & wait for the status to become **"DONE**"

 
Status 1:   
 
![](https://i.imgur.com/eCtxpPt.png)   
 
Status 2:   
 
![](https://i.imgur.com/rmpqCdE.png)   
 
Status 3:   
 
![](https://i.imgur.com/cmz5jqU.png )
 
  
Status 4:   
 
![](https://i.imgur.com/K4jfved.png)


### Step 5: Verify the "yii2" app deployment

Access the device IP: http://10.42.0.231/myapp1/web/ in your web browser.
[...]
4 0
4 followers
Viewed: 38 937 times
Version: 2.0
Category: How-tos
Written by: sirin k
Last updated by: sirin k
Created on: Jul 25, 2020
Last updated: 3 years ago
Update Article

Revisions

View all history