tower-ssh-cookbook

0.0.1 • Public • Published

Tower SSH Cookbook

Installation

npm install tower-ssh-cookbook

Example

$ tower enter ssh -k my.pem -e "sudo apt-get update" -h ec2-123-123-123-123.compute-1.amazonaws.com -u ubuntu

http://davidtsadler.com/archives/2012/05/06/installing-node-js-on-ubuntu/

Install node.js on EC2 instance (Ubuntu Quantal 12.10).

$ sudo apt-get -y install python-software-properties python g++ make
$ sudo apt-get -y install software-properties-common
$ sudo add-apt-repository ppa:chris-lea/node.js
$ sudo apt-get update
$ sudo apt-get -y install nodejs
$ node -v

The -y says "yes to everything" for apt-get. You can do -q to quiet output.

sudo apt-get install python-software-properties python g++ make ; sudo apt-get install software-properties-common ; sudo add-apt-repository ppa:chris-lea/node.js ; sudo apt-get update ; sudo apt-get install nodejs ; node -v

Todo:

tower ssh name:* "sudo aptitude upgrade -y"

Notes

Licence

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    0

Package Sidebar

Install

npm i tower-ssh-cookbook

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • viatropos