Jump to content

Mac for a webserver?


  • Please log in to reply
10 replies to this topic

#1
domino

domino

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,958 posts
  • Gender:Male
  • Location:/tmp
I am so ready to move out of Uncle Bill's house. The problem is, I have nowhere to go. Linux is an alternative, but the learning curve is too great. I use Fedora Core 3 purely as a web/ DNS/ email server under Virtual OS and keep it running 24/7.

I wuould be good news if I can consolidate both worlds. Having spend very little time with any Mac OS Distro, I was wondering if I can install and run Apache/PHP/MySQL/BIND9 and other linux application all under Mac OS. It would be great to be able to operate and run my own webserver, host serveral of my personal domains, and use it as my main computer for productivity and leasure.

Upgrading the rescources isn't a problem. I intend on upgrade 865G to P4 3.2GHz EE and 2gig DDR.

#2
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
Apache 1 is already in Mac OS, but you can add some packages from http://www.serverlog...m/downloads.php
Like Apache 2, PHP, MySQL etc.

#3
domino

domino

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,958 posts
  • Gender:Male
  • Location:/tmp
That's great to hear macgirl! Thanks for the information and link. I'm trying to build a roadmap for my transition. Whether it be a distro build from this site or if I buy a disro/Mactel from the store when it comes out, I'm moving to Mac. Now just have to find a way to do Bind9.

Edit: I found a few good reads on OSX/Bind. Looking good so far. Now for wireless drivers :lol:.

#4
Proteo

Proteo

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 683 posts
  • Location:Parangaricutirimicuaro

Apache 1 is already in Mac OS, but you can add some packages from http://www.serverlog...m/downloads.php
Like Apache 2, PHP, MySQL etc.

<{POST_SNAPBACK}>


How did you get MySQL running?? I've tried by all means with no luck, and the MySQL package available in serverlogistics site is not Tiger-ready.

PS: Mexicana?? Bravo!!! pensé que era el único :lol:

#5
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,612 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets

How did you get MySQL running?? I've tried by all means with no luck, and the MySQL package available in serverlogistics site is not Tiger-ready.

PS: Mexicana?? Bravo!!! pensé que era el único :lol:

<{POST_SNAPBACK}>


In my PowerBook I installed it since Panther and keeps working with Tiger.
I didn't try on X86, but when other things are all set I'll try.

PD: Sí mexicana, no eres el único :D

#6
domino

domino

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,958 posts
  • Gender:Male
  • Location:/tmp
I am talking to the people who make a "Free" control panel for hosting providers. Maybe the can compile a How-To for installing all the components needed to run and manage a "home/personal" ISP using OSX. Will post the results when I get some feedback from them.

#7
domino

domino

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,958 posts
  • Gender:Male
  • Location:/tmp
Hi macgirl or anyone. I went over to the link and tried up update apache and it just didnt work. So I went over to the forum to try to get answers. Not too much support on that site. I was hoping you can point me to where I can upgrade apache 1.3 to 2.x and get mySQL properly running.

regards

#8
DarkCarnival

DarkCarnival

    InsanelyMac Protégé

  • Members
  • PipPip
  • 64 posts
You *really* should give it some thought one last time before you run ahead and do it. It's really a question of the right tool for the right job. In the end, I'd say that the easiest (as well as the generally best) solution would be to use a linux computer -but NOT fedora!

I've tried fedora several times myself and it seems more complex to update and manage software than it should be. If I were you, I'd pick up a real server system (you'll generally be able to build better systems with PC hardware than buying a mac, a server doesn't need a graphics card for example, a 64bit CPU is nice though!)

Do have a look at Ubuntu before you rush off and into this MAC-server thing. It would be ridiculously easy to set up and maintain a server system. As I understand it, Apple has a habit of updating their OS with a six months release cycle (which will prove costly, don't you think ?). This is the same for Ubuntu, only there you change the name of the system in your update program and tell it to update --Os upgrade ready and done, this can also be done by terminal, like so:
[edit /etc/apt/sources.list and change every occurence of say, "Hoary" to "Breezy"]
apt-get update
apt-get dist-upgrade

Also, installing Apache2, MySQL and whatever else you want is as easy as typing the name of the app in your updateprogram and clicking the search button, then just click the checkboxes for what you want and Ubuntu will do the rest for you.

I've been running Debian (Ubuntu is built on Debian) on a dell server for 3 years now.. Every time I want to update to make sure I get the latest security patches and all, I just open up a terminal and type
apt-get update
apt-get upgrade

Then I'll go back to doing whatever I was doing ;) I doubt you'll keep seing MySQL ports for say OSX 10.4.4 forever.. After that its a COMPLETE version upgrade or you compiling by source --which seems like something you're reluctant to do ;)

Trust me, using either Debian or a Debian-derirative, you'll never *ever* have any problems with packages, updates are quick to reach you and your computer will always be supported. This comes not from a penguin-lover per se, but from a person who's actually been running quite a few server systems, anything from Routers, DNS-servers, Web-Servers, FTP-servers and Fileservers.

Hope you'll care to read it all, got a bit long I think.. Don't hesitate to ask if it seems more attractive to you now.

#9
Mofo-X

Mofo-X

    InsanelyMac Protégé

  • Members
  • PipPip
  • 80 posts

How did you get MySQL running?? I've tried by all means with no luck, and the MySQL package available in serverlogistics site is not Tiger-ready.

PS: Mexicana?? Bravo!!! pensé que era el único :pirate2:


Greetings,

I currently use my Mini as an internal webserver, I have Apache, MySQL, PHP, Perl, and Python running fine, I am surprised you had problems installing apache, probably the easiest way to do it would be to install via the .DMG provided from MySQL's website, it also includes a SysPrefs Panel for starting/stoping, I did have to alter my PATH though as mysqladmin/mysql weren't in a directory that was already in the path statement, if you have any problems throw me a message. On a side note, if you install from their website, you may have to se the oldpassword function for older scripts, see v5 notes.

Regards,

{censored}-X

#10
domino

domino

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,958 posts
  • Gender:Male
  • Location:/tmp
I wasn't implying that I use OS X as a production server. You can use Debian or Ubuntu as a webserver, but I prefer and I am used to running FC or RHE for over 5yrs now. Anyway, I think this discussion is solved with MySQL UB was released. Soon when Apache 2.0 UB will be released and fill dependencies for the existing Apache 1.3, there should not be any problems. It would be nice if Apple compiled PHP with GD, but it looks like we will have to recompile that ourselve. I've written a small how-to somewhere on this forum to get all the servers running on 10.4.3 and above.

#11
A Nonny Moose

A Nonny Moose

    Proud PPC User

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,421 posts
  • Gender:Male

Do have a look at Ubuntu before you rush off and into this MAC-server thing. It would be ridiculously easy to set up and maintain a server system. As I understand it, Apple has a habit of updating their OS with a six months release cycle (which will prove costly, don't you think ?).


Apple does major OS upgrades on an 18-month schedule, not six.

Also, for simple web serving, I'd really give a Mac mini a shot first. Just make sure to upgrade the RAM to at least 512 MB. After htat it's a simple matter of making the website, putting it in your sites folder, and turning on web sharing. If you're wanting something a lot more complicated in terms of web hosting, then I'd look for other server options or build your own (but always remember, you tend to not get any help outside of message boards if you build your own)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy