Setting Up A Site Server with Jaguar 104
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."
The Matrix (Score:1)
Sorry, all ather system are working to The Matrix program!
Re:Web Server on Powerbook (Score:1)
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 [fivemouse.com]
Re:Web Server on Powerbook (Score:4, Funny)
Re:Web Server on Powerbook (Score:3, Insightful)
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.
Re:Web Server on Powerbook (Score:2, Informative)
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
Re:Web Server on Powerbook (Score:2)
Re:Web Server on Powerbook (Score:3, Informative)
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 [fsf.org] (no, you are not free to share a Photoshop copy with your friends or family, for instance).
But do join the GIMP [gimp.org] mailing lists, and you'll see that in the digital world, you can (and probably will) live very happy without Photoshop.
Re:Web Server on Powerbook (Score:3, Informative)
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...
Re:Web Server on Powerbook (Score:2)
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..
Re:Web Server on Powerbook (Score:1)
Re:Web Server on Powerbook (Score:2)
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?
Re:Web Server on Powerbook (Score:1)
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.)
Re:Web Server on Powerbook (Score:2)
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.
Re:Web Server on Powerbook (Score:1)
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.
Re:Web Server on Powerbook (Score:2)
Re:Web Server on Powerbook (Score:1)
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
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
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*.
Get a clue already (Score:2)
Admins
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. [linuxworld.com]
Sorry, but I don't see the points for Macs.
But it's refreshing to know that you did your homework before deciding. Not.
Re:Why should anyone use a Mac as a server ? (Score:2)
Re:You too (Score:4, Informative)
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).
Re:You too (Score:4, Informative)
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?
What Windows can't do (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.
Re:You too (Score:1)
Play a game, go to jail (Score:1)
Develop, play, remore-admin, play, manage the household, play, play games
Not in Greece you're not.
Re:You too (Score:1)
Apple Computers: going out of business for over 20 years!
Re:You too (Score:1)
My Time is More Important Than Money (Score:5, Insightful)
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?
Re:Heat issues? (Score:2, Informative)
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.
Apache on OS X can do a lot more than that (Score:3, Informative)
Include
one
The main config file includes a script alias to run any CGI scripts in
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 [127.0.0.1], or at least you can after you have done a
sudo chmod 775
from your Terminal window.
From there, it isn't a lot of work to tweak your config files and uncomment AddHandler cgi-script
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 [barebones.com] 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.
Re:Apache on OS X can do a lot more than that (Score:3, Informative)
That would be nice; we've never seen anything like that [gnu.org] before in the Unix world...
*smiles*
no mention of PHP/sendmail :-( (Score:1, Offtopic)
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 ?
Re:no mention of PHP/sendmail :-( (Score:1)
Instead, install Marc Liyange's one-click package [entropy.ch] 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.
Re:no mention of PHP/sendmail :-( (Score:2)
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.
Re:Did you pay me for tech support this month? (Score:1)
Re:A site running under a Jaguar? WooHoo! (Score:2)
--Mike
OS X as development box (Score:2, Interesting)
Ah, the joy of a real dev/small deployment/test bo (Score:4, Insightful)
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
Re:Ah, the joy of a real dev/small deployment/test (Score:2)
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...
Mac OS X Server (Score:3, Informative)
http://www.apple.com/macosx/server/ [apple.com]
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.
fun shit (Score:1)
How to set up DNS? Not quite (Score:1)
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
Re:How to set up DNS? Not quite (Score:1)
* 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.
Major Article Omission: Security (Score:2, Insightful)