- A question about ir829.
Can ir829 work as a web server.
The version of the yocto does not letting to install apache or toaster.
Off course it can. For example you can use lighttpd. Just add IMAGE_INSTALL_append = " lighttpd" to your local.conf file.
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.
Please sign in to leave a comment.