![]() ![]() You now see a preference pane active at the bottom of the System Preferences. Drag the MySQL.prefPane file into that folder. Make a new folder in /Library called "PreferencePanes" (unless already there). Click the MySQLStartupItem package and follow instructions.Ĭ. Click the install package and follow instructions. Go to the main MySQL Download site and download MySQL standard version 5.0.18 (or later) for the Mac OS X (either PowerPC or x86) version that fits your machine. You can install PHP 5.4 by pasting this one line into your terminal:Ī. After you you start running your Moodle server, you may not want to do any more OSX version updates, as the updates often patch Apache and break the whole installation, requiring a reinstall procedure.Ī. Upgrade your Mac OSX to the most recent version and include the most current Security Releases. In order to verify where a file or folder is, use Tinkertool to "show hidden files".į. This includes Apache and other files we will edit in later steps. Mac OS X normally hides many files in the system from ordinary users. Download Tinkertool to turn on hidden files. Uncheck the hard disk sleep box as well.Į. Turn off energy saving: Go to System Preferences > Energy Saver and set the computer sleep time to "Never". Turn on Apache (go to System Preferences > Sharing > Services, and then click "Personal Web Sharing" to "On".)ĭ. If you don't want to make a public production server, use the one-step Moodle4OSX download and forget these instructions. Get a global IP address and a domain name assigned to your server. This procedure was done on a 933mhz single processor PowerMac.ī. Choose an old or new Mac with OS X 10.4 Tiger. However if you test out a Leopard server, please report your findings here or on the "Servers" forums of .Ī. Note 3: Due to speed issues I have noted above, I will likely not be upgrading my server to OS X 10.5. Also a Linux server setup often includes a PHP accelerator which can increase Moodle speeds 5-10x. ![]() Note 2: OS X does not allow MySQL to directly address the kernal, as Linux can do, so in versions 10.4 and under, speed is much slower than with a Linux server. 6÷ hours > a typical "guy" who never asks for help-should have gone earlier to the Installation forums. To complete all of these steps, I estimate it will take the following amount of time. 90% of instructions use a simple point-and-click interface (GUI), but occasionally you will need to open the Terminal (in Utilities folder) to type a command line. Note 1: These instructions were prepared by Don Hinkelman, on 20 March 2006 and changes may have occurred. This changes with Mac OS X 10.5, which introduces Apache 2.0 thoroughly integrated into the Mac server. ![]() The following procedure, however, uses the standard Apache 1.3 which comes on every Mac with OS X. Moodle4Mac is not for public production use, unless you secured it following special instructions or the MAMP Pro package. ![]() Note that this procedure is more secure than the one-step Moodle4Mac package which is intended for a quick personal install. These instructions were used to install PHP 5.1.2, MySQL 5.0.18 and Moodle with Mac OS 10.4.5 on a standard client Mac (not server version) to be used as a production server. ![]()
0 Comments
Leave a Reply. |