cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1741
Views
0
Helpful
3
Replies

Can ir829 work as a web server?

ericcmena
Level 1
Level 1

I have a question about ir829.
Can ir829 work as a web server?
I already bought the product but the version of the yocto does not let me install apache or toaster

3 Replies 3

dosoukup
Cisco Employee
Cisco Employee

Hi Eric,

of course it can. For example you can use lighttpd. Just add IMAGE_INSTALL_append = " lighttpd" to your local.conf file.

Hola Tadeo esto es lo que me contestaron.

Se puede usar lighttpd que esta disponible para yocto.

Steve Zhang
Cisco Employee
Cisco Employee

Yes. it is possible. Cisco IOx supports LXC and Docker container style applications. You may simply put the related binaries and libraries of the web server in the container. For details, please refer to  (Go to App Development --> Native Demo Apps or Docker Demo Apps --> C, C++ Simple App). A Docker example of "Nodejs http based server using Alpine based image" is provides for your reference as well.

Besides, in case of using NAT, you need to set the PAT configuration in IOS to open the port (such as 80, 8008, etc) for Web Server listener so that the external may reach it. You may refer to STEP 5 in https://communities.cisco.com/docs/DOC-60826 as an example for ports of 8443 and 22. For how to set the static IP address of the container, please refer to How to set Static IP address to PaaS/LXC.

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: