Forum Discussion
iRules LX - offline installation of NPM packages
Is there a method to install NPM packages on a BigIP system without Internet connection? I know that there are some ways of doing this in the "outer world" like the ones described here (specifically those described in the Bundling section) but I'm also very interested to know F5's view on this (as BigIP is not just a regular Linux box, you know :)).
Is there a supported or recommended method? Or at least a method that somebody tried and it worked fine?
3 Replies
- PSilvaRet. EmployeeI'm not really sure but (and you may already have it) the BIG-IP® iRulesLX User Guide, Version 12.1.0 is here: https://devcentral.f5.com/d/big-ip-iruleslx-user-guide-version-1210 Might have your answer.
- Nikolay_Matveev
Nimbostratus
Unfortunately this guide is too brief. Here is everything its author had to say about the NPM packages:
==========================================================
Third-party packages and libraries extend the functionality of Node.js. The node package manager (npm)site lists thousands of packages that you can install and use in Node.js extensions. Common packages thatyou may want to use in iRules®include parsers for JSON and XML, libraries to consume other servicesand databases, and distributed memory object caching systems like memcached. In addition to frameworksdesigned to simplify Node.js application development, packages are available for, among others:
- JSON parsers
- XML parsers
- Memcached
- Redis
- MongoDB
- MySQL
==========================================================
This is quite scarce for something that is meant to be a technical guide. Don't you think so?
"Getting Started with iRules LX" article series by Eric Flores is much more useful than this guide but unfortunately he did not even touch the topic of offline installation of packages (like if all BigIP enterprise systems had direct Internet access!). By a reason Eric ignored my question posted as a comment to one of his articles and also he ignored a message I sent to him directly.
That was really disappointing so I'm now trying to seek help from the DevCentral Community.
- Daniel_W_
Cirrus
Can you use a proxy? I could use npm to connect via an proxy service.
npm config set proxy http://proxy:3128
npm config set https-proxy http://proxy:3128
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com