Re: [Pharo-users] Running Pharo headless
On Wed, Jan 21, 2015 at 09:29:34AM +0100, Michal Balda wrote: is there any difference between -vm-display-null and --no-display (and using both)? Not sure what is the latest but in the VMs/images that I run, no-display meant that some display initialization is bypassed, so VNC into Pharo won't work, while vm-display-null allows VNC, which is how I am managing my image. I wrote some old blog posts on this, I think. Here's my daemontools run file that is running my Pharo-powered blog: #!/bin/sh /usr/bin/setuidgid app1 \ /pkg/pharovm/pharo -vm-display-none -vm-sound-none app1.image app1 is the uid/gid pair that I run the service on. This is on Ubuntu Trusty. Used to be FreeBSD, and if I ever have the time to get Pharo VM and NativeBoost run on FreeBSD, I may go back. -- Pierce http://www.samadhiweb.com/blog
Re: [Pharo-users] Running Pharo headless
On 21 Jan 2015, at 10:31, nacho 0800na...@gmail.com wrote: philippeback wrote why running pharo with a squeakvm? I do it, in my Raspberry Pi :p and its slo I am runnin headless with PharoVM here. Your vm params look like weird. I'll give you a copy of my CLI when I have access to my Pc. Phil Le 21 janv. 2015 03:59, sergio_101 lt; sergio.rrd@ gt; a écrit : #!/bin/bash # settings USER=badgesoup VM=/usr/lib/squeak/4.10.2-2614/squeakvm VM_PARAMS=-mmap 256m -vm-sound-null -vm-display-null IMAGE=/home/badgesoup/badgesoup_image/Pharo3.0.image # start the vm exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo emaringolo@ wrote: What is in the 'run' file? Esteban A. Maringolo 2015-01-20 23:26 GMT-03:00 sergio_101 lt; sergio.rrd@ gt;: i am ready to put my seaside app online, and am finding that all the information i am finding is outdated. where are you looking for such information? I am running the latest Pharo (as of last night), and ubuntu14.04. when i try to run using squeakvm, i get: $ sudo ./run 'Your VM is too old for this image. Please download the latest VM.' 'Pharo cannot locate the sources file named /usr/lib/squeak/4.10.2-2614/PharoV30.sources. Please check that the file is named properly and is in the same directory as this image.' A PharoCommandLineHandler is x. everywhere i look, the information seems several years old.. ideas? thanks! you should not use it a squeak vm with pharo ;) why would you do that? Esteban - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context: http://forum.world.st/Running-Pharo-headless-tp4800750p4800768.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Re: [Pharo-users] Running Pharo headless
Hi all, is there any difference between -vm-display-null and --no-display (and using both)? I used this command to successfully run a Seaside app on a headless Linux server, with a standard Pharo VM (not the Squeak one from the repositories): ./pharo-vm/pharo \ -vm-display-null \ -vm-sound-null \ --plugins ./pharo-vm \ --encoding utf8 \ ./image/Seaside.image \ --no-quit Or, to run a script at startup to initialize the app/server: ./pharo-vm/pharo \ -vm-display-null \ -vm-sound-null \ --plugins ./pharo-vm \ --encoding utf8 \ ./image/Seaside.image \ st ./startServer.st \ --no-quit Apart from running it under a limited user/group, it is also possible to chroot it for an extra security measure. Michal On 21.1.2015 09:16, Clément Bera wrote: Just a detail. When you run headless with the latest pharo-vm (that you can download here: http://files.pharo.org/vm/pharo/ in your OS directory, file stable.zip), add --no-quit after --no-display in the VM start-up options. 2015-01-21 7:21 GMT+01:00 p...@highoctane.be mailto:p...@highoctane.be p...@highoctane.be mailto:p...@highoctane.be: why running pharo with a squeakvm? I am runnin headless with PharoVM here. Your vm params look like weird. I'll give you a copy of my CLI when I have access to my Pc. Phil Le 21 janv. 2015 03:59, sergio_101 sergio@gmail.com mailto:sergio@gmail.com a écrit : #!/bin/bash # settings USER=badgesoup VM=/usr/lib/squeak/4.10.2-2614/squeakvm VM_PARAMS=-mmap 256m -vm-sound-null -vm-display-null IMAGE=/home/badgesoup/badgesoup_image/Pharo3.0.image # start the vm exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo emaring...@gmail.com mailto:emaring...@gmail.com wrote: What is in the 'run' file? Esteban A. Maringolo 2015-01-20 23:26 GMT-03:00 sergio_101 sergio@gmail.com mailto:sergio@gmail.com: i am ready to put my seaside app online, and am finding that all the information i am finding is outdated. I am running the latest Pharo (as of last night), and ubuntu14.04. when i try to run using squeakvm, i get: $ sudo ./run 'Your VM is too old for this image. Please download the latest VM.' 'Pharo cannot locate the sources file named /usr/lib/squeak/4.10.2-2614/PharoV30.sources. Please check that the file is named properly and is in the same directory as this image.' A PharoCommandLineHandler is x. everywhere i look, the information seems several years old.. ideas? thanks!
Re: [Pharo-users] Running Pharo headless
philippeback wrote why running pharo with a squeakvm? I do it, in my Raspberry Pi :p and its slo I am runnin headless with PharoVM here. Your vm params look like weird. I'll give you a copy of my CLI when I have access to my Pc. Phil Le 21 janv. 2015 03:59, sergio_101 lt; sergio.rrd@ gt; a écrit : #!/bin/bash # settings USER=badgesoup VM=/usr/lib/squeak/4.10.2-2614/squeakvm VM_PARAMS=-mmap 256m -vm-sound-null -vm-display-null IMAGE=/home/badgesoup/badgesoup_image/Pharo3.0.image # start the vm exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo emaringolo@ wrote: What is in the 'run' file? Esteban A. Maringolo 2015-01-20 23:26 GMT-03:00 sergio_101 lt; sergio.rrd@ gt;: i am ready to put my seaside app online, and am finding that all the information i am finding is outdated. I am running the latest Pharo (as of last night), and ubuntu14.04. when i try to run using squeakvm, i get: $ sudo ./run 'Your VM is too old for this image. Please download the latest VM.' 'Pharo cannot locate the sources file named /usr/lib/squeak/4.10.2-2614/PharoV30.sources. Please check that the file is named properly and is in the same directory as this image.' A PharoCommandLineHandler is x. everywhere i look, the information seems several years old.. ideas? thanks! - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context: http://forum.world.st/Running-Pharo-headless-tp4800750p4800768.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Re: [Pharo-users] Running Pharo headless
2015-01-21 9:29 GMT+01:00 Michal Balda li...@michalbalda.cz: Hi all, is there any difference between -vm-display-null and --no-display (and using both)? no-display is deprecated, whereas vm-display-null is not. It does the same but use vm-display-null or your script will stop working in the future. I used this command to successfully run a Seaside app on a headless Linux server, with a standard Pharo VM (not the Squeak one from the repositories): ./pharo-vm/pharo \ -vm-display-null \ -vm-sound-null \ --plugins ./pharo-vm \ --encoding utf8 \ ./image/Seaside.image \ --no-quit Or, to run a script at startup to initialize the app/server: ./pharo-vm/pharo \ -vm-display-null \ -vm-sound-null \ --plugins ./pharo-vm \ --encoding utf8 \ ./image/Seaside.image \ st ./startServer.st \ --no-quit Apart from running it under a limited user/group, it is also possible to chroot it for an extra security measure. Michal On 21.1.2015 09:16, Clément Bera wrote: Just a detail. When you run headless with the latest pharo-vm (that you can download here: http://files.pharo.org/vm/pharo/ in your OS directory, file stable.zip), add --no-quit after --no-display in the VM start-up options. 2015-01-21 7:21 GMT+01:00 p...@highoctane.be p...@highoctane.be: why running pharo with a squeakvm? I am runnin headless with PharoVM here. Your vm params look like weird. I'll give you a copy of my CLI when I have access to my Pc. Phil Le 21 janv. 2015 03:59, sergio_101 sergio@gmail.com a écrit : #!/bin/bash # settings USER=badgesoup VM=/usr/lib/squeak/4.10.2-2614/squeakvm VM_PARAMS=-mmap 256m -vm-sound-null -vm-display-null IMAGE=/home/badgesoup/badgesoup_image/Pharo3.0.image # start the vm exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo emaring...@gmail.com wrote: What is in the 'run' file? Esteban A. Maringolo 2015-01-20 23:26 GMT-03:00 sergio_101 sergio@gmail.com: i am ready to put my seaside app online, and am finding that all the information i am finding is outdated. I am running the latest Pharo (as of last night), and ubuntu14.04. when i try to run using squeakvm, i get: $ sudo ./run 'Your VM is too old for this image. Please download the latest VM.' 'Pharo cannot locate the sources file named /usr/lib/squeak/4.10.2-2614/PharoV30.sources. Please check that the file is named properly and is in the same directory as this image.' A PharoCommandLineHandler is x. everywhere i look, the information seems several years old.. ideas? thanks!
Re: [Pharo-users] Running Pharo headless
Just a detail. When you run headless with the latest pharo-vm (that you can download here: http://files.pharo.org/vm/pharo/ in your OS directory, file stable.zip), add --no-quit after --no-display in the VM start-up options. 2015-01-21 7:21 GMT+01:00 p...@highoctane.be p...@highoctane.be: why running pharo with a squeakvm? I am runnin headless with PharoVM here. Your vm params look like weird. I'll give you a copy of my CLI when I have access to my Pc. Phil Le 21 janv. 2015 03:59, sergio_101 sergio@gmail.com a écrit : #!/bin/bash # settings USER=badgesoup VM=/usr/lib/squeak/4.10.2-2614/squeakvm VM_PARAMS=-mmap 256m -vm-sound-null -vm-display-null IMAGE=/home/badgesoup/badgesoup_image/Pharo3.0.image # start the vm exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo emaring...@gmail.com wrote: What is in the 'run' file? Esteban A. Maringolo 2015-01-20 23:26 GMT-03:00 sergio_101 sergio@gmail.com: i am ready to put my seaside app online, and am finding that all the information i am finding is outdated. I am running the latest Pharo (as of last night), and ubuntu14.04. when i try to run using squeakvm, i get: $ sudo ./run 'Your VM is too old for this image. Please download the latest VM.' 'Pharo cannot locate the sources file named /usr/lib/squeak/4.10.2-2614/PharoV30.sources. Please check that the file is named properly and is in the same directory as this image.' A PharoCommandLineHandler is x. everywhere i look, the information seems several years old.. ideas? thanks!
Re: [Pharo-users] Running Pharo headless
2015-01-21 10:31 GMT+01:00 nacho 0800na...@gmail.com: philippeback wrote why running pharo with a squeakvm? I do it, in my Raspberry Pi :p and its slo Actually I think only the UI is slow on the Pi because on the squeak VM made by Tim he reimplemented differently BitBlt. Is it also slower in headless ? It shouldn't. I am runnin headless with PharoVM here. Your vm params look like weird. I'll give you a copy of my CLI when I have access to my Pc. Phil Le 21 janv. 2015 03:59, sergio_101 lt; sergio.rrd@ gt; a écrit : #!/bin/bash # settings USER=badgesoup VM=/usr/lib/squeak/4.10.2-2614/squeakvm VM_PARAMS=-mmap 256m -vm-sound-null -vm-display-null IMAGE=/home/badgesoup/badgesoup_image/Pharo3.0.image # start the vm exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo emaringolo@ wrote: What is in the 'run' file? Esteban A. Maringolo 2015-01-20 23:26 GMT-03:00 sergio_101 lt; sergio.rrd@ gt;: i am ready to put my seaside app online, and am finding that all the information i am finding is outdated. I am running the latest Pharo (as of last night), and ubuntu14.04. when i try to run using squeakvm, i get: $ sudo ./run 'Your VM is too old for this image. Please download the latest VM.' 'Pharo cannot locate the sources file named /usr/lib/squeak/4.10.2-2614/PharoV30.sources. Please check that the file is named properly and is in the same directory as this image.' A PharoCommandLineHandler is x. everywhere i look, the information seems several years old.. ideas? thanks! - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context: http://forum.world.st/Running-Pharo-headless-tp4800750p4800768.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Re: [Pharo-users] Running Pharo headless
Hey, all.. Thanks for the tips! i am going to try this out in a bit.. Is there any place where this info is available to those who are searching for it? I found the above at the documentation for seaside: http://book.seaside.st/book/advanced/deployment/deployment-apache/run-vm if you search around for this info, you will find that it all mirrors the above.. is the online seaside book still being maintained? is there a place where users can go to find up to date information? if not, i would be willing to help spearhead such a mission, and to host it, too.. let me know.. On Wed Jan 21 2015 at 6:29:02 AM olivier auverlot olivier.auver...@gmail.com wrote: Yes, don't forget no-quit My starting file for Seaside is: #!/bin/sh USER=www-data VM=/usr/bin/pharo VM_PARAMS=--mmap 256m -vm-sound-null -vm-display-null IMAGE=/opt/myApp/Pharo3.0.image exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE \ --no-quit Olivier ;-) 2015-01-21 12:14 GMT+01:00 Esteban Lorenzano esteba...@gmail.com: On 21 Jan 2015, at 10:31, nacho 0800na...@gmail.com wrote: philippeback wrote why running pharo with a squeakvm? I do it, in my Raspberry Pi :p and its slo I am runnin headless with PharoVM here. Your vm params look like weird. I'll give you a copy of my CLI when I have access to my Pc. Phil Le 21 janv. 2015 03:59, sergio_101 lt; sergio.rrd@ gt; a écrit : #!/bin/bash # settings USER=badgesoup VM=/usr/lib/squeak/4.10.2-2614/squeakvm VM_PARAMS=-mmap 256m -vm-sound-null -vm-display-null IMAGE=/home/badgesoup/badgesoup_image/Pharo3.0.image # start the vm exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo emaringolo@ wrote: What is in the 'run' file? Esteban A. Maringolo 2015-01-20 23:26 GMT-03:00 sergio_101 lt; sergio.rrd@ gt;: i am ready to put my seaside app online, and am finding that all the information i am finding is outdated. where are you looking for such information? I am running the latest Pharo (as of last night), and ubuntu14.04. when i try to run using squeakvm, i get: $ sudo ./run 'Your VM is too old for this image. Please download the latest VM.' 'Pharo cannot locate the sources file named /usr/lib/squeak/4.10.2-2614/PharoV30.sources. Please check that the file is named properly and is in the same directory as this image.' A PharoCommandLineHandler is x. everywhere i look, the information seems several years old.. ideas? thanks! you should not use it a squeak vm with pharo ;) why would you do that? Esteban - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context: http://forum.world.st/Running-Pharo-headless-tp4800750p4800768.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Re: [Pharo-users] Running Pharo headless
okay.. thanks your all your input! i have gotten this to work.. i tried pulling the files from the server, but was getting an issue with 'pharo' not found.. which was odd in that it was in the directory, and it had execute permissions. it had several executable files in it, but i am not sure what was wrong with it. i didn't stick around too long.. i then grabbed it from the PPA.. i installed pharo-vm-core, rather than the launcher.. this gave me pharo-vm-nox. .which i assumed meant that it was headless.. i fired this up, and everything works just fine.. the web interface works correctly, as does the RFB interface.. looks like we're good to go.. i do think that this should be documented in full somewhere. my offer still stands to write/update/host such info.. thanks! On Wed Jan 21 2015 at 8:43:16 AM sergio_101 sergio@gmail.com wrote: Hey, all.. Thanks for the tips! i am going to try this out in a bit.. Is there any place where this info is available to those who are searching for it? I found the above at the documentation for seaside: http://book.seaside.st/book/advanced/deployment/deployment-apache/run-vm if you search around for this info, you will find that it all mirrors the above.. is the online seaside book still being maintained? is there a place where users can go to find up to date information? if not, i would be willing to help spearhead such a mission, and to host it, too.. let me know.. On Wed Jan 21 2015 at 6:29:02 AM olivier auverlot olivier.auver...@gmail.com wrote: Yes, don't forget no-quit My starting file for Seaside is: #!/bin/sh USER=www-data VM=/usr/bin/pharo VM_PARAMS=--mmap 256m -vm-sound-null -vm-display-null IMAGE=/opt/myApp/Pharo3.0.image exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE \ --no-quit Olivier ;-) 2015-01-21 12:14 GMT+01:00 Esteban Lorenzano esteba...@gmail.com: On 21 Jan 2015, at 10:31, nacho 0800na...@gmail.com wrote: philippeback wrote why running pharo with a squeakvm? I do it, in my Raspberry Pi :p and its slo I am runnin headless with PharoVM here. Your vm params look like weird. I'll give you a copy of my CLI when I have access to my Pc. Phil Le 21 janv. 2015 03:59, sergio_101 lt; sergio.rrd@ gt; a écrit : #!/bin/bash # settings USER=badgesoup VM=/usr/lib/squeak/4.10.2-2614/squeakvm VM_PARAMS=-mmap 256m -vm-sound-null -vm-display-null IMAGE=/home/badgesoup/badgesoup_image/Pharo3.0.image # start the vm exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo emaringolo@ wrote: What is in the 'run' file? Esteban A. Maringolo 2015-01-20 23:26 GMT-03:00 sergio_101 lt; sergio.rrd@ gt;: i am ready to put my seaside app online, and am finding that all the information i am finding is outdated. where are you looking for such information? I am running the latest Pharo (as of last night), and ubuntu14.04. when i try to run using squeakvm, i get: $ sudo ./run 'Your VM is too old for this image. Please download the latest VM.' 'Pharo cannot locate the sources file named /usr/lib/squeak/4.10.2-2614/PharoV30.sources. Please check that the file is named properly and is in the same directory as this image.' A PharoCommandLineHandler is x. everywhere i look, the information seems several years old.. ideas? thanks! you should not use it a squeak vm with pharo ;) why would you do that? Esteban - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context: http://forum.world.st/Running- Pharo-headless-tp4800750p4800768.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Re: [Pharo-users] Running Pharo headless
There is also this document: http://zn.stfx.eu/zn/build-and-deploy-1st-webapp A bit old, but still. On 21 Jan 2015, at 16:19, sergio_101 sergio@gmail.com wrote: okay.. thanks your all your input! i have gotten this to work.. i tried pulling the files from the server, but was getting an issue with 'pharo' not found.. which was odd in that it was in the directory, and it had execute permissions. it had several executable files in it, but i am not sure what was wrong with it. i didn't stick around too long.. i then grabbed it from the PPA.. i installed pharo-vm-core, rather than the launcher.. this gave me pharo-vm-nox. .which i assumed meant that it was headless.. i fired this up, and everything works just fine.. the web interface works correctly, as does the RFB interface.. looks like we're good to go.. i do think that this should be documented in full somewhere. my offer still stands to write/update/host such info.. thanks! On Wed Jan 21 2015 at 8:43:16 AM sergio_101 sergio@gmail.com wrote: Hey, all.. Thanks for the tips! i am going to try this out in a bit.. Is there any place where this info is available to those who are searching for it? I found the above at the documentation for seaside: http://book.seaside.st/book/advanced/deployment/deployment-apache/run-vm if you search around for this info, you will find that it all mirrors the above.. is the online seaside book still being maintained? is there a place where users can go to find up to date information? if not, i would be willing to help spearhead such a mission, and to host it, too.. let me know.. On Wed Jan 21 2015 at 6:29:02 AM olivier auverlot olivier.auver...@gmail.com wrote: Yes, don't forget no-quit My starting file for Seaside is: #!/bin/sh USER=www-data VM=/usr/bin/pharo VM_PARAMS=--mmap 256m -vm-sound-null -vm-display-null IMAGE=/opt/myApp/Pharo3.0.image exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE \ --no-quit Olivier ;-) 2015-01-21 12:14 GMT+01:00 Esteban Lorenzano esteba...@gmail.com: On 21 Jan 2015, at 10:31, nacho 0800na...@gmail.com wrote: philippeback wrote why running pharo with a squeakvm? I do it, in my Raspberry Pi :p and its slo I am runnin headless with PharoVM here. Your vm params look like weird. I'll give you a copy of my CLI when I have access to my Pc. Phil Le 21 janv. 2015 03:59, sergio_101 lt; sergio.rrd@ gt; a écrit : #!/bin/bash # settings USER=badgesoup VM=/usr/lib/squeak/4.10.2-2614/squeakvm VM_PARAMS=-mmap 256m -vm-sound-null -vm-display-null IMAGE=/home/badgesoup/badgesoup_image/Pharo3.0.image # start the vm exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo emaringolo@ wrote: What is in the 'run' file? Esteban A. Maringolo 2015-01-20 23:26 GMT-03:00 sergio_101 lt; sergio.rrd@ gt;: i am ready to put my seaside app online, and am finding that all the information i am finding is outdated. where are you looking for such information? I am running the latest Pharo (as of last night), and ubuntu14.04. when i try to run using squeakvm, i get: $ sudo ./run 'Your VM is too old for this image. Please download the latest VM.' 'Pharo cannot locate the sources file named /usr/lib/squeak/4.10.2-2614/PharoV30.sources. Please check that the file is named properly and is in the same directory as this image.' A PharoCommandLineHandler is x. everywhere i look, the information seems several years old.. ideas? thanks! you should not use it a squeak vm with pharo ;) why would you do that? Esteban - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context: http://forum.world.st/Running-Pharo-headless-tp4800750p4800768.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Re: [Pharo-users] Running Pharo headless
thanks! that is not very old at all, compared to the things i was finding.. although this takes a different approach, i need to sit down and absorb this article.. good stuff here.. On Wed Jan 21 2015 at 10:23:48 AM Sven Van Caekenberghe s...@stfx.eu wrote: There is also this document: http://zn.stfx.eu/zn/build- and-deploy-1st-webapp A bit old, but still. On 21 Jan 2015, at 16:19, sergio_101 sergio@gmail.com wrote: okay.. thanks your all your input! i have gotten this to work.. i tried pulling the files from the server, but was getting an issue with 'pharo' not found.. which was odd in that it was in the directory, and it had execute permissions. it had several executable files in it, but i am not sure what was wrong with it. i didn't stick around too long.. i then grabbed it from the PPA.. i installed pharo-vm-core, rather than the launcher.. this gave me pharo-vm-nox. .which i assumed meant that it was headless.. i fired this up, and everything works just fine.. the web interface works correctly, as does the RFB interface.. looks like we're good to go.. i do think that this should be documented in full somewhere. my offer still stands to write/update/host such info.. thanks! On Wed Jan 21 2015 at 8:43:16 AM sergio_101 sergio@gmail.com wrote: Hey, all.. Thanks for the tips! i am going to try this out in a bit.. Is there any place where this info is available to those who are searching for it? I found the above at the documentation for seaside: http://book.seaside.st/book/advanced/deployment/deployment-apache/run-vm if you search around for this info, you will find that it all mirrors the above.. is the online seaside book still being maintained? is there a place where users can go to find up to date information? if not, i would be willing to help spearhead such a mission, and to host it, too.. let me know.. On Wed Jan 21 2015 at 6:29:02 AM olivier auverlot olivier.auver...@gmail.com wrote: Yes, don't forget no-quit My starting file for Seaside is: #!/bin/sh USER=www-data VM=/usr/bin/pharo VM_PARAMS=--mmap 256m -vm-sound-null -vm-display-null IMAGE=/opt/myApp/Pharo3.0.image exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE \ --no-quit Olivier ;-) 2015-01-21 12:14 GMT+01:00 Esteban Lorenzano esteba...@gmail.com: On 21 Jan 2015, at 10:31, nacho 0800na...@gmail.com wrote: philippeback wrote why running pharo with a squeakvm? I do it, in my Raspberry Pi :p and its slo I am runnin headless with PharoVM here. Your vm params look like weird. I'll give you a copy of my CLI when I have access to my Pc. Phil Le 21 janv. 2015 03:59, sergio_101 lt; sergio.rrd@ gt; a écrit : #!/bin/bash # settings USER=badgesoup VM=/usr/lib/squeak/4.10.2-2614/squeakvm VM_PARAMS=-mmap 256m -vm-sound-null -vm-display-null IMAGE=/home/badgesoup/badgesoup_image/Pharo3.0.image # start the vm exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo emaringolo@ wrote: What is in the 'run' file? Esteban A. Maringolo 2015-01-20 23:26 GMT-03:00 sergio_101 lt; sergio.rrd@ gt;: i am ready to put my seaside app online, and am finding that all the information i am finding is outdated. where are you looking for such information? I am running the latest Pharo (as of last night), and ubuntu14.04. when i try to run using squeakvm, i get: $ sudo ./run 'Your VM is too old for this image. Please download the latest VM.' 'Pharo cannot locate the sources file named /usr/lib/squeak/4.10.2-2614/PharoV30.sources. Please check that the file is named properly and is in the same directory as this image.' A PharoCommandLineHandler is x. everywhere i look, the information seems several years old.. ideas? thanks! you should not use it a squeak vm with pharo ;) why would you do that? Esteban - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context: http://forum.world.st/Running- Pharo-headless-tp4800750p4800768.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Re: [Pharo-users] Running Pharo headless
#!/bin/bash # settings USER=badgesoup VM=/usr/lib/squeak/4.10.2-2614/squeakvm VM_PARAMS=-mmap 256m -vm-sound-null -vm-display-null IMAGE=/home/badgesoup/badgesoup_image/Pharo3.0.image # start the vm exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo emaring...@gmail.com wrote: What is in the 'run' file? Esteban A. Maringolo 2015-01-20 23:26 GMT-03:00 sergio_101 sergio@gmail.com: i am ready to put my seaside app online, and am finding that all the information i am finding is outdated. I am running the latest Pharo (as of last night), and ubuntu14.04. when i try to run using squeakvm, i get: $ sudo ./run 'Your VM is too old for this image. Please download the latest VM.' 'Pharo cannot locate the sources file named /usr/lib/squeak/4.10.2-2614/PharoV30.sources. Please check that the file is named properly and is in the same directory as this image.' A PharoCommandLineHandler is x. everywhere i look, the information seems several years old.. ideas? thanks!
Re: [Pharo-users] Running Pharo headless
why running pharo with a squeakvm? I am runnin headless with PharoVM here. Your vm params look like weird. I'll give you a copy of my CLI when I have access to my Pc. Phil Le 21 janv. 2015 03:59, sergio_101 sergio@gmail.com a écrit : #!/bin/bash # settings USER=badgesoup VM=/usr/lib/squeak/4.10.2-2614/squeakvm VM_PARAMS=-mmap 256m -vm-sound-null -vm-display-null IMAGE=/home/badgesoup/badgesoup_image/Pharo3.0.image # start the vm exec \ setuidgid $USER \ $VM $VM_PARAMS $IMAGE On Tue Jan 20 2015 at 9:32:04 PM Esteban A. Maringolo emaring...@gmail.com wrote: What is in the 'run' file? Esteban A. Maringolo 2015-01-20 23:26 GMT-03:00 sergio_101 sergio@gmail.com: i am ready to put my seaside app online, and am finding that all the information i am finding is outdated. I am running the latest Pharo (as of last night), and ubuntu14.04. when i try to run using squeakvm, i get: $ sudo ./run 'Your VM is too old for this image. Please download the latest VM.' 'Pharo cannot locate the sources file named /usr/lib/squeak/4.10.2-2614/PharoV30.sources. Please check that the file is named properly and is in the same directory as this image.' A PharoCommandLineHandler is x. everywhere i look, the information seems several years old.. ideas? thanks!