Complete Install Packages for Mac OS X: Difference between revisions

From MoodleDocs
Line 16: Line 16:
==Install complete package ==
==Install complete package ==
===First install Apache, MySQL, PHP===
===First install Apache, MySQL, PHP===
Step 1:  [http://download.moodle.org/ Download] the zipped disk image file from Moodle. Please choose the correct file for your processor type. The zip archive should be unzipped automatically when the download is complete. If the download file is not unzipped please do this manually.
'''Step 1:''' [http://download.moodle.org/ Download] the zipped disk image file from Moodle. Please choose the correct file for your processor type. The zip archive should be unzipped automatically when the download is complete. If the download file is not unzipped please do this manually.
   
   
Step 2:  Doubleclick the file Moodle4MacOSX.dmg to mount the installation disk.  
'''Step 2:''' Doubleclick the file Moodle4MacOSX.dmg to mount the installation disk.  


:: [[Image:Moodle4MacOSX1.png|500px]]
:: [[Image:Moodle4MacOSX1.png]]




Unpack the file you downloaded to a drive or partition of your choice and let the default create C:\moodle or W:\moodle or something like this. It is a good practice at this point to rename the C:\moodle to something like C:\Web or C:\Xampplite.  There will be a folder under this called \moodle.  
Unpack the file you downloaded to a drive or partition of your choice and let the default create C:\moodle or W:\moodle or something like this. It is a good practice at this point to rename the C:\moodle to something like C:\Web or C:\Xampplite.  There will be a folder under this called \moodle.  


Step 3: Start the "setup_xampp.bat" in the top folder.  This will configure Xammplite. Note: XAMPP makes no entries in the windows registry and no settings for the system variables.  
'''Step 3:''' Start the "setup_xampp.bat" in the top folder.  This will configure Xammplite. Note: XAMPP makes no entries in the windows registry and no settings for the system variables.  


Step 4: Now you are ready to start your webserver.  Use the Xampp_start file.  Once the Xampp_start is open, don't close it, use Xampp_stop for that purpose.  Xampp program(s) control both Apache and MySQL.  Alternatively you can individually start and stop Apache and MySQL with the bat files found in the top folder such as C:\xampplite .
Step 4: Now you are ready to start your webserver.  Use the Xampp_start file.  Once the Xampp_start is open, don't close it, use Xampp_stop for that purpose.  Xampp program(s) control both Apache and MySQL.  Alternatively you can individually start and stop Apache and MySQL with the bat files found in the top folder such as C:\xampplite .

Revision as of 22:40, 27 December 2006

Complete install packages for Mac OS X are available from Moodle Downloads. Please scroll down the page to see the complete Mac installs. They are designed for new and local installations on a Mac computer/server. There are other downloads for Linux, and Window Operating Systems that may involve more customization of configuration files.

The complete install packages for Mac OS X are named Moodle4MacOSX. These packages allow Moodle to be installed, along with the prerequisites that includes a web server, database and scripting language (Apache, MySQL and PHP in this case). Several versions of the complete install package are available. You will find versions for Intel based Macs and PPC based Macs. Please use the correct version for your processor. The instructions on the download page provide guidance on which version is likely to be most suitable.

Note: The latest complete install package version components, may not be backwardly compatible. Always check version compatibility of each component if you intend to develop materials on a later version of Moodle than the version installed on your "main" Moodle site. In short, complete install packages are designed for first time install on a "clean" machine.


System requirements

 + Apple Mac Computer 
 + iMac, Mac mini, MacBook, iBook, PowerBook
 + Processor: PPC (G3, G4, G5) or Intel (Dual Core)
 + RAM: 256 MB or better
 + Hard Disk: 250 MB free
 + System Software: Mac OS X 10.3 or 10.4

Install complete package

First install Apache, MySQL, PHP

Step 1: Download the zipped disk image file from Moodle. Please choose the correct file for your processor type. The zip archive should be unzipped automatically when the download is complete. If the download file is not unzipped please do this manually.

Step 2: Doubleclick the file Moodle4MacOSX.dmg to mount the installation disk.

Moodle4MacOSX1.png


Unpack the file you downloaded to a drive or partition of your choice and let the default create C:\moodle or W:\moodle or something like this. It is a good practice at this point to rename the C:\moodle to something like C:\Web or C:\Xampplite. There will be a folder under this called \moodle.

Step 3: Start the "setup_xampp.bat" in the top folder. This will configure Xammplite. Note: XAMPP makes no entries in the windows registry and no settings for the system variables.

Step 4: Now you are ready to start your webserver. Use the Xampp_start file. Once the Xampp_start is open, don't close it, use Xampp_stop for that purpose. Xampp program(s) control both Apache and MySQL. Alternatively you can individually start and stop Apache and MySQL with the bat files found in the top folder such as C:\xampplite .

Step 5: Start your browser and type http://127.0.0.1 or http://localhost in the address bar. You will either start your first time Moodle installation or if it is already install enter your homepage.

Start the Moodle installation

  • In your web browser, type the path to the folder containing the Moodle files in te address bar – in this example it’s http://localhost/moodle, in the above example it would be http://localhost.


  • The initial install page is displayed.
Xampp24.gif
  • Choose your preferred language (English is used in this example) and click the “Next” button.
  • A diagnostic report is displayed – hopefully it will look like this, if not you may need to address some issues.
Xampp25.gif


  • Click the “Next” button to continue.
  • The paths for your Moodle installation are shown – accept the ones that are shown on your screen.
Xampp26.gif


  • Click the “Next” button to continue.
  • In this screen we enter the database settings. The fields are populated with some suggested values.
  • We strongly recommend you place a user name and password in this screen. (Don't forget them).
  • DO NOT USE THE “ROOT” USER WITHOUT A PASSWORD FOR PRODUCTION INSTALLATIONS AS THIS CREATES A SECURITY VULNERABILITY