Note:Pantahub is the only place where Linux firmware can be shared and deployed for any device, You can signup @pantahub here:http://www.pantahub.com
Make your RPI3 device ready to deploy Solr by following 6 Steps
Step 1: Burn the RPI3 initial stable image into your sd card.
a) Download RPI3 image
b) unxz the device image
$ unxz rpi3_initial_stable.img.xz
c) Burn image into sd card using Raspberry Pi Imager 1.2
Step 2: Boot your RPI3
a) Insert your sd card and supply the power
Step 3: Singup @pantahub here http://www.pantahub.com
Step 4: Download & Install a CLI tool “pvr”
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.
pvr clone; pvr commit; pvr post
To 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.
Step 5: Detect & Claim your device
a) Connect a LAN cable between your RPI3 & computer/Router.
b) Open your terminal & run
$ pvr scan
c) Claim your device
$ pvr claim -c merely-regular-gorilla https://api.pantahub.com:443/devices/5f1b9c44e193a5000afa9901
d) Log into Panthub.com and check whether the newly claimed device appeared in the dashboard or not.
Step 6: Clone the device to your computer using the Clone URL of your device
$ pvr clone https://pvr.pantahub.com/sirinibin/presently_learning_pelican/0 presently_learning_pelican
Now your device is ready to deploy your Solr search engine app
Deploy your Solr app to the device by following 4 Steps
Step 1: Add new app “solr” into the device
$ pvr app add solr --from=arm32v7/solr:5-slim
Step 2: Deploy the changes to the device
$ pvr add . $ pvr commit $ pvr post
Step 3: Access the Solr dashboard
Step 4: Try creating your 1st Solr Core
a) SSH into the app container “solr”
ssh -p 8222 email@example.com
b) Create a new core
$ cd /opt/solr/bin $ ./solr create -c "core1"
c) Access the Solr core you just created
You are Done!