PDA

View Full Version : Help with CF9 Standard Install and Mac OS Server (Snow Leopard Server)




cis4life
Jan 23, 2010, 08:24 PM
Hello,

I recently purchased a mac mini server (with snow leopard server) and will be using it to host my CF9 applications. This install is WAY different than the install needed on a windows machine. I tried to install it once and somehow hosed up Apache and now I can't even get it to start up (apache). So I am having the colo company to do a full restore of the server and I took notes on the Mac Server install and below is the questions I have.

1.) Since Snow Leopard Server comes with Apache webserver, it is what CF wants to use. This is fine, I just need to know where these things are...
It is asking for the Configuration Directory: I'm guessing it is /private/etc/apache2 ? Right or Wrong???
2.) It is asking for Directory and file name of server binary: It currently defaults to /usr/sbin/httpd is this right or should I point it to another directory?
3.) It is asking for Directory and file name of server script: It currently defaults to /usr/sbin/apachectl is this right or should I point it to another directory?

It also wants the location where I can place the CFIDE. Can I place this anywhere I wish or is there a preferred location to point this to?

and finally, I have CF9 Standard, so on the mac server should I install it as a server configuration (self contained instance) or Enterprise Multiserver config. I was reading online that its better to install as an Enterprise Multiserver setup, but I don't know if this will work for me since I'm useing the standard edition.

Please Help ANYONE, if you have mac os experience and installing CF9 onto a mac server

Thanks



digeratie
Jan 30, 2010, 06:17 PM
1.) Since Snow Leopard Server comes with Apache webserver, it is what CF wants to use. This is fine, I just need to know where these things are...
It is asking for the Configuration Directory: I'm guessing it is /private/etc/apache2 ? Right or Wrong???

/etc/apache2

2.) It is asking for Directory and file name of server binary: It currently defaults to /usr/sbin/httpd is this right or should I point it to another directory?

/usr/sbin/httpd

3.) It is asking for Directory and file name of server script: It currently defaults to /usr/sbin/apachectl is this right or should I point it to another directory?

/usr/sbin/apachectl

It also wants the location where I can place the CFIDE. Can I place this anywhere I wish or is there a preferred location to point this to?

By Default, this will go in.. /MacHD/Users/yourusername/Sites. I used this directory only for my CFIDE, then edited the httpd.doc in XAMPP for the rest of my sites.

and finally, I have CF9 Standard, so on the mac server should I install it as a server configuration (self contained instance) or Enterprise Multiserver config. I was reading online that its better to install as an Enterprise Multiserver setup, but I don't know if this will work for me since I'm useing the standard edition.

FOr development, I would just install the standard developer edition as it should suffice. No need for multi-server unless you are working with strict environments or clustering or virtualization.

But I suggest installing XAMPP first, then installing CF using the HTTPD paths in XAMPP.

You can always open terminal and type 'locate httpd.conf'

Hope this helps...

Check out my "DevPod" post/question.. it may be of interest to you.

http://forums.macrumors.com/showthread.php?t=857240

Rock.