Talk:Installing Pier on Ubuntu

From Organic Design wiki
Revision as of 17:24, 25 March 2011 by Infomaniac (talk | contribs) (Set Up a Pier Image: section repeats 3x)

Thanks Jack! I'll give that a try--Infomaniac 17:28, 15 March 2011 (PDT)

Set Up a Pier Image

  • I've tried twice to insert a code block; it doesn't save (though it shows in the diff) and chrome shows four 'create new procedure' blocks. 'Serve Apache alongside Pier' section repeats 3x. am i doing something wrong?--Infomaniac 10:09, 25 March 2011 (PDT)
  • after restart, pointing browser to localhost:8080 gives redirect to google 'did you mean...?'--Infomaniac 10:13, 25 March 2011 (PDT)
  • starting Pier manually as root succeeds. localhost:8080 works!--Infomaniac 10:17, 25 March 2011 (PDT)

Download and Install Files

cd /srv

mkdir /srv/site

Copy to the /srv/site folder the following files [from Pier.app/Contents/Resources]:

pier.image,
pier.changes,
files/ folder,
PharoV10.sources
  • if you are using a gui you can chmod 777 site (to allow you to copy and paste), just don't forget to chmod 644 afterward.
  • Recursively chown the web dir:
chown -R www-data:www-data site

First run

The instructions say:

you can run the image headless by using the following bash script:
  • I'm not exactly sure what is meant by 'headless(-ly) but I think it has something to do with Apache, in the next section. I wasn't expecting to get into installing apache. I thought the image would be a complete webserver!


{{{1}}}