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 xxxxxxxxx. everywhere i look, the information seems several years old.. ideas? thanks!
What is in the 'run' file? Esteban A. Maringolo 2015-01-20 23:26 GMT-03:00 sergio_101 <sergio.rrd@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 xxxxxxxxx.
everywhere i look, the information seems several years old..
ideas? thanks!
#!/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@gmail.com> wrote:
What is in the 'run' file?
Esteban A. Maringolo
2015-01-20 23:26 GMT-03:00 sergio_101 <sergio.rrd@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 xxxxxxxxx.
everywhere i look, the information seems several years old..
ideas? thanks!
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.rrd@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 < emaringolo@gmail.com> wrote:
What is in the 'run' file?
Esteban A. Maringolo
2015-01-20 23:26 GMT-03:00 sergio_101 <sergio.rrd@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 xxxxxxxxx.
everywhere i look, the information seems several years old..
ideas? thanks!
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 phil@highoctane.be <phil@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.rrd@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 < emaringolo@gmail.com> wrote:
What is in the 'run' file?
Esteban A. Maringolo
2015-01-20 23:26 GMT-03:00 sergio_101 <sergio.rrd@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 xxxxxxxxx.
everywhere i look, the information seems several years old..
ideas? thanks!
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 phil@highoctane.be <mailto:phil@highoctane.be> <phil@highoctane.be <mailto:phil@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.rrd@gmail.com <mailto:sergio.rrd@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 <emaringolo@gmail.com <mailto:emaringolo@gmail.com>> wrote:
What is in the 'run' file?
Esteban A. Maringolo
2015-01-20 23:26 GMT-03:00 sergio_101 <sergio.rrd@gmail.com <mailto:sergio.rrd@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 xxxxxxxxx. > > everywhere i look, the information seems several years old.. > > ideas? thanks! > >
2015-01-21 9:29 GMT+01:00 Michal Balda <lists@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 phil@highoctane.be <phil@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.rrd@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 < emaringolo@gmail.com> wrote:
What is in the 'run' file?
Esteban A. Maringolo
2015-01-20 23:26 GMT-03:00 sergio_101 <sergio.rrd@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 xxxxxxxxx.
everywhere i look, the information seems several years old..
ideas? thanks!
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
philippeback wrote
why running pharo with a squeakvm?
I do it, in my Raspberry Pi :p and its slowwww
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.rrd@
> 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 <
sergio.rrd@
>:
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 xxxxxxxxx.
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.
2015-01-21 10:31 GMT+01:00 nacho <0800nacho@gmail.com>:
philippeback wrote
why running pharo with a squeakvm?
I do it, in my Raspberry Pi :p and its slowwww
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" <
sergio.rrd@
> 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 <
sergio.rrd@
>:
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 xxxxxxxxx.
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.
On 21 Jan 2015, at 11:01, Clément Bera <bera.clement@gmail.com> wrote:
2015-01-21 10:31 GMT+01:00 nacho <0800nacho@gmail.com <mailto:0800nacho@gmail.com>>: philippeback wrote
why running pharo with a squeakvm?
I do it, in my Raspberry Pi :p and its slowwww
Actually I think only the UI is slow on the Pi because on the squeak VM made by Tim he reimplemented differently BitBlt.
AFAIK, in our builds JB included Timâs additions into raspbian (FastBlt changes). Real slowness is because morphic is slow (also BitBlt is not the fastest technology neither).
Is it also slower in headless ? It shouldnât.
well⦠slowness is subjective, of course :) I think in headless mode its speed is âreasonableâ, but of course, it canât be compared to a regular machine. Esteban
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.rrd@
> 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 <
sergio.rrd@
>:
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 xxxxxxxxx.
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 <http://forum.world.st/Running-Pharo-headless-tp4800750p4800768.html> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com <http://nabble.com/>.
On 21 Jan 2015, at 10:31, nacho <0800nacho@gmail.com> wrote:
philippeback wrote
why running pharo with a squeakvm?
I do it, in my Raspberry Pi :p and its slowwww
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.rrd@
> 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 <
sergio.rrd@
>:
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 xxxxxxxxx.
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.
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 <estebanlm@gmail.com>:
On 21 Jan 2015, at 10:31, nacho <0800nacho@gmail.com> wrote:
philippeback wrote
why running pharo with a squeakvm?
I do it, in my Raspberry Pi :p and its slowwww
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.rrd@
> 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 <
sergio.rrd@
>:
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 xxxxxxxxx.
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.
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.auverlot@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 <estebanlm@gmail.com>:
On 21 Jan 2015, at 10:31, nacho <0800nacho@gmail.com> wrote:
philippeback wrote
why running pharo with a squeakvm?
I do it, in my Raspberry Pi :p and its slowwww
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.rrd@
> 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 <
sergio.rrd@
>:
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 xxxxxxxxx.
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.
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.rrd@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.auverlot@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 <estebanlm@gmail.com>:
On 21 Jan 2015, at 10:31, nacho <0800nacho@gmail.com> wrote:
philippeback wrote
why running pharo with a squeakvm?
I do it, in my Raspberry Pi :p and its slowwww
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.rrd@
> 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 <
sergio.rrd@
>:
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 xxxxxxxxx.
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.
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.rrd@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.rrd@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.auverlot@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 <estebanlm@gmail.com>:
On 21 Jan 2015, at 10:31, nacho <0800nacho@gmail.com> wrote:
philippeback wrote
why running pharo with a squeakvm?
I do it, in my Raspberry Pi :p and its slowwww
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.rrd@
> 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 <
sergio.rrd@
>:
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 xxxxxxxxx.
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.
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 <sven@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.rrd@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.rrd@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.auverlot@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 <estebanlm@gmail.com>:
On 21 Jan 2015, at 10:31, nacho <0800nacho@gmail.com> wrote:
philippeback wrote
why running pharo with a squeakvm?
I do it, in my Raspberry Pi :p and its slowwww
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.rrd@
> 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 <
sergio.rrd@
>:
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 xxxxxxxxx.
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.
Le 21/01/2015 03:26, sergio_101 a écrit :
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.
May be you installed squeak in your system from the ubuntu package management system, and it is quite outdated. You can install the pharo one with the little script given at: http://pharo.org/download You will get a newer pharo vm and a launcher that is very handy to manage images HTH -- Regards, Alain
participants (11)
-
Alain Rastoul -
Clément Bera -
Esteban A. Maringolo -
Esteban Lorenzano -
Michal Balda -
nacho -
olivier auverlot -
phil@highoctane.be -
Pierce Ng -
sergio_101 -
Sven Van Caekenberghe