Hi David,

Just following up on os x client deployment.

Here are *very brief* notes. Just ask if sth not clear. I think nothing special really, but I did do a few extra things due to the File Not Found (which was a Safari browser cahing bug that fooled me ... yes Johan H, it is a bug :-P ) ...... and without reverting those things I really don't know whether they are necessary or not .... and I am too busy to experiment on reverting now ... got a lot of work to do before going on vacation.

Anyway>

- Installed OS Client, usual erase and install OS X Journaled

- System Preferences need to be adjusted to the thing does not go to sleep on you. This video is a good reference of Sys Prefs for setting up os x client for server use .... and will save me typing it out here. Some prefs, like bluetooth config, etc will not apply to an XServe obviously.
http://www.farawaymac.com/mac-server/mac-server-series-initial-setup-of-the-mac/

- Turn on Personal Web Sharing in prefs.

- I configured ssh keypairs to give me passwordless ssh login/tunneling

- I installed MySQL 5.0.latest, configured my.cnf so it defaults to innodb and has enough RAM for the databases that are planned for it, copied over my com.mysql.MySQL.plist launchd item and launchctl load, then configured mysql root password and deleted mysql guest access.

- I also turned on Automatic Login .... I just remember I had to do this once before for a different machine using OS X client as a headless mysql replication slave and backup server ... cannot remember why, but I think it might be that if you have external backup drives hanging off the OS X Client "server", I think ext drives will not mount if no one logged in.

- XCode latest downloaded and installed it with latest WebObjects (5.4.3)

- I check WO version plist, and IIRC (it was a long day), it was 5.4.2, so I downloaded 5.4.3 and installed that. Alternatively u can probable use the WOInstaller.jar to just install WO frameworks I guess.

- checked/configuered log dirs for wo apps with correct permissions. If u use /Library/WebObjects/Logs, they are correct already. I also use /var/log/webobjects_apps

- installed the 2 launchd tasks for wotaskd and womonitor and included stdout and std err params to get any logging info

- edited SpawnOfWotaskd.sh to capture logging info

- configured apache.conf using the IP address of the machine (YMMV if u use localhost)

- Deleted everything out of /Library/WebObjects/Extensions

- apache 2.2 config
- Included apache 2.2 include in /etc/apache2/httpd.conf and adjusted the <Directory "/"> directove same as development (see wiki) ...... not sure if this is the most secure thing to do, but it seems necessary to get WO to work.
        

- Added WOHost=<local_IPaddress> to both womonitor and wotaskd Properties files (might be optional for you)

- Configured WOMonitor
- used local_IPaddress for the Host Name (even though it really is the localhost, but anyway)
        - used http://public_host_name/cgi blah blah for the Http Adaptor URL
        - Email Notifications

- Deployed fully embedded wo 5.3.3 app and it launches first time, migration0 and all.

- And besides disabling the cache in any browser on your own machine so you are not folled into think your server is not working, that is about it. As u can see ...... nothing special it seems.

HTH, Kieran
        









_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to