How to install Node.js in a remote Ubuntu machine -


as system admin, following in of ubuntu machines:-

  1. find out if node.js installed user in ubuntu machine.
  2. install version
  3. upgrade version.

i remote ubuntu machine within lan. software/tools should use want?

for class of problem write scripts using python fabric http://docs.fabfile.org/en/1.6/. wraps ssh, needs no special installation hosts.

using fabric means can execute same task on multiple hosts easily. while can use puppet or chef this, lot of less flexible use fabric, (as require setup , licenses).

once have setup fabric file able connect host, su particular user, , invoke node -v , take action accordingly.

a more robust solution , scaleable solution though host own package repository, build own node installation packages, , use whichever package manager (yum apt etc) linux hosts uses run , update.

happy node hacking.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -