cd /admin1/system1
start
cd /admin1/system1
powerstate
$ ssh -v | |
OpenSSH_5.2p1, OpenSSL 0.9.8r 8 Feb 2011 | |
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec] | |
[-D [bind_address:]port] [-e escape_char] [-F configfile] | |
[-i identity_file] [-L [bind_address:]port:host:hostport] | |
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] | |
[-R [bind_address:]port:host:hostport] [-S ctl_path] | |
[-w local_tun[:remote_tun]] [user@]hostname [command] | |
$ |
#!/bin/bash | |
VMDK=<YOUR-VMDK-FILENAME>.vmdk | |
S3_OWNER_ACCESS_KEY=<YOUR_ACCESS_KEY> | |
S3_OWNER_SECRET_KEY=<YOUR_ACCESS_SECRET_KEY> | |
S3_BUCKET_NAME=<YOUR_BUCKET_NAME> | |
ec2-import-instance \ | |
$VMDK \ | |
-t m1.small \ |
rails g scaffold article name:string host_name:string enable:boolean note:text | |
rails g scaffold schedule name:string code:string description:text enable:boolean note:text start_date:datetime end_date:datetime schedule_type:references entry:integer | |
rails g scaffold articles_schedules artcle:references schedule:references --id=false --timestamps=false | |
rails g scaffold schedule_type name:string color:string enable:boolean note:text | |
rake db:migrate |
auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet static | |
address IP_ADDR | |
netmask NETMASK | |
gateway DEFAULT_GATEWAY | |
dns-nameservers DNS |