We're using the Default S3 i386 AMI (ami-a10b44c8) and I'd like to install nodejs and npm on the elastic agent using an instance setup script.
I've noticed that most guides for node suggest installing it from source which is unacceptable due to the amount of time it would take to build.
Is there some other way we can get it on the agent? Do we have to make a snapshot and set it up that way?
Stock images already contain node/npm. Do you need a newer version?
... OK, I feel like an idiot now for assuming it wasn't installed :(
Sorry about that.
On that note though, is there a list of all the packages installed by default on the stock images?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, it doesn't seem to be working, here's an example of what I'm getting:
19-Nov-2013 12:13:03line 15: node: command not found
19-Nov-2013 12:13:03line 17: npm: command not found
This is from a 'script' build task that simply calls node -h and npm -h
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
node is not on PATH, check in /opt directory.
You can find all tools on image capabilities page in Bamboo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, I see now. Could I put it in the path somehow for the instance via the setup script?
Thanks for your help! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you could do
echo 'export PATH=$PATH:WHATEVER_YOU_WANT' >> /etc/profile.d/bamboo.sh
in your instance setup script
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.