This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
r31: | |
system: | |
uname: "Linux code.davidawindham.com 2.6.18-028stab089.1 #1 SMP Thu Apr 14 13:46:04 MSD 2011 x86_64 GNU/Linux" | |
bash: "/bin/bash => GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)" | |
zsh: "/usr/bin/zsh => zsh 4.3.10 (x86_64-unknown-linux-gnu)" | |
rvm: | |
version: "rvm 1.6.9 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Checking for required software... | |
* GNU C++ compiler... found at /usr/bin/g++ | |
* Curl development headers with SSL support... found | |
* OpenSSL development headers... found | |
* Zlib development headers... found | |
* Ruby development headers... found | |
* OpenSSL support for Ruby... found | |
* RubyGems... found | |
* Rake... found at /home/david/.rvm/wrappers/ruby-1.9.2-p180@ror31/rake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so | |
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7 | |
PassengerRuby /usr/bin/ruby1.8 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadModule passenger_module /home/david/.rvm/rubies/ruby-1.9.2-p180/gems/passenger-3.0.7/ext/apache2/mod_passenger.so | |
<IfModule passenger_module> | |
PassengerRoot /home/david/.rvm/gems/ruby-1.9.2-p180/gems/passenger-3.0.7 | |
PassengerRuby /home/david/.rvm/wrappers/ruby-1.9.2-p180/ruby | |
</IfModule> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d@code:~/.rvm/src/ruby-1.9.2-p180/ext/readline$ make | |
gcc -shared -o readline.so readline.o -L. -L/home/david/.rvm/rubies/ruby-1.9.2-p180/lib -Wl,-R/home/david/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/david/.rvm/usr/lib -Wl,-R/home/david/.rvm/usr/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/david/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/david/.rvm/rubies/ruby-1.9.2-p180/lib -lruby -lreadline -lncurses -lpthread -lrt -ldl -lcrypt -lm -lc | |
david@code:~/.rvm/src/ruby-1.9.2-p180/ext/readline$ sudo make install | |
[sudo] password for david: | |
/usr/bin/install -c -m 0755 readline.so /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/x86_64-linux | |
david@code:~/.rvm/src/ruby-1.9.2-p180/ext/readline$ cd /var/www/ror | |
david@code:/var/www/ror$ rails console | |
Loading development environment (Rails 3.1.0.beta1) | |
1.9.2 :001 > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
david$ env ARCHFLAGS="-arch x86_64" gem install mysql2 | |
ERROR: While executing gem ... (Errno::EACCES) | |
Permission denied - /Users/david/.rvm/gems/ruby-1.9.2-p180/gems/mysql2-0.3.2/.gitignore | |
SilverBullet:ror david$ sudo env ARCHFLAGS="-arch x86_64" gem install mysql2 | |
Password: | |
Building native extensions. This could take a while... | |
ERROR: Error installing mysql2: | |
ERROR: Failed to build gem native extension. | |
/Users/david/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldconfig deferred processing now taking place | |
~/cloudfoundry/vcap ~/cloudfoundry/vcap | |
--2011-05-16 09:34:46-- http://nodejs.org/dist/node-v0.4.7.tar.gz | |
Resolving nodejs.org... 8.12.44.238 | |
Connecting to nodejs.org|8.12.44.238|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 5011520 (4.8M) [application/octet-stream] | |
Saving to: `node-v0.4.7.tar.gz' | |
100%[=============================================================>] 5,011,520 4.19M/s in 1.1s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
david@code:~/cloudfoundry/vcap/services/mysql/config$ vi mysql_node.yml | |
david@code:~/cloudfoundry/vcap/services/mysql/config$ cd ~/cloudfoundry/vcap | |
david@code:~/cloudfoundry/vcap$ sudo cp setup/simple.nginx.conf /etc/nginx/nginx.conf | |
david@code:~/cloudfoundry/vcap$ sudo /etc/init.d/nginx restart | |
Restarting nginx: the configuration file /etc/nginx/nginx.conf syntax is ok | |
configuration file /etc/nginx/nginx.conf test is successful | |
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use) | |
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use) | |
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use) | |
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
opyright (c) 2009-2011 VMware, Inc. | |
2 require 'fileutils' | |
3 require 'logging' | |
4 require 'socket' | |
5 | |
6 # VMware's Cloud Application Platform | |
7 | |
8 module VCAP | |
9 | |
10 A_ROOT_SERVER = '198.41.0.4' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d@code:~/cloudfoundry/vcap$ ps aux | |
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND | |
root 1 0.0 0.1 23456 1620 ? Ss 10:12 0:01 init | |
111 1116 0.0 0.0 23432 916 ? Ss 10:12 0:00 dbus-daemon --system --fork | |
avahi 1131 0.0 0.1 34084 1588 ? S 10:12 0:00 avahi-daemon: running [code.local] | |
avahi 1134 0.0 0.0 33932 572 ? Ss 10:12 0:00 avahi-daemon: chroot helper | |
root 1169 0.0 0.1 21084 1016 ? Ss 10:12 0:00 cron | |
syslog 1258 0.0 0.0 12456 796 ? Ss 10:12 0:00 /sbin/syslogd -u syslog | |
mysql 1272 0.0 3.4 246580 32452 ? Ssl 10:12 0:00 /usr/sbin/mysqld | |
postgres 1320 0.0 0.6 101624 6600 ? S 10:12 0:00 /usr/lib/postgresql/8.4/bin/postgr |
OlderNewer