|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
The quick and dirty Internet server solution:by: Mark J. Hershenson (markhers@macnn.com)
Last night after nights and nights and nights of constant frustration about how my MacOS X Server box was working, I decided to (for the first time in months) gut it and start over again. I had two purposes in mind:
So, last night in the span of a good three hours I reinstalled MacOS
X Server, and installed the following software:
First off, I installed MacOS X Server over again. After it installed, and I rebooted after being walked through the set-up program, I rebooted. Then I set up personal workspace preferences. Faster mouse action. Shorter key-repeat delay, faster key-repeat. Monitor setting, and fixed up my Login Window .nib file so that it only cycles through username, password, and enter. (If you want to know how to do this, let me know. Real simple, but not necessarily for the weak of heart since if you do it wrong, you can't log in!) Oh, yes, and then I ate dinner. Now on to the fun stuff. I will assume for this quick-and-dirty that you have a properly working MacOS X Server configuration with proper Ethernet configuration and all that jazz. If you don't have access to the Internet from your MacOS X Server box, check out our workaround page. |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
First off, download the MacOS X Server Update 1.0-1 to /tmp. The update fixes up the installation by updating some files, as well as NetBooting and QuickTime Streaming Server software. In Terminal: cd /tmp In Workspace Manager: Switch to /tmp, and double click on the Package. It will load the installer. Click Install. You're done. Yeah!!!!!!!!!!! |
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Now onto MySQL 3.22.25. Note: We have to install this before PHP. You'll see why in a couple of minutes Download the MySQL binary to /tmp. Download the precompiled version of Anjo Krank's great Pthread --> Cthread wrapper package to /tmp. In Terminal: cd /tmp In Workspace Manager: Open a "viewer" and switch it to /tmp For more information on putting the final touches on your MySQL installation, check out out dedicated MySQL on MacOS X Server page. |
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
PHP 4.0b2 comes next. If you want MySQL connectivity, you have to install MySQL first so that the libraries are available when you compile PHP. In Terminal: mkdir /usr/local/src Download the PHP 4.0b2 (Zend) source code to /usr/local/src. This way, if you would want to recompile PHP with different options at another time, it's there. Trust me. In Terminal: cd /usr/local/src In Terminal: make install In Terminal: apachectl graceful |
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
And now Python 1.5.2. Easy easy easy. Download the Python source code to /usr/local/src (or /tmp if you don't care to store the source code). In Terminal: cd *directory you chose* The with-host (*#$ is because the installer doesn't understand Rhapsody, or it's needs and it has needs, people. So, instead it just uses the template for a PowerPC chip and NetBSD. If you are thinking that this sounds questionable, don't. This is quick and dirty! In Terminal: make The final line allows you to call python from the command line. |
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
And finally, to paraphrase the as-yet-unreleased movie "Outside Providence", this installation isn't over until we get your cookies...your fortune cookies anyway. :) This package comes to you straight from Chris Saladhna who retooled a stock *BSD fortune installation to work with MacOS X Server. You can download the source from the Peanuts archive. Download the source into /tmp In Terminal: cd /tmp If your really want to, you can copy the man files to their proper locations as well. Remember, though, that man is located at /usr/share/man/ and not /usr/local/man. |
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Well, that's all folks. Isn't this great? You have a server with a SQL server, a server-side scripting language, a great OO language, and the chance to laugh once in a while. Yeah!!!!!! If you should have any suggestions for additional installs which you feel should be part of a Quick and Dirty, let me know! |
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
All content - ©1998-2008 - Mark J. Hershenson |
|
|
||
|
|
|
|
|
The MacOS Xclave is hosted by green-ant.com.