To test this out, do the following
Make the directory structure
cd /tmp
mkdir -p duder/bloink
echo "puts 'i am in duder/man'" > duder/man.rb
cd duder
Then, from within duder
, do this:
sudo su - jenkins | |
cd workspace/ | |
source .pyenv/bin/activate |
Connection id: 362 | |
Current database: | |
Current user: root@localhost | |
SSL: Not in use | |
Current pager: stdout | |
Using outfile: '' | |
Using delimiter: ; | |
Server version: 5.1.62-0ubuntu0.11.10.1 (Ubuntu) | |
Protocol version: 10 | |
Connection: Localhost via UNIX socket |
codepen.io. 172800 IN NS ns-141.awsdns-17.com. | |
codepen.io. 172800 IN NS ns-852.awsdns-42.net. | |
codepen.io. 172800 IN NS ns-1486.awsdns-57.org. | |
codepen.io. 172800 IN NS ns-1585.awsdns-06.co.uk. | |
codepen.io. 900 IN SOA ns-852.awsdns-42.net. awsdns-hostmaster.amazon.com. ( | |
1 ; serial | |
7200 ; refresh (2 hours) | |
900 ; retry (15 minutes) | |
1209600 ; expire (2 weeks) | |
86400 ; minimum (1 day) |
Host w_app | |
HostName 50.112.247.25 | |
user ubuntu | |
IdentityFile /Users/timsabat/.ssh/codepen_west.pem | |
Host w_db | |
HostName 50.112.253.157 | |
user ubuntu | |
IdentityFile /Users/timsabat/.ssh/codepen_west.pem |
doula@doula:~$ redis-cli | |
redis 127.0.0.1:6379> keys *node* | |
1) "node:services:mktest3-py" | |
2) "node:services:mt1-pyapp01" | |
3) "node:services:mt2-pyweb01" | |
4) "node:services:mtclone-pyweb01" | |
5) "node:services:mktest2-py" | |
6) "node:services:mt1-pyweb01" | |
redis 127.0.0.1:6379> del node:services:mt2-pyweb01 | |
(integer) 1 |
To test this out, do the following
Make the directory structure
cd /tmp
mkdir -p duder/bloink
echo "puts 'i am in duder/man'" > duder/man.rb
cd duder
Then, from within duder
, do this:
505 mv production.log /mnt/production.log.2 506 sudo mv production.log /mnt/production.log.2 507 touch production.log 508 chmod 0666 production.log 509 sudo service apache2 restart
back, and ok if u can't talk. i'm liberal. and i'm basically looking for a place in OR that is like Hood River and has good schools. i don't know if that's possible. we were thinking of talking to a real estate agent and wanted to know if u had any advice/friends/leads. we're thinking of doing a scouting mission in Dec. Also, in a more wide sweep, if you could live anywhere in the pacific NW, where would that be and why? | |
heh | |
so, there are only a couple cities in portland that i'd choose | |
i'm also quite liberal | |
so there are some that are out of the question (e.g. Pendleton - too conservative) | |
kk | |
go on | |
Portland, obviously | |
Bend, Hood River | |
Ashland is great, but it's way down by the california border |
➜ CPOR ssh mt2 | |
Last login: Thu Oct 11 15:43:44 2012 from openvpn-pa.corp.surveymonkey.com | |
CORP\tims@mktest2-py:~$ ping wufoo.com | |
PING wufoo.com (75.98.93.66) 56(84) bytes of data. | |
64 bytes from 75.98.93.66: icmp_seq=1 ttl=240 time=31.0 ms | |
64 bytes from 75.98.93.66: icmp_seq=2 ttl=240 time=27.8 ms | |
^C | |
--- wufoo.com ping statistics --- | |
2 packets transmitted, 2 received, 0% packet loss, time 1001ms | |
rtt min/avg/max/mdev = 27.878/29.464/31.050/1.586 ms |
When I run
ec2-describe-group database
I get
PERMISSION 890752071609 database ALLOWS tcp 3306 3306 FROM USER 890752071609 NAME default ID sg-5ce3766c ingress
PERMISSION 890752071609 database ALLOWS tcp 3306 3306 FROM USER 890752071609 NAME app-server ID sg-b81b8088 ingress
PERMISSION 890752071609 database ALLOWS tcp 6379 6379 FROM USER 890752071609 NAME default ID sg-5ce3766c ingress