cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1368
Views
0
Helpful
6
Replies

Cisco 819-4g - install python modules

oabutbul
Cisco Employee
Cisco Employee

Hi,

I'm trying to install some python modules, but i don't know how to access to the linux by ssh (i can just open the "Cisco Application Management)

Any advice ?

Thanks,

Orel

6 Replies 6

Steve Zhang
Cisco Employee
Cisco Employee

Hi Orel,

Please refer to the C819 IOx SDK Cook Book. 819-IOx-SDK-Cookbook.docx

It includes all the details including C819 install/configuration, IOx SDK, app dev, ova application deployment, etc.

Basically you may access the Guest OS once the ova application is deployed and started successfully.

For example: Router# virtual-service connect name ovaappname console

Thanks,

Steve

Steve Zhang
Cisco Employee
Cisco Employee

By the way, for installing Python Modules, please also refer to the post below.

Install Python Modules for C819 IOx

Thank you Steve,

After installed the sdk – I tried create ova file.

I got this error :

make[1]: Leaving directory `/opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1/examples/apps/app-03/gpl/python-modules'

imgb.sh -c repack-rootfs \

make: imgb.sh: Command not found

make: *** Error 127

any advice ?

Thanks,

Orel

Hi Orel,

As I guess, you did not set the related environment variables. For example,

export IOX_SDK_HOME=/opt/ciscoiox/cisco_iox_sdk-x86_64-v0.1

export IOX_IMAGES_PATH="${IOX_SDK_HOME}/images/e500v2_linux_guest/archives/"

export PATH="${PATH}:${IOX_SDK_HOME}/tools/scripts:${IOX_SDK_HOME}/tools/bin"

And please try to follow the guide carefully. It did provide the related information. Hope it helps.

Thanks,

Stev

Thanks, Steve. Much appreciated.

Another question, where can I put my python code ? that will not deleted.

Thanks,

Orel

Hi Orel,

You need to modify the script of "imgb_cb_script.sh" or "examples\apps\app-03\imgb_cb.sh" as mentioned in C819 IOx SDK Cook Book, and try to copy the related executable binaries or libraries to the related folders such as /usr/bin or /usr/lib. So all the executable binaries and libraries will be kept in ova application.

Thanks,

Steve

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: