Difference between revisions of "Talk:Installing Pier on Ubuntu"

From Organic Design wiki
m
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
Thanks Jack! I'll give that a try--[[User:Infomaniac|Infomaniac]] 17:28, 15 March 2011 (PDT)
 
Thanks Jack! I'll give that a try--[[User:Infomaniac|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 also repeats 4x. am i doing something wrong?--[[User:Infomaniac|Infomaniac]] 10:09, 25 March 2011 (PDT)
 +
* after restart, pointing browser to localhost:8080 gives redirect to google 'did you mean...?'--[[User:Infomaniac|Infomaniac]] 10:13, 25 March 2011 (PDT)
 +
*starting Pier manually as root succeeds. localhost:8080 works!--[[User:Infomaniac|Infomaniac]] 10:17, 25 March 2011 (PDT)
 +
:: Great stuff! [[User:Jack|Jack]] 00:01, 28 March 2011 (PDT)
 +
 
== Download and Install Files ==
 
== Download and Install Files ==
 
* Download Pier-2.0-OneClick.zip from http://www.piercms.com/download
 
* Download Pier-2.0-OneClick.zip from http://www.piercms.com/download

Latest revision as of 07:01, 28 March 2011

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 also repeats 4x. 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)
Great stuff! Jack 00:01, 28 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}}}