Help

Dozens of commands to manage unix file system.

Rutty

Initialize

< rutty init>

Add node

<rutty add_node ns227763.ip-176-31-235.eu -u desktop -k /home/aggounix/.ssh/id_rsa>

Nano file with line number

<nano -c [filename]>

Hypertable

To launch Hypertable

<sudo /opt/hypertable/current/bin/start-all-servers.sh local>

To stop Hypertable

<sudo /opt/hypertable/current/bin/stop-servers.sh>

fire up an interactive session

<sudo /opt/hypertable/current/bin/ht shell>

Apache

Restart Apache 2 web server

<sudo /etc/init.d/apache2 restart>

To stop Apache 2 web server

<sudo /etc/init.d/apache2 stop>

To start Apache 2 web server

<sudo /etc/init.d/apache2 start>

Putty

Generate ppk key

<puttygen id_dsa -o id_dsa.ppk>

AWS

SSH connect

<ssh -i 3ankabout.pem ubuntu@54.84.199.5>

AMI

<ami-5ddcdd34>

GEM

Build the gem

<gem build gemname.gemspec>

Install the gem

< sudo gem install gemname-0.0.3.gem >

rake the gem

< sudo rake install >

Install gem with java home

< sudo env JAVA_HOME=$JAVA_HOME gem install open-nlp stanford-core-nlp >

Migration

execute migration

< rake db:migrate>

redo migration

< rake db:migrate:redo VERSION=version >
--- !ruby/hash-with-ivars:ActionController::Parameters
elements:
  controller: homes
  action: ruby
ivars:
  :@permitted: false