homepage Welcome to WebmasterWorld Guest from 50.17.27.205
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / WebmasterWorld / The Macintosh Webmaster
Forum Library, Charter, Moderators: travelin cat

The Macintosh Webmaster Forum

    
using linux on mac ppc to make a server
Why? to use as intenal test server
katiwhompas




msg:3860072
 11:17 pm on Feb 28, 2009 (gmt 0)

I have to test Zen Cart and I have a few macs as I was doing a lot of design work for the last bunch of years...

So, I want to use a bsd or linux distro for the server... Mac OSX will not let me use SSL to run my test in-house like a LAMP w/SSL? Heck I would be happy with a "LAP" with SSL, :) Or will it? All I need is Apache, (that is in the Darwin side of OSX), then Mysql, PHP4 or PHP5, but with Curl (that is my problem with the mac OSX, Curl will not work). Last I need to run openssl.

If I can just stick to mac OSX it would be great as I can deal with that, but I am not having fun trying to work out a solution for another path... Any ideas? I spent the last 2 weeks trying Debian etch (4.*) and then lenny (5.*). I was doing better with Etch to be honest. But in any case I never got it working right. I posted in beginners forum with more details of what problem I was having. I am posting here to see if anyone has gotten php working with curl? As well as other mac related issues to choosing a server OS. Etc.

Perhaps I am wasting time trying to use an old mac ppc to run as a internal LAMP with SSL? I know it can be done, I just do not know how to configure Apache to run in my LAN as I want it to. Perhaps I should use a specific distro to find an easier path?

I would also like to know about any resource that gets into using a old mac in this way... or a book that will explain the way apache 2.2 is to be configured? With an explanation as to why? Too often it says do a thing, but not why... or exactly how, just kinda how as you are expected to know some things ahead of time. I do not seem to have the knowledge I need to go forward from this sort of instructions.
Thanks for any direction...

 

swa66




msg:3860147
 1:34 am on Mar 1, 2009 (gmt 0)

Not sure about server releases, but even a leopard client release sports apache, openssl, curl and the like:

$ httpd -v
Server version: Apache/2.2.9 (Unix)
Server built: Sep 19 2008 10:58:54
$ php --version
PHP 5.2.6 (cli) (built: Jul 17 2008 23:04:49)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
$ curl --version
curl 7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: GSS-Negotiate IPv6 Largefile NTLM SSL libz
$ openssl version
OpenSSL 0.9.7l 28 Sep 2006

This is all "out of the box", if you need other compile time options, that should be possible quite easily.

OS X server comes with mysql as well.
And if that doesn't help you, you can download it from
[dev.mysql.com...]

Just trying different linux distros won't help you.

If you look for something easier as a development evironment, try "MAMP" (never used myself, but heard good things about it)

katiwhompas




msg:3860150
 1:48 am on Mar 1, 2009 (gmt 0)

Well I'll be... When I went to set it up with my mac osx tiger & I read I could not run with curl. Otherwise I never would have put myself through this. Well, I am glad I decided to post here... I will go back and try again, and perhaps find where it said I could not have curl support. Or... I have to update to leopard? I know that I have Apache 1.* in Tiger... MAMP has SSL, etc.? hmmmm I will go look it over.. Or get Leopard. Thanks

jeffatrackaid




msg:3860175
 2:31 am on Mar 1, 2009 (gmt 0)

You may want to check into Parallels Mac Virtualization technology. You can then put CentOS on your Mac. CentOS is a free version built from Red Hat Enterprise Linux Source RPMS.

katiwhompas




msg:3860190
 3:13 am on Mar 1, 2009 (gmt 0)

Well, to be honest Jeff I have a IBM sitting here with nothing to do as well as a Sun Java dual opteron workstation in the attic. I chose the mac G4 as I have a few and they are of no use to me for anything but a server... I have newer macs and win machines to play with 3DS Max, Adobe Master Suite, Maya etc. I would rather get Leopard then to waste any more time with my pressing immediate needs... after I resolve something to get these 2 e-commerce sites done, well I would consider any number of possibilities.
Thanks for one more!

katiwhompas




msg:3860229
 6:06 am on Mar 1, 2009 (gmt 0)

Okay I found my problem. It is due to the new distro from debian and how they implement it... see this: [wiki.apache.org...]

Here are the reasons people upgrading or installing fresh from older Debian 4.0 are going to be stuck.

At least I now know it is a distro issue and not something I can resolve at Apache, etc.

As for using MAMP... I am look ing for more info regarding if this will make my mac a server I can use from a seperate computer or is it like XAMP where you use it on the same machine you design sites on?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / The Macintosh Webmaster
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved