[Pharo-project] installing a cog image to deploy pier
yanni at rogers.com
Tue Nov 23 02:50:40 CET 2010
On 22/11/10 6:43 PM, sergio_101 wrote:
> but i am not sure how to install it.
> i have tried a few different things that i thought made sense, but
> they didn't work..
> anyone have any ideas?
Create a squeakvm directory somewhere on your server.
Download the coglinux.tgz file from the link above, to the squeakvm
Un-tar and un-gzip it using:
tar -ztvf coglinux.tgz
Create a shell script to start your image. The shell script should
contain something like (adjust the directory to be where you created
your squeakvm directory):
# vm configuration
if [ `uname` = "Linux" ]
PHARO_PARAM="-mmap 100m -vm-sound-null -vm-display-X11 -headless"
elif [ `uname` = "Darwin" ]
echo "Unsupported OS: `uname`"
# start the vm
"$PHARO_VM" $PHARO_PARAM "$IMAGE" "$SCRIPT"
More information about the Pharo-project