Regarding the VM, in most 64bits Linux, you have to install some additional
32 bits libs. If you get a message like this:

[marianopeck@myserver pharoVM]$ ./pharo
could not find display driver vm-display-X11; either:
  - check that /opt/pharo/pharoVM//vm-display-X11.so exists, or
  - use the '-plugins <path>' option to tell me where it is, or
  - remove DISPLAY from your environment.
Aborted (core dumped)

Then you can try to execute something like:

sudo yum install mesa-libGL-devel-9.0-0.7.el6.i686 libX11-devel.i686
libXmu.i686

I do have VirtualBox running headless with Pharo running headless as well
in a CentOS 6.4. To execute Pharo headless:

./pharo  -vm-sound-null -vm-display-null  myImage.image

Cheers,



On Tue, Jun 11, 2013 at 8:26 AM, Pavel Krivanek <pavel.kriva...@gmail.com>wrote:

> Hi Robert,
>
> look at Pharo Kernel 2.0 image with Gofer
>
> https://ci.inria.fr/pharo-contribution/view/Pharo-Kernel-2.0/job/PharoKernel2.0-Gofer/
> There is a version with preloaded basic Seaside too
>
> https://ci.inria.fr/pharo-contribution/view/Pharo-Kernel-2.0/job/PharoKernel2.0-Seaside/
>
> Cheers,
> -- Pavel
>
> On Tue, Jun 11, 2013 at 12:14 PM, LogiqueWerks <grshipl...@gmail.com>wrote:
>
>> re: headless Pharo 2.0
>>
>> I just finished building gst on a tiny VPS site, but I would rather use
>> pharo ... I can get some tips from pharo --help in my SSH console but I
>> have
>> a big dev CentOS here in VirtualBox in which to experiment in headless
>> builds if set on the right track ...
>>
>> Does anyone have a tip on starting with a Pharo 2.0  core ? I just need
>> sockets, minimal HTTP and StdOut - I don't think I want Seaside on this
>> tiny
>> install ... but I would rather be using an HTTP server in Pharo than in
>> Ruby
>> or Python ... I have come to loathe Lighttpd and nginx config silliness
>> ...
>> but I could fallback to Ruby Sinatra or merb while I wait ... (the
>> poor-man's Smalltalk ;-)
>>
>> Or should I be looking to strip down a VW image and wait for Pharo 3 ?  I
>> am
>> scripting with Rebol 2 for now while I wait for rebol3 or Red ...
>>
>> thanks,
>> Robert
>> in a small Atlantic town
>> Canada
>>
>> PS last night I could not see how to run St/X without X to see what mem
>> footprint I would face !
>>
>>
>>
>> --
>> View this message in context:
>> http://forum.world.st/minimal-headless-pharo2-for-CentOS-tp4692753.html
>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>>
>>
>


-- 
Mariano
http://marianopeck.wordpress.com

Reply via email to