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
First time trying VirtualBox. Host is older Xeon i686 server box. OS is Scientific Linux 6.1. Want to run Windows 2003 guest VM headless. | |
I've attached some info. | |
Got it working. 2 changes I think. | |
* Switched from a SATA controller to an IDE controller. | |
* Added --bridgeadpater1 to # VBoxManage modifyvm Windows2003 --nic1 bridged --bridgeadapter1 eth0 | |
Also learned that X-windows is not needed to run headless. |
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
Commands used for a successful virtualbox setup Scientific Linux 6.1 host, Windows 2003 guest. | |
The Windows 2003 guest is run headless. Use an RDP client to access the console. | |
$ VBoxManage --version | |
4.1.8r75467 | |
$ createvm.sh | |
$ storage.sh |
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
fail: jruby 1.7.0.dev (ruby-1.9.3-p6) (2012-01-10 6886cc0) (Java HotSpot(TM) Client VM 1.7.0_02) [Windows 7-x86-java] | |
fail: jruby 1.6.5 (ruby-1.9.2-p136) (2011-10-25 9dcd388) (Java HotSpot(TM) Client VM 1.7.0_02) [Windows 7-x86-java] | |
fail: jruby 1.6.6.dev (ruby-1.9.2-p312) (2011-12-31 ef36279) (Java HotSpot(TM) ClientVM 1.7.0_02) [Windows 7-x86-java] | |
win: jruby 1.6.6.dev (ruby-1.9.2-p312) (2011-12-31 ef36279) (Java HotSpot(TM) ClientVM 1.6.0_29) [Windows 7-x86-java] | |
win: jruby 1.7.0.dev (ruby-1.9.3-p6) (2012-01-10 6886cc0) (Java HotSpot(TM) Client VM 1.6.0_29) [Windows 7-x86-java] | |
======================================================================================= | |
$ jruby -v |
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
declare -x JAVA_HOME="c:\\Program Files (x86)\\Java\\jdk1.6.0_29" | |
$ jruby -v | |
jruby 1.6.5 (ruby-1.9.2-p136) (2011-10-25 9dcd388) (Java HotSpot(TM) Client VM 1.6.0_29) [Windows 7-x86-java] | |
Notice "Java HotSpot(TM) Client VM 1.6.0_29" |
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
$ jruby -v | |
jruby 1.7.0.dev (ruby-1.9.3-p0) (2011-12-30 e80efe7) (Java HotSpot(TM) Client VM 1.6.0_30) [Windows 7-x86-java] | |
$ pwd | |
/c/Users/canderson/jruby/jruby-1.7.0.dev/lib/ruby/gems/1.8/gems/celluloid-io-0.8.0 | |
$ ls -R | |
.: | |
CHANGES.md LICENSE.txt Rakefile lib |
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
$ gem install win32-api --version '~> 1.4.8' | |
Temporarily enhancing PATH to include DevKit... | |
Building native extensions. This could take a while... | |
ERROR: Error installing win32-api: | |
ERROR: Failed to build gem native extension. | |
c:/jruby/jruby-1.6.7/bin/jruby.exe extconf.rb | |
WARNING: JRuby does not support native extensions or the `mkmf' library very wel | |
l. | |
Check http://kenai.com/projects/jruby/pages/Home for alternatives. |
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
FFI failing on JRuby on Windows Server 2008 | |
== Installed JRuby / JDK | |
$ jruby -v | |
jruby 1.6.7 (ruby-1.9.2-p312) (2012-02-22 3e82bc8) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_31) [Windows Server 2008-amd64-java] | |
== RubyInstalled devkit is installed for jruby 1.6.7 | |
DevKit-tdm-32-4.5.2-20111229-1559-sfx |
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
base::Celluloid ERROR 2012-09-20 12:03:18 :: Celluloid::SupervisionGroup crashed! | |
ThreadError: unable to create new native thread | |
org/jruby/RubyThread.java:301:in `initialize' | |
org/jruby/RubyThread.java:230:in `new' | |
c:/jruby/jruby-1.6.8.dev/lib/ruby/gems/1.8/gems/celluloid-0.12.0/lib/celluloid/internal_pool.rb:45:in `create' | |
c:/jruby/jruby-1.6.8.dev/lib/ruby/gems/1.8/gems/celluloid-0.12.0/lib/celluloid/internal_pool.rb:20:in `get' | |
org/jruby/libraries/ThreadLibrary.java:224:in `synchronize' | |
c:/jruby/jruby-1.6.8.dev/lib/ruby/gems/1.8/gems/celluloid-0.12.0/lib/celluloid/internal_pool.rb:17:in `get' | |
c:/jruby/jruby-1.6.8.dev/lib/ruby/gems/1.8/gems/celluloid-0.12.0/lib/celluloid/thread_handle.rb:10:in `initialize' | |
c:/jruby/jruby-1.6.8.dev/lib/ruby/gems/1.8/gems/celluloid-0.12.0/lib/celluloid/actor.rb:181:in `initialize' |
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
GEM | |
remote: http://rubygems.org/ | |
specs: | |
celluloid (0.12.0) | |
timers (>= 1.0.0) | |
timers (1.0.1) | |
PLATFORMS | |
java |
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
source "http://rubygems.org" | |
gem "celluloid" |