You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
347 B

9 years ago
9 years ago
  1. #! /bin/bash
  2. # exit if a command fails
  3. set -eo pipefail
  4. # install node & npm
  5. apt-get update && apt-get install -y nodejs npm
  6. # alias as node
  7. ln -sf /usr/bin/nodejs /usr/bin/node
  8. # install redis commander
  9. npm install -g redis-commander
  10. # cleanup package manager
  11. apt-get autoclean && apt-get clean
  12. rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*