11-25-2016 04:07 PM - edited 03-01-2019 03:12 AM
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
11-27-2016 01:12 PM
Hi Eric,
of course it can. For example you can use lighttpd. Just add IMAGE_INSTALL_append = " lighttpd" to your local.conf file.
11-28-2016 01:14 PM
Hola Tadeo esto es lo que me contestaron.
Se puede usar lighttpd que esta disponible para yocto.
11-28-2016 06:43 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide