Mac OS X client HOWTO

Author Message

rraph Pautasso

Tuesday 29 March 2005 11:50:35 pm

For those who want to install and run EZ Publish on Mac OS X, a quick and dirty HOWTO:

Tested on Mac OS X 10.3.8 with PostgreSQL 8.0

- download the ezpublish-3.5.1.tar.bz2 (or newest version)
- StuffIt Expander will expand it
- In goal to speed up by a factor four, you should change the DocumentRoot in /etc/httpd/httpd.conf to a new folder at the root (/www for example)
In fact, i follow the tip from this forum and it works great :)
- and :
sudo mkdir /www
sudo cp -R ezpublish-3.5.1/* /www
sudo chown -R www:www /www

- Download all the required packages from entropy.ch
At least, PHP and (pgsql or mysql), there is a ImageMagick package but i have not test it yet.
For pgsql, my HOWTO in the entropy.ch forum solve the "Function digest(character varying)" problem
- Follow all setup instructions from entropy.ch for your selected packages
- Test all of them
- If all ok, go to http://127.0.0.1/index.php and create the demo
- Enjoy !

I have made a SQL file that cleans the database in case of trouble during installation or reinstallation.

Ɓukasz Serwatka

Wednesday 30 March 2005 12:11:18 am

Hi,

Thanks for this HOWTO. Useful info for Mac OS X users.

If you want, you can publish whole step-by-step howto here.
http://ez.no/ez_publish/documentation/toc/(from)/29466

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

rraph Pautasso

Thursday 31 March 2005 12:50:08 am

OK
Of course, it will take some times before it is ready but it is now a work in progress :)

Christiane Kloss

Thursday 31 March 2005 1:56:46 am

Hi rraph!

The speed up sounds great.
Does it work for multiple sites as well?
For example /www/testdomain1 /www/testdomain2...

"In fact, i follow the tip from this forum and it works great :)"
Can you give me a hint, where I can find it?

Thanks in advance

Christiane

rraph Pautasso

Thursday 31 March 2005 11:15:17 pm

Where i found the tip:
http://ez.no/community/forum/install_configuration/help_how_to_improve_performance_ez_slow

Darwin, the lowest level of Mac OS X is based on a BSD distribution (i cannot remenber which one).

So, when the ez base folder was moved from /Library/WebServer/Documents/ez to /www, the speed increased by a factor four

If you use multisites, it may speed up but less, of course.

Uninstall Virex on my PowerBook cut by half the server treatement time too and now ez is quite fast :)

Christiane Kloss

Friday 01 April 2005 1:28:16 am

Thank you!

I'm sure I will give it a try very soon...

Greetings

Christiane

rraph Pautasso

Sunday 08 May 2005 11:41:53 am

Correction : i have not enough time to work on a clean HOWTO before June... :(

Joe Rupp

Wednesday 21 December 2005 9:24:25 am

I must admit to being a novice at this and I wonder if someone can give me a little more detailed rundown on a Mac OS X install. I've downloaded and unzipped the ezpublish-3.7.2.tar.bz2 file. Where exactly do I need to put it in order to connect and setup using my web browser? Thanks in advance.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 06:24:36
Script start
Timing: Jan 31 2025 06:24:36
Module start 'layout'
Timing: Jan 31 2025 06:24:36
Module start 'content'
Timing: Jan 31 2025 06:24:37
Module end 'content'
Timing: Jan 31 2025 06:24:37
Script end

Main resources:

Total runtime0.9916 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.1328151.2109
Module start 'layout' 0.00520.0020 739.343836.6641
Module start 'content' 0.00730.9836 776.00781,068.3906
Module end 'content' 0.99080.0007 1,844.398416.4844
Script end 0.9915  1,860.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2971160.0002
Check MTime0.00120.1255160.0001
Mysql Total
Database connection0.00070.073510.0007
Mysqli_queries0.924493.2270760.0122
Looping result0.00060.0645740.0000
Template Total0.965897.420.4829
Template load0.00190.189220.0009
Template processing0.963997.207820.4819
Template load and register function0.00130.130310.0013
states
state_id_array0.00070.073710.0007
state_identifier_array0.00060.065520.0003
Override
Cache load0.00170.1731570.0000
Sytem overhead
Fetch class attribute can translate value0.00060.060440.0001
Fetch class attribute name0.00190.1951100.0002
XML
Image XML parsing0.00280.278140.0007
class_abstraction
Instantiating content class attribute0.00000.0020110.0000
General
dbfile0.00290.2967240.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs