Slashdot Mirror


Setting Up A Site Server with Jaguar

rgraham writes "James Duncan Davidson (the original author of Apache Tomcat and Apache Ant) has an article over at O'Reilly's MacDevCenter that walks you through the steps of not only getting Apache up and running on 10.2 (pretty simple, I know) but also DNS and Mail. The aricle goes along well with Alan Graham article on how to setup your own .Mac type service."

103 comments

  1. What's even easier by Anonymous Coward · · Score: 0

    Is setting up IIS. .NET > .Mac

    1. Re:What's even easier by Anonymous Coward · · Score: 0

      taking down an IIS server is even easier than setting one up!

  2. Prelude (draft) by Projectile · · Score: 0, Offtopic

    THE WOMAN IN THE RED CONVERTIBLE drove on an abandoned highway, one hand on the steering wheel and the other holding a lit cigarette. Orange and red clouds of morning littered the otherwise barren horizon. Her weary eyes focused on the infinite fields of grass and wheat waving restlessly in the morning breeze.

    She reached hastily for the button to retract the top, the aforementioned breeze caressing her coarse brown hair. The radio played softly.

    "Let's go down the waterfall," it sang tirelessly. "Have ourselves a good time." She flicked ashes from the cigarette.

    "It's nothing at all; nothing at all, nothing at all."

    She threw her burning cigarette onto the road, hoping secretly that the pavement would catch fire, and then once again reached for the button. The top shut with a satisfying click. Oblivious of her destination, she depressed the accelerator to the floor, her automatic revving in response. Faster and faster she carelessly drove until the car could accelerate no further.

    A small bridge loomed ahead. Much like her life, the river beneath it was perpetually stagnant. As she neared it, epiphanies inundated her mind. Everything -- what she must do -- became clear. Without hesitation, she jerked the wheel to the right, smiling in her ignorance. To this woman, the future was of no relevance. For those seconds, ignorant or not, she was alive. Then, after her brief moment of solace had passed, all was eternally still.

  3. Web Server on Powerbook by C0deJunkie · · Score: 0

    I like Mac, I really love PowerBooks, but I simply can't understand why one should use a laptop computer (that I assume is not built to run 24/7) as a Server system. Yes, I understand that california blackouts can be part of the answer, but it's not enough.
    I mean..at least this particular is non really useful to the reader of the article.

    1. Re:Web Server on Powerbook by cioxx · · Score: 1
      I like Mac, I really love PowerBooks, but I simply can't understand why one should use a laptop computer


      Uhm.. the article just mentioned laptops in general sense. It didn't recommend to actually install a webserver on it. Otherwise, they would be as 'useful' as Setting up a web server on a GAME BOY ADVANCE
    2. Re:Web Server on Powerbook by foniksonik · · Score: 4, Funny

      It is a wonderful thing to do j2ee dev at the local Starbucks on your localhost Apache /Tomcat/whatever... then finally to upload it all to your dedicated server through your tMobile account... I mean can you get any better? Not to mention how jealous all your friends are that not only can you afford the Powerbook but that it actually makes more money for you while you appear to be taking it easy (well, you really are at least half of the time...).

      --
      A fool throws a stone into a well and a thousand sages can not remove it.
    3. Re:Web Server on Powerbook by Anonymous Coward · · Score: 0

      So What?! Nerds have been doing this (on WINDOWS even, nevermind Linux) for a long while now. Glad to see you catching up...

    4. Re:Web Server on Powerbook by GutBomb · · Score: 3, Insightful

      lots of code written to run on windows web servers (even the win32 version of apache) needs to be rewritten to run on the production unix server because of locations of libraries, stuff that's not ported, etc... (i guess some of this could be overcame with cygwin, but...)

      also in linux you don't get photoshop, or perhaps other commercial tools that most web developers are familiar with. lots of web developers are also stuck with design assignments mixed in with the development, so it's a good idea to have solid graphical tools.

      the mac you get both a stable and compatible unix environment, and industry standard graphic design tools.

      This is the exact reason why i bought myself an iBook, and I don't regret it a bit.

    5. Re:Web Server on Powerbook by Cyclops · · Score: 2, Informative

      also in linux you don't get photoshop, or perhaps other commercial tools that most web developers are familiar with.

      If not directed to print media, The GIMP surpasses Photoshop in quality (not to mention that it by FAR surpasses Photoshop in Freedom). And if you're a web developer that uses a GUI to do web pages, well, you just plain suck as pro man :)

    6. Re:Web Server on Powerbook by Anonymous Coward · · Score: 0
      php/mysql written properly is totally transparent from windows to linux, mine is. So I guess your coder is an idiot.

      ooOOOoo Photoshop, I really need that to administer apache... especially when I got GD.

      Yeah I know, free hurts when you paid $3000

    7. Re:Web Server on Powerbook by GutBomb · · Score: 2

      i personally don't use a gui for web page editing (i am currently using bbedit) but "the gimp surpasses photoshop in quality" is your opinion, but when i have been working with industry standard tools for years and have all the freedom i need to do anything i want in photoshop (because i know how to use it correctly) why should i switch? and how exactly does GIMP surpass photoshop in quality? does it provide an easy image slicing tools like imageready? or image optimization that is superiour to imageready (since you yourselfg said it surpassed photoshop it would have to be better to get me to give it a chance). does it support actions or photoshop plugins? All of these are honest questions because when i tried using it once none of these things were apparent to me. it seemed a bit like Paint Shop Pro to me. Like a program that looks like it can compete with photoshop to someone that doesn't really know how to use the photoshop.

    8. Re:Web Server on Powerbook by Anonymous Coward · · Score: 0

      Until of course, that is, you friend does the same from his Linux PDA. Then you look like you paid a lot now for something we had years ago and have since moved on from ;)

    9. Re:Web Server on Powerbook by Cyclops · · Score: 3, Informative

      Well, the worst thing you can say about GIMP is not supporting CYMK and a probably a couple more other patented stuff.

      Plugins, it will not load Photoshop's, AFAICS even if run on Windows, but that is hardly something you will really miss, since it has a huge amount of plugins by itself, and if you're not happy with how one works, or need something extra, it's *relatively* easy to change and extend (or maybe you could convince a more experienced GIMP user/developer to help you extend it).

      GUI, it's not Photoshop (and who said Photoshop's gui was simple?) but it has already won some prizes, and, its the origin of GTK+ (GIMP ToolKit), which is used in one of the two most used Free Software desktop environments.

      Feature set, if you consider Photoshop as a 100% feature set app, GIMP may not be 100% to your eys, but if you consider PaintShopPro as 100%, then GIMP is eons ahead.

      The lack of CYMK, makes GIMP not ready for the world of print, but in the fully digital world, there's absolutely no need for Photoshop. It may have a different UI, or you may not like the interface, the extensibility and the Freedom (no, you are not free to share a Photoshop copy with your friends or family, for instance).

      But do join the GIMP mailing lists, and you'll see that in the digital world, you can (and probably will) live very happy without Photoshop.

    10. Re:Web Server on Powerbook by GutBomb · · Score: 2

      free doesn't hurt, but it's the place that i work at that paid for the machine and the software so what do i care about the price? and who said anything about php/mysql? are those the only languages out there? tomcat and mod_perl suck for windows, and the tools on linux aren't up to my standards (i guess i offended a linux user by saying that i didn't prefer it over closed software) and i never said i needed photoshop to administer apache. i said it's nice to have all the tools on the same machine so i can work on a site on the bus or on the train or in a cofee shop, or in bed, with the tools that i am used to, and not have to modify anything. and besides, an ibook costs $1100, not $3000. and i get marked troll :rolleyes: For all the people that say "why on a mac" here is the explanation. there is one of these for every platform. there is a "set up apache as your own developmnent server" howto for every platform, and up until now my question was why not mac? they are capable of running apache, so why not show the interested people how to do it?

    11. Re:Web Server on Powerbook by babbage · · Score: 3, Informative
      None of your points really met this guy's questions. The way I see it, Gimp is an excellent graphics application for programmers & sysadmins. Photoshop is, with good reason, *the* graphics application for graphics professionals.

      Take for example automation, which is critical for anyone that's going to be driving the software as their job. Photoshop actions, kind of like Applescript, allow you to record your activity and then have the software play it back to you by pantomime. There isn't much to get the hang of, because you're just recording the activity you're doing normally. Gimp's ScriptFu, on the other hand, allows you to script actions in Perl -- right? Now I love Perl, use it all the time, am a member of the local Perl Mongers group, etc, but that is *not* how I picture the average graphics professional wanting to work.

      Gimp over Photoshop is an argument much like Linux over Windows -- in spite of all the shouting, the dominant player actually does have some strengths going for it, and the hackishness of the open source competitor just doesn't compare to the polished maturity of the dominant software. If you've got the time to spend on beating the open source stuff into submission -- and hey, that can be fun, I'm not trying to knock that if it's what you're in to -- then sure, the path of "freedom" might be worthwhile. But for everyone else, this isn't a political matter, and they don't exactly feel like slaves because they happen to prefer the [unfortunately] generally superior proprietary software to the open/freee/whatever alternative, whiich has been "almost catching up" for years now...

    12. Re:Web Server on Powerbook by reallocate · · Score: 2

      That pretty much summarizes why I switched to OSX after several years on Linux. Too much is "not ready". I've never had any reason to share software -- open source or proprietary -- with anyone, nor have I ever had a reason or the time to change someone else's code to my liking.

      While the "freedom" aspect is interesting, the development model's diffused and decentralized nature often puts users' interests at risk when developers leave a project before completion. If no one else steps in to finish the product, users are left holding the bag with a released-but-unfinished piece of software. (Again, access to source is irrelevant for people who are not developers.)

      I'm not a poor college student or struggling developer. I can afford to buy my software. What I want from software is capability, ease of use, polish, and choice. Open source may or may not give me those. Even the much touted choice attribute is somewhat illusionary. Open source, in common with proprietary software, suffers from a decided lack of really original applications..

      --
      -- Slashdot: When Public Access TV Says "No"
    13. Re:Web Server on Powerbook by Bobartig · · Score: 1

      the tools on linux aren't up to my standards

      What was that? But you're supposed to use the linux tools that do the job better! You can't compare things that linux isn't good at/hasn't developed yet... this is /. for god's sake.

      This whole "I used solution X on NT, or solution Y in linux, so if you're still doing it on a Mac, then you and your mother are illegitimate swine" attitude is so friggin' childish.

      How about, "It's nice to see you've found a solution for your workflow blending both open and closed source software out there, but here's some other alternatives that might also get your work done... blah blah"

      It's like 90% of /. poster's never got past 4th grade.... One of the largest problems with geeks is that they put all this effort into being "geekier than thou" but none into being helpful. Mod away, I'm emotionally stable.

      But in a more related topic: How exactly is this front page news? I mean, this wouldn't be front page on a Mac News site. And, putting a functional web/dns server on a Powerbook IS silly, but for some reason, I see it all the time as well *boggle*.

      --
      This is where I get my recommended daily allowance of "Foot in Mouth."
    14. Re:Web Server on Powerbook by Anonymous Coward · · Score: 0
      File extensions are flat out wrong anyway. That is the worst misfeature of VMS too. It still gives me nightmares.

      The part about not using the MDI style applications is in my opinion _very_ wrong. I often have 3 or more applications open when working and I find it damn confusing to look at all of them at the same time. Ever hit something outside the program you are working in and then spend time finding your way back?

      Macs are just crappy for working with if you use more than one program at a time.

      The gui is just not designed to let me move around with speed and ease. Linux and Windows are much better at that.

      Bottom line: Macs are too expensive and slow. I like my new dual mp 2000+; it's cheaper and faster (and it runs Linux properly!).

    15. Re:Web Server on Powerbook by Anonymous Coward · · Score: 0
      Macs are just crappy for working with if you use more than one program at a time.

      [boggles]

      Apps currently running on this Mac (which I am switching between frequently): 9

      Which are you? Dumbass or troll?

    16. Re:Web Server on Powerbook by Anonymous Coward · · Score: 0
      php/mysql written properly is totally transparent from windows to linux, mine is. So I guess your coder is an idiot.

      Not everybody uses php/mysql as their solution.

      ooOOOoo Photoshop, I really need that to administer apache... especially when I got GD. Don't me an ass. Web designers, the good ones anyway, frequently do graphic editing that goes beyond what can be easilly accomplished with the GIMP. If you are merely an apache administrator, as this comment implies, you don't need a fucking laptop anyway, because your whole job is to load modPerl on new Apache servers if it's missing, and reboot the IIS servers when they crash (about twice a day).

      Yeah I know, free hurts when you paid $3000

      New iBooks start at $1100. You sound like one of those dicks that made all their decisions about Apple technology in 1992, and never seriously looked at them again.

    17. Re:Web Server on Powerbook by NDPTAL85 · · Score: 1

      How much longer do Linux users have to put up with "almost ready" applications like GIMP before they can have an equal amount of features that Windows and Mac users currently have and have had for years?

      --
      Mac OS X and Windows XP working side by side to fight back the night.
    18. Re:Web Server on Powerbook by Cyclops · · Score: 2

      I'm not exactly a Linux user, well, I am, indirectly, since that is the current kernel of the GNU system. Since I choose not being a subject to the kings above me, who could dicatate over my freedoms, I'll wait as long as its needed.

      Did we pay them _anything_ in order to be able to demand _anything_?
      Probably not. So, we don't have to put up with almost ready applications. We can help them get there, always without compromising our freedom. Besides, I'd ask how long will Microsoft Windows or Apple MacOS users have to put up without their rights?

    19. Re:Web Server on Powerbook by NDPTAL85 · · Score: 1

      You throw around the words "kings", "freedom" and "rights" like we're living in some medival fiefdom where we are all impoverished peasants with miserable standards of living. Besides the fact that such flippant use of those terms marginalizes those who really did live in those conditions it also show's some people take some things way too far.

      Its the year 2003. We're talking about computers that help us get our work done. Now you're perfectly entitled to use whatever you want to use, I'm not questioning that. But to say that a Windows user or a Mac user is being denied his "rights" is very silly. Microsoft and Apple can't stop you from owning a gun. They can't lodge troops in your home without your permission (heck they don't even have troops.) They can't deny you your right to vote and they can't stop you from assembling freely in public. What "rights" exactly do you speak of? The right to reverse engineer someone else's IP that they worked hard to create and should be able to earn an income from? Hmmm. Thats one right I'm never going to miss not having. Why do I think this way? Because I can see from observing both proprietary and open source software development that making good and sometimes ANY software is hard. Its damn hard. How many pieces of software do you know of that have had no bugs? Too many people think that some whiz kid sits in front of a computer for 15 minutes, frantically punches out brilliant code and then goes skateboarding the rest of the day. Well thats just not how its done. Software engineers are some of the hardest working people around. Compound that with the fact that a coder's career is often cut short from burnout or rampant agism they really have to make as much as they can before their time is up. No, I'm not asking you to cry for the "Poor Proprietary Coders" of the world. I'm just trying to explain why I harbor no sympathy for freeloaders, which I think makes up the bulk of the open source and free software using communities.

      I didn't buy a computer to help out in some "movement". I bought one to help me complete a given task in a shorter amount of time thus increasing my personal productivity. I will gladly reward financially those corporations and or individuals who help me achieve more and more productivity. I also use open source software when its appropriate (like on the server side or in my Mac OS X comp since its built on UNIX) but I try to contribute when I can (I belong to the Mandrake Club). But I never bitch about "rights" because at the end of the day certain "rights" aren't worth the trouble you have to go thru to get them (trouble such as putting up with the piss poor GUI's of most open source software or the horrible user support, mailing lists and forums don't cut it for everyone and just general software unavailability on the desktop.)

      --
      Mac OS X and Windows XP working side by side to fight back the night.
    20. Re:Web Server on Powerbook by Cyclops · · Score: 2

      Well, there is a small number of empowered people who 'own' the masses by being the only ones who can dictate what happens to your computer and the things you do. I consider this a certain return to medieval times, yes.

      Now, whoever thinks that independence and freedom are easy paths, then some history needs to be learned.

      Microsoft and Apple are in a perfect situation to tell you you can't do this or that at their will. You have no rights over what you bought, not even the rights fair use gives you. Of course you can disobey the license, but then, you will be violating international copyright law. I rather keep those problems at a distance that can never be far enough.

      The right to reverse engineer someone else's IP that they worked hard to create and should be able to earn an income from?
      First, you are wrong to say that it is intelectual property, since that is precisely proving that you bought the propaganda and are now confusing copyright law, patent law, trademark law, etc... all mixed in a bag like they are the same thing when they are, in fact, ortogonal.
      Reverse engineer _is_ covered in the law and is widely considered a benefitial thing. Only proprietary software vendors want to forbid that, so that no one can make products that will even interoperate with theirs, thus resulting in a monopoly that leaves you at their mercy.
      You are also confusing ideas with expressions of ideas. You can't own an idea, for instance, since _anyone_ can have the same idea (since all ideas are developed incrementally above older ideas) even without knowledge that someone else had the same idea. They lost both their time (and possibly money), but one will have to give up because of the other one? That's ridiculous. But if you copy the expression of an idea and then change it, you then are falling under copyright law. If you allow software patents, you will automatically forbid anyone of creating Free Software that could compete with the proprietary software, thus lacking the completeness you complain... no wonder... they can't compete, it's not a free market but a monopolistic market!

      I'm just trying to explain why I harbor no sympathy for freeloaders, which I think makes up the bulk of the open source and free software using communities.
      So I can safely assume you are in favour of the not invented here syndrome, and that everyone should loose their time re-inventing the wheell so that they can't loose their time making better and more complex software... ok, that's what you want.

      I didn't buy a computer to help out in some "movement". I bought one to help me complete a given task in a shorter amount of time thus increasing my personal productivity.
      I'm not intending to force you into joining a movement. Just noticing that you have no right whatsoever to complain. YOU are the freeloader when you use Free Software and yet complain, as if you paid anything, as if you helped develop anything. You can shoot yourself now since you harbor no sympathy for yourself.

    21. Re:Web Server on Powerbook by NDPTAL85 · · Score: 1

      I have every right to complain about the quality of free software. The developers are the ones who put it out there, and whatever you put out into the public you expose to criticism. It is not my fault they are unwilling to stand up to the heat. I already told you I DO contribute monetarily.

      Software patents are an excellent way for the software industry to protect its very existence. I care more about someone trying to make a buck than I do about someone contributing to some nebulous "greater good" that encourages a lack of understanding of commerce at large and why the trading of goods for money is both a good and necessary thing.

      --
      Mac OS X and Windows XP working side by side to fight back the night.
  4. Why should anyone use a Mac as a server ? by Krapangor · · Score: 0, Troll

    I personally understand people who use Macs a desktop computers/workstations. At least not everyone has that thight grip at technology and therefore it better for some people to use easy-to-use computers.
    But why use them as servers ?
    Admins should have a clue how to use computers and therefore shouldn't be dependable on easy-to-use interfaces.
    Standard server system are much cheaper even with the obligatory redundancy stuff.
    Sorry, but I don't see the points for Macs.

    --
    Owner of a Mensa membership card.
    1. Re:Why should anyone use a Mac as a server ? by cscx · · Score: 0, Flamebait

      Macs (not this BSD-based OSX crap, I'm talking about Classic MacOS) were the least hacked OS when it came to web serving. Ask yourself why the US Army switched to MacOS/WebSTAR from IIS and not to Unix? Cause Unix, believe it or not, is just as bad as Windows when it comes to security. I don't think a Mac web server has ever been hacked, defaced, etc, and I also believe there was a contest with a cash prize for the first person to do so.

    2. Re:Why should anyone use a Mac as a server ? by Anonymous Coward · · Score: 0

      because there were what, 3 of them on the internet, at the same time?

      Launch Netscape on system 7.5.1, and 30 seconds until you have the classic "Error Type 11"

      ever try to format a floppy and print at the same time?

    3. Re:Why should anyone use a Mac as a server ? by Anonymous Coward · · Score: 0

      I don't think a Mac web server has ever been hacked, defaced, etc, and I also believe there was a contest with a cash prize for the first person to do so.

      I recall that experiment, it took place before the sluggish-yet-stable OS X was released. The Mac kept crashing. Since OS X = Unix, your whole point of Mac vs Unix is irrelevent. Sometimes I wish Microsoft would port Office and IE to Linux. Microsoft's support of OS X is the ONLY advantage Apple has.

    4. Re:Why should anyone use a Mac as a server ? by Anonymous Coward · · Score: 0
      You half-assed fanboy....
      • I don't think ...

        I believe...

      and lets just leave it at that....
    5. Re:Why should anyone use a Mac as a server ? by Anonymous Coward · · Score: 0

      What does any of that have to do with running a web server? You're just as big of a doofus as the other guy.

    6. Re:Why should anyone use a Mac as a server ? by reallocate · · Score: 2

      Having a "grip on technology" has nothing to do with it. Regardless of what I know or don't know, why should I dive into the weeds if I can get the same results by taking the easy route? That applies to admins, too, who shouldn't be spending the company's dime mucking about when they don't need to be.

      --
      -- Slashdot: When Public Access TV Says "No"
  5. The Matrix by C0deJunkie · · Score: 1

    Hei, please avoid any answer containing:
    Sorry, all ather system are working to The Matrix program!

  6. You too by Perdo · · Score: 0, Troll

    Can use your $3,000 mac to replace a 100 dollar a month service. It will pay for itself in only three years. By then it will be obsolete anyway... never mind it already is obsolete.

    You know, the rest of us use old Pentiums to run in house webservers. In fact, I've even done it on a IIci running NetBSD.

    Did you all just realize that the internet comes from servers and not from AOL? Beauler? Beauler?

    --

    If voting were effective, it would be illegal by now.

    1. Re:You too by mackstann · · Score: 4, Informative

      no no you have it all wrong, its BUELLER!

      seriously though, i dont think the idea is to fully dedicate a mac to being a server, i think the idea is to turn your desktop mac into a desktop mac AND a personal mail/web/etc server, just to make things convenient for yourself. anyone who goes and buys a $1500-3000+ mac just to install apache and sendmail and put on their dsl connection is an idiot.

      also keep in mind that jaguar *does run* on some not-so top of the line macs, which would cost fairly little (or nothing, if they're laying around).

    2. Re:You too by foniksonik · · Score: 4, Informative

      The coolest part about a Mac these days is having a $200 dollar linux box in the closet and a Powerbook on the coffetable.... playing music wirelessly through the stereo system served from the mp3 streamer in the closet through the PBook with iTunes while reading /. and checking out how many other people are also listening to your stream via the webpage you designed in PHP and MySQL on the PBook localhost and then moved to your linux box w/o any hassle or reconfig... just a straight tarball copy and an apachectl graceful...

      So why would anyone pay $3000 for a home server? It's not about the server, it's about having a perfect machine that you can do it all with... the ultimate pro-sumer device for the home. Develop, play, remore-admin, play, manage the household, play, play games, play, stock market, play, develop some more, play....

      any questions?

      --
      A fool throws a stone into a well and a thousand sages can not remove it.
    3. Re:You too by bo-eric · · Score: 1
      I quote:
      Any old Mac that you have around, as long as it will run Mac OS X, will work, even if it's too slow to really serve as a primary machine any more.
      The article writer just uses old computer junk (in his opinion) to serve web pages, and tells user Mac users how to do it. Not all that uncommon an idea to a PC user.
      --

      -- Free speech is only free if your time is worth nothing.
    4. Re:You too by Anonymous Coward · · Score: 0
      play games


      You're joking, right?
    5. Re:You too by Anonymous Coward · · Score: 0

      So how is life in 1998 anyway?

    6. Re:You too by Anonymous Coward · · Score: 0
      any questions?

      Does this mean the linux box is doing all the hard work?

      Can't windows do everything the ibook does?

      Perfect Machine????

      Why don'y you use a $3000 home server if it's soo perfect?

      So how do you install to or boot from a RAID in OSX? (I need to know this one)

    7. Re:You too by Anonymous Coward · · Score: 0

      It's pretty fun hanging out with your science buddies in jr. high.

    8. Re:You too by Anonymous Coward · · Score: 0
      As a former exclusive user of Apple products, things like this annoy me to no end.

      Apple berates M$ for using nonstandard scroll bars. But it's OK for them to do the same.

      What Apple is doing is akin to a man with a 3 inch penis trying to convince women that big fat penises are no good because of the pain that they can cause. Even though 90% of women may prefer big penises, or 90% of the world may prefer something about the Wintel platform Apple is attempting to tell them that they really don't.

      Apple, your future looks dim for a reason. (most) People don't want to buy what you're selling.

      MacOS may have many technical advantages over Windows, just as the devices that run WinCE have advantages over the machines that run Palm OS. But both of the loses trail for other reasons. #1 Price. I can buy a refurbed Visor Deluxe for under $100. I can get a very decent PC for less than the cost of an eMac (doh!). #2 Availability of software. I can get so much more software for a Palm OS or Windows machine so, in the great platform Jihad. I choose the side based upon my computing needs. Not on my need to feel or think "different"ly.

    9. Re:You too by Golias · · Score: 1
      It wasn't so long ago that people were speaking of Apple as if it were soon to be bought out and liquidated, and they were wondering why it could not be a thriving company like, for instance, Compaq.

      Apple Computers: going out of business for over 20 years!

      --

      Information wants to be anthropomorphized.

    10. Re:You too by Zenki · · Score: 1

      Get a real RAID card that does hardware raid and abstracts your array as a big single drive to the system. That way, the OS doesn't need to know a single thing about managing a raid drive and you get better performance since your main cpu isn't forced to compute checksums for every hard drive access.

  7. The mac has no palidium support by Billly+Gates · · Score: 0, Offtopic

    Who would want it then ?

    1. Re:The mac has no palidium support by Anonymous Coward · · Score: 0

      haha. Funniest shit I've read all day.

      Thank you, kind sir.

  8. Buying a Mac to use as a server by Anonymous Coward · · Score: 0

    ...is like buying a brand new car that you only sit in and listen to the radio instead of drive.

    Seriously... Any old box x86 or otherwise can be used as a server, so why pay the premium Mac price to do so?

  9. Heat issues? by Anonymous Coward · · Score: 0

    I don't use mac laptops but even though the cpu can hibernate, realisticly, how long can a powerbook run under load before heat becomes an issue if the server is handling requests steadily?

    1. Re:Heat issues? by Golias · · Score: 2, Informative
      realisticly, how long can a powerbook run under load before heat becomes an issue if the server is handling requests steadily?

      For years.

      PPC chips use only a fraction of the power of Intel chips, and generate far, far less heat. This is why they are Motorola uses them in the embedded market, where they sometimes need six nines of continuous heavy-CPU-use uptime.

      Most models of powerbooks don't even have a CPU fan installed, because they never need it.

      --

      Information wants to be anthropomorphized.

  10. Cumshots are the real danger by Anonymous Coward · · Score: 0

    Heat's not an issue. As we all know, Macs are the preferred computers for the queers. Thus, the more urgent problem would be faggot semen getting into the powerbook. An errant cumshot could cause serious damage.

  11. Re:Apache and OS X by Anonymous Coward · · Score: 0

    What!? An on-topic troll?

  12. Apache on OS X can do a lot more than that by ynotds · · Score: 3, Informative

    The last line of /etc/httpd/httpd.conf in the default OS X.1.5 installation reads:

    Include /private/etc/httpd/users

    one /private/etc/httpd/users file being added for each user which enable you to serve anything you put in the Sites folder in your personal home directory. These are served in turn as http://your.domain.name/~username/page.html or the prevailing DirectoryIndex file to you (me) locally as http://127.0.0.1/~ynotds/

    The main config file includes a script alias to run any CGI scripts in /library/webserver/CGI-Executables

    They have put one Perl test script in that directory which you can view locally at http://127.0.0.1/cgi-bin/test-cgi, or at least you can after you have done a

    sudo chmod 775 /library/webserver/CGI-Executables/*

    from your Terminal window.

    From there, it isn't a lot of work to tweak your config files and uncomment AddHandler cgi-script .cgi to get scripts running throughout your site.

    Of course the real point to setting up your Mac as a fully functional server is that you get to do all your editing in BBEdit which not only does syntax checking and colour coding on the fly of HTML, Perl, JavaScript and more, but also can directly run Perl in an open document window, enabling you to all manner of extrancting and reporting on the fly.

    Now I just need to get brave enough to install MySQL.

    --
    -- Our systemic servants do not good masters make.
    1. Re:Apache on OS X can do a lot more than that by Anonymous Coward · · Score: 0
      What sort of load can it handle?

      Try ab from a terminal.

      What do you get on what mac?

    2. Re:Apache on OS X can do a lot more than that by Anonymous Coward · · Score: 0

      www.entropy.ch --- good site for installing any kind of server apps under os x. (MySQL, PostgreSQL, apache php, etc)

    3. Re:Apache on OS X can do a lot more than that by Pretender · · Score: 3, Informative
      Of course the real point to setting up your Mac as a fully functional server is that you get to do all your editing in BBEdit which not only does syntax checking and colour coding on the fly of HTML, Perl, JavaScript and more, but also can directly run Perl in an open document window, enabling you to all manner of extrancting and reporting on the fly.

      That would be nice; we've never seen anything like that before in the Unix world...

      *smiles*

  13. no mention of PHP/sendmail :-( by selderrr · · Score: 1, Offtopic

    on jagwyre, setting apache and PHP and sendmail all on their own is doable for the not so experienced (like me)

    However, the shit hits the fan when you're trying to make php pages send mail. SO far, I've tried every walkthrough I could find, but still get errors like this (sorry for long lines):


    Sep 7 12:51:19 visbak sendmail[448]: g87ApJxR000448: from=www, size=262, class=0, nrcpts=1, msgid=, relay=localhost
    Sep 7 12:51:20 visbak sendmail[450]: g87ApJxR000448: to="jeroen clarysse" , ctladdr=www (70/70), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30241, relay=in.mx.skynet.be. [195.238.3.129], dsn=5.6.0, stat=Data format error
    Sep 7 12:51:20 visbak sendmail[450]: g87ApJxR000448: g87ApKxQ000450: DSN: Data format error
    Sep 7 12:51:20 visbak sendmail[451]: g87ApKxQ000450: SYSERR(www): openmailer: insufficient privileges to change gid, RunAsUid=70, new_gid=0, gid=70, egid=25Sep 7 12:51:20 visbak sendmail[450]: g87ApKxQ000450: to=www, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31286, dsn=4.0.0, stat=Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL

    Anyone an idea ?

    1. Re:no mention of PHP/sendmail :-( by mithras+the+prophet · · Score: 1

      I don't think the stock PHP is compiled with sendmail support built-in.
      Instead, install Marc Liyange's one-click package for a more full-featured PHP module. He always stays on top of the game, updating with OS X and Apache updates. Most people doing real PHP work on OS X either compile it themselves or install Marc's package.

      --
      four nine eighteen twenty-7 thirty-nine forty-7 fiftyeight sixty-nine seventy-9 eighty-8 one-hundred-and-nine one-twenty
    2. Re:no mention of PHP/sendmail :-( by selderrr · · Score: 2

      well, I was using marc's package :-(

      OSX Sendmail form PHP seems to be a major pain in the behind : I've read at least 5 articles via google on the subject, and each one solves a different type of problem. My prob seems to be yet another one.

  14. A site running under a Jaguar? WooHoo! by Antarius · · Score: 0

    I was impressed when I saw that people were using the X-Box to run a web server.

    But to dig up one of Atari's old consoles? Wow!

    What next? Someone trying to resurrect the Amiga platform?

    1. Re:A site running under a Jaguar? WooHoo! by Anonymous Coward · · Score: 0

      Even if I had mod points I wouldn't give you a +1 funny.

    2. Re:A site running under a Jaguar? WooHoo! by mjpaci · · Score: 2

      Whatever you want to say about the AC, you're still not funny. (I, at least, have mod points and choose not to use them for posts that aren't relatively on-topic.)

      --Mike

  15. Re:YOU ASSHOLES!! SUCK MY DICK AND FUCKING LIKE IT by Antarius · · Score: 0

    No thanks. Not before lunch...

  16. Whoa! Hold on a minute by Anonymous Coward · · Score: 0

    Imagine a Beowulf Cluster of these!

  17. ATARI jaguar... by gl4ss · · Score: 0, Troll

    .. i saw the headlines and thought; " WOW ; KEWL ; COOL", then when i read that it was just this ripoff of jaguar name 10.something macosx i was veeerry dissapointed ;)

    --
    world was created 5 seconds before this post as it is.
  18. OS X as development box by X_Caffeine · · Score: 2, Interesting

    I've been enjoying using my iMac as a development server, but Apple sure doesn't make it easy when they change the file locations and settings with every upgrade and security tweak.

    --
    // I will show you fear in a handful of jellybeans.
    1. Re:OS X as development box by Anonymous Coward · · Score: 0

      Your sig reminded me of a student in one of my classes who took his notes with a laptop. He was the only student who did this. But the real kicker was that he made comments in his notes like so: */ comment comment /*

      What a n00b!

      And yes, I know my attitude doesn't do anything to advance computer literacy by not helping out others. You know what? I used linux for 5 years but I would never recommend it to anyone. I don't have the time to teach others to use it, or handle phone calls for every damn question. This is the reason people (except most teachers) say RTFM for every trivial question, they hate being asked all the time! You'd understand right away if you were in their position. And "how do [I] know so much about computers?" Through years and years of working with them, damn it. RTFM, which is (insert filename), then get back to me.

      Anyway, the kid would have found out his comment style was bad when he tried to use the incorrect comment block in his Java or C code.

  19. Then why use Jaguar server? by Anonymous Coward · · Score: 0

    I'm thinking of setting up a mac-based server at the med school where I teach. I've run a linux-based server there for a couple years now.
    Why should I use the "server" version of Jaguar vs. tweaking the "desktop" version? Is it mainly an issue of stuff being pre-configured on the server version?
    (i.e. apache, sendmail, etc.)

  20. Ah, the joy of a real dev/small deployment/test bo by ronabop · · Score: 4, Insightful
    What, to me, is a real development/test box?

    1. It's not some wonky, secure, stripped, stable *nix box that can't run GUI IDEs.

    2. It can give me multicolored colored visual cues to code, so monochrome terminal sessions are out. Colored terminals are OK, but they lack the same elegance of a full GUI.

    3. It can quickly deal with running those additional programs I need when reading laughable client 'specs' in PowerPoint, MS word, HTML email from hell, etc.

    4. The code, on my GUI-heavy isolated dev box, can run identically to the code deployed on the stripped, burly, boxen.

    5. If I need to test speeds without a GUI, I can ignore it, and use the box in a stripped, clean, mode.

    6. It must be stable without being cold and wooden (Red flag of personal preference, I find almost all *nix platforms to be far less comfortable than they could potentially be. I know the KDE/Gnome/Solaris folks are working on it, and have their advantages as well)

    7. It must support additional "development necessary tools" such as playing mp3's, accounting for my time with professional accounting software, play mpg's, and run the occasional "break tool" in the form of some game that isn't 5 (or more) years old.

    8. It must support running javascript, and be able to test IE, NN, *and* lynx, and be able to run MacOS 9, MacOS X, X windows (and sub-managers), as well as MS windows (and their many variants).

    9. The hardware and software should need my personal intervention for tweaking and updates, well, almost never. I am not paid to update my box, I am paid for writing original code.

    I run a business, and I use (deep breath) LinuxPPC, Yellow Dog Linux, SuSe (on X86 and PPC), Debian (on PPC and X86), Mac OSX, RedHatX86 (four versions), OpenBSD (PPC and X86), FreeBSD (X86), SunOS (really, some clients still use it), Solaris (all 'of the flock, ugly), Win 3.1, Win 95, Win 98, Win ME, Win NT 3.x, Win NT 4.x, Win2K, Win XP (all).

    Of all of the above OS's, which one, do you think, can actually do requirements 1-9? (There's only one, take your time...) I used to do dev work on no less than 3 different boxes a day to meet those requirements. Now I use one.

    Of course, if I have a few sites with a few million hits a day (I do), I'll host it elsewhere than my test box, an OS X box.. But I'm not going to develop on that box. I'm going to develop on a box that makes me the most productive, a box where I don't care about IRQ's, drivers, optimizing window managers, running rpm or apt-get or any other time-wasting CLUI tools that interfere with writing code.

    For writing code, use a box that meets *your* needs. All platforms prior to OS X meant I was using far too many comps, because I needed multi-platform, multi-client-platform, code. No other platform allows you to test as many platforms at once as PPC/OS 9/OSX on Mac.

    -Bop

  21. Mac OS X Server by daveschroeder · · Score: 3, Informative

    I know the point of this article is to set up all these services on plain-jane Mac OS X, but even easier than all that, and still cheaper than (m)any commercial solutions, is Mac OS X Server:

    http://www.apple.com/macosx/server/

    Instead of going through 4 pages of convoluted configuration (if that's not your cup of tea), Mac OS X Server reason for existence is to provice a nice GUI for all of the server components. It's really amazing; anyone here who likes Mac OS X and hasn't really seen what Apple's done with Mac OS X Server 10.2 should check it out.

  22. Play a game, go to jail by yerricde · · Score: 1

    Develop, play, remore-admin, play, manage the household, play, play games

    Not in Greece you're not.

    --
    Will I retire or break 10K?
  23. What Windows can't do by yerricde · · Score: 1

    Can't windows do everything the ibook does?

    Windows doesn't have the Aqua(TM)(C) skin and will not have the Aqua skin for the next ninety-five years.

    --
    Will I retire or break 10K?
  24. Get a clue already by feldsteins · · Score: 2

    You obviously don't have any real idea as to what the Macintosh is all about other than "it's supposed to be easy to use."

    Admins ... shouldn't be dependable on easy-to-use interfaces.

    And your point about the Macintosh is...? You insinuate that to use a Mac server one must be "dependable" on an easy-to-use interface. This is flat-out false. (Why you think it's easy-to-use is a Bad Thing is a whole other issue. I believe it goes to show how the vendors you prefer have lowered your expecations over the years regarding interface design - "if it's easy to use it's got to suck.")

    Standard server system are much cheaper even with the obligatory redundancy stuff.

    No they're not.

    Sorry, but I don't see the points for Macs.


    But it's refreshing to know that you did your homework before deciding. Not.

    --
    You like your Macintosh better than me, don't you Dave? Dave? Can you hear me Dave?
  25. My Time is More Important Than Money by reallocate · · Score: 5, Insightful

    You wouldn't necessarily buy a new Mac to use as server. But since the entire Mac world is being migrated to a platform that installs Apache, etc., someone has decided to write a piece explaining how to take advantage of that fact. What's your problem with that?

    As for price, I would have paid just as much for a PC as I did for this Mac. All the PC would have given me was the need to install Linux and spend hours tweaking the thing so I could stand to look at it. My time is more important to me than the money, so I went the Mac route.

    Why does a "community" that whines so much about "choice" and "freedom" have such a hissy fit every time someone says something positive or useful about a competing platform? Any chance that's because you want to limit choice and freedom to only one kind of software?

    --
    -- Slashdot: When Public Access TV Says "No"
  26. is slashdot full of obtuse linux zealots ONLY now? by Anonymous Coward · · Score: 0

    People, have you noticed all the hype and buzz (positive and negative) flying round because of OSX?
    There is no such thing as bad publicity. All the whining here reminds of the *BSD IS DYING crap we used to see so much (notice that since it obviously isn't dying that those trolls have quieted down a bit? When will theses same trolls learn that Apple is gaining momentum as well....)

    Anyhow, I just wonder why all the "experts" here get so defensive over a powerbook having devel/testing/serving/mobile capabilities, as this is the same crowd that wants Linux (for no other reason than to brag, I suppose) on everything from PDAs (webservers there? please, how much storage and serving can you realistically expect on them) to Dreamcasts/Xboxes/Atari2600s/calculators, etc... ad-fucking-nauseum.

    What a bunch of parasitic non-original losers you crybaby zealots are turning out to be. Less talk, more code. Shitbags. Oh, sorry, to be on topic I use my Toshiba notebook and my powerbook both for webserving (among other uses, mainly research and entertainment) as I need to convey data and be accessible for differing lengths of time while I'm in the field for the US Army. So go fuck yourselves and stop your complaining.

    Oh, wait, I get it. If YOU can't think of a need for it, then there MUST NOT be a need for it AT ALL eh? Turds.

  27. Did you pay me for tech support this month? by Anonymous Coward · · Score: 0

    No? Then fuck off.

    1. Re:Did you pay me for tech support this month? by nege · · Score: 1

      Got a handle or just AC? No? Then fuck off.

  28. fun shit by maxphunk · · Score: 1

    im glad people are taking mac os x seriously now for servers. in spring 2002, i used by ibook running 10.1.4 to deliver an online voting system for a cs class project. along with apache we used tomcat, ant, and postgresql. setup was easy, i downloaded the source, compiled, and that was it. the only thing else i had to do to set it up was download the correct jdbc driver for postgres. (i think its included now...) the app itself was developed on freebsd 4.x and required no code changes from freebsd -> os x. when we presented it in class the only hitch was a mozilla 0.9 crash, and that was no biggie. macintosh + unix == WOW!

    --

    "The chief enemy of creativity is 'good taste'" -Pablo Picasso
  29. Re:Ah, the joy of a real dev/small deployment/test by Anonymous Coward · · Score: 0
    As a former exclusive user of Apple products, things like this annoy me to no end.

    Apple berates M$ for using nonstandard scroll bars. But it's OK for them to do the same.

    What Apple is doing is akin to a man with a 3 inch penis trying to convince women that big fat penises are no good because of the pain that they can cause. Even though 90% of women may prefer big penises, or 90% of the world may prefer something about the Wintel platform Apple is attempting to tell them that they really don't.

    Apple, your future looks dim for a reason. (most) People don't want to buy what you're selling.

    MacOS may have many technical advantages over Windows, just as the devices that run WinCE have advantages over the machines that run Palm OS. But both of the loses trail for other reasons. #1 Price. I can buy a refurbed Visor Deluxe for under $100. I can get a decent PC for less than the cost of an eMac. #2 Availability of software. I can get so much more software for a Palm OS or Windows machine so, in the great platform Jihad. I choose the side based upon my computing needs. Not on my need to feel or think "different"ly.

  30. How to set up DNS? Not quite by KalvinB · · Score: 1

    I don't know why that little blurb got in the summary. Actually reading the article you find the typical "explaination" that you should let someone else do it or read a book on Bind.

    When I went to get my server set up I looked all over for how to set up DNS so I could have a real domain name. Then I just went with DNSMadeEasy.com

    http://www.icarusindie.com/dotcom/

    gives a run down of all the components you need to get a web-server up and running and where to get them. My server has been running on Win2K Pro for 1 year 8 months and hasn't had a single crash.

    If someone has a REAL tutorial (step by step guide) on getting your computer set up as a name server or knows where to find one please post it. I'd personally like to run my own name server so I don't have to pay someone else or use a crappy ad ridden service.

    Ben

  31. Say it with me now by Anonymous Coward · · Score: 0
    Free software is only free if your time is worth nothing.

    Say it again, y'all!

  32. Major Article Omission: Security by chickenbird · · Score: 2, Insightful

    I cannot believe he didn't even mention turning on your firewall (which is so simple in OS X, since a GUI interface to the ipfw software that has always been there is now available right in System Preferences). It is very irresponsible to tell people to set up a server without telling them how to protect it. Come on. (I use BrickHouse instead of Apple's interface, but they both provide a GUI interface to ipfw, so it's pretty similar, just more full-featured.) Also, the author does not mention alternatives to Sendmail. Many people consider Postfix to be superior. See Installing Postfix and UW IMAP on MacOS X Server for instructions on setting it up for OS X.

  33. Re:Ah, the joy of a real dev/small deployment/test by Steve+Cowan · · Score: 2
    #1 Price. I can buy a refurbed Visor Deluxe for under $100. I can get a decent PC for less than the cost of an eMac.

    #2 Availability of software. I can get so much more software for a Palm OS or Windows machine so, in the great platform Jihad.

    I choose the side based upon my computing needs.

    What do your computing needs have to do with price?

    What do your computing needs have to do with the availability of more software products than you'll ever use? "Availability of software" is one of the weakest arguments of Windows over Mac out there.

    Figure out the things you want to do with your computer before you buy. Then scope out the best solution on whatever platforms you feel like giving a fair chance to. The total number of available software titles is irrelevant...

    ...kinda like going to the funky record shop with all the obscure import CD's, versus going to a CD megaplex with nothing but crass ol' top-40. Yeah you'll be able to find tons of popular stuff, but it's an ocean of mediocrity, and it's an unsatisfying, uninspiring environment just to be in.

  34. Re:How to set up DNS? Not quite by BiOFH · · Score: 1

    errr.... just register a domain name and have it pointed (via your registrar's name servers) at your web server, then. You can't get around paying for a (real) domain name* and vendors like NetSol (or whomever) will allow you to point at whatever IP you want. You don't need to have your own DNS server for that (and you can't just fire up a ns and add any domain name you want -- it doesn't work like that). In fact, that will be more of a headache for you and a bit like setting up a telephone company just to service your home phone line.

    * Well, OK, you 'can' get around paying for a domain name (just like you have) but you end up at someone else's mercy and it will not get you what you're asking for.

    --
    - I am made of meat.