PDA

View Full Version : Server running from OSX



djr33
07-20-2007, 08:06 PM
I just posting to say this is pretty cool.

I'm running a server from my G5 tower now.

Disabling the default personal file sharing (http) and ftp access through the system properties is the first step, to avoid conflicts.

Then install MAMP from www.mamp.info -- easy, just install and it's done. Comes with working PHP, apache, etc. I haven't tried MySQL yet, though. But it's there and appears to be working. PHP is certainly working, with some scripts that didn't work on other computers, even.

For FTP, use PureFTPd for OSX from here: http://jeanmatthieu.free.fr/pureftpd/
It's also easy to setup. Then create an account for the FTP for your site and set the root for that to the htdocs folder within MAMP in the applications folder (as per the default configuration of MAMP).

(One of the FTP accounts I setup works great; the other works, but isn't allowing modifcation of the directory, including upload. It's a permissions issue, that I'm going to look into soon.)


And that's it.

I also had to forward ports 80 (http) and 21 (ftp) to my computer, since I have several computers attached to the same router. This is easy enough with my linksys router, though.

thetestingsite
07-20-2007, 08:31 PM
Nice, congrats. I've been messing around with the Mac X Server (with OSX) and it's pretty cool as well.

djr33
07-21-2007, 04:46 AM
I assume that's the one that comes with OSX by default. It's ok, but fairly limited... without PHP, etc.

thetestingsite
07-21-2007, 05:15 AM
Actually; when we purchased it a few years ago, it came with PHP, a built in mail server, and VNC service (as well as some other items that I can't remember off the top of my head). I'd rather the G5, but this is what I have access to currently.

djr33
07-21-2007, 05:32 AM
Oh, you mean a Mac actually designed as a server. I thought you were referring to the built in software.
That's cool.

thetestingsite
07-21-2007, 02:57 PM
http://www.apple.com/xserve/

that's the one right there.

tech_support
07-22-2007, 10:42 AM
//Looking at cost....
:eek:

djr33
07-23-2007, 05:10 PM
Haha. I love looking at that stuff on the apple store's site.
That might be the worst yet.... $23,000 for 32GB of RAM. Hilarious.