Hinweis: Sie sind auf den Seiten der Moodle 1.9 Dokumentation. Die Dokumentation der aktuellsten Moodle-Version finden Sie hier: Windows-Installation mit XAMPP.

Windows-Installation mit XAMPP: Unterschied zwischen den Versionen

Aus MoodleDocs
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
(Initialkopie des engl. Beitrags mit ersten Übersetzungen)
Zeile 1: Zeile 1:
XAMPP is a fully functional web server package. It is built to test web based programs or perhaps used in a small company on an internal network. It is not meant for online access via the web on a production server. This page describes some of the ways to customize XAMPP in a Windows environment.  
==Vorwort==
'''XAMPP''' ist ein Webserverpaket, welches neben dem reinen Webserver (Apache) auch eine ganze Reihe von Zusatzprogrammen (MySQL, PHP, Perl und diverse weitere Plugins wie OpenSSL, Freetype2, ...) enthält, so dass man nach der Installation eine '''voll funktionsfähige Webserverumgebung''' vorliegen hat.  


==Introduction==
Die Distribution XAMPP  wurde erstellt, um Anfängern einen einfachen Einstieg in die Welt der Webserver zu ermöglichen und den Profis eine einfach zu installierende Entwicklungsumgebung bereitzustellen. XAMPP ist so konfiguriert, dass man direkt nach der Installation alle Features des Webservers Apache und der Zusatzprogramme nutzen kann. Das ist ideal für Entwickler, für Testzwecke und für den Einsatz in einem internen Netz eines kleinen Unternehmens, aber wegen dieser Offenheit (Sicherheitsaspekte) '''ist dringend davor abzuraten''', XAMPP ohne Veränderungen '''für den Produktions-Betrieb''' zu verwenden.


Note: This guide uses XAMPP 1.5.1
Dieser Artikel soll die Vorgehensweise beschreiben, wie man sich eine XAMPP Webserver Umgebung auf einem Windows Rechner einrichtet und darauf ein Moodle System installiert.
 
 
 
==Einleitung==
 
Hinweis: Diese Anleitung beruht auf der Version XAMPP 1.5.1
 
Um Moodle auf einem Windows XP Rechner installieren zu können, bedarf es einiger Vorarbeiten, die in diesem Artikel Schritt für Schritt beschrieben werden. 
 
Der Installationsprozess beinhaltet folgende Punkte:


In this guide to installing Moodle on a computer using the Windows XP operating system there are a series of steps you will need to take which are explained step-by-step below. In overview the process is as follows:
In this guide to installing Moodle on a computer using the Windows XP operating system there are a series of steps you will need to take which are explained step-by-step below. In overview the process is as follows:


The first steps are to obtain the Moodle files themselves and the [[Common_acronyms#N_to_Z|XAMPP]] software package which installs the environment (PHP, Apache and MySql) Moodle requires to run on you computer. When these have been downloaded you will need to install XAMPP on your computer in much the same way as any other Windows program. The steps detail a recommended change to one of the installed components before explaining how to launch XAMPP and create the database required by Moodle (the database you create will be referred to later when installing Moodle).
Der erste Schritt wäre, das Moodle Paktet herunterzuladen und danach das XAMPP Software Paket. [[Common_acronyms#N_to_Z|XAMPP]] wird benötigt, um die erforderliche Laufzeitumgebung auf Ihren Windows XP Rechner zu installieren und für Moodle bereitzustellen. Wie bei anderen auf Windows zu installierenden Programmen auch, werden Sie durch die Installation geführt. Bei unserer Anleitung werden wir hierbei eine vorzunehmende Änderung bei einer zu installierenden Komponente beschreiben, bevor wir erläutern, wie Sie XAMPP starten und eine Datenbank anlegen, die Sie später bei der Moodle Installation verwenden werden.


Having set up the environment you must then place the Moodle files downloaded earlier into the correct location so that they can be accessed for the purposes of initiating the installation process (now) and later to run Moodle. (The installation and use of Moodle is conducted entirely from your web browser e.g. Internet Explorer, Firefox).
Having set up the environment you must then place the Moodle files downloaded earlier into the correct location so that they can be accessed for the purposes of initiating the installation process (now) and later to run Moodle. (The installation and use of Moodle is conducted entirely from your web browser e.g. Internet Explorer, Firefox).
Zeile 13: Zeile 24:
'''Note: These guidelines are not intended for the [[Complete install packages for Windows]] from download.Moodle.org - although the troubleshooting part may help if you encounter problems.'''
'''Note: These guidelines are not intended for the [[Complete install packages for Windows]] from download.Moodle.org - although the troubleshooting part may help if you encounter problems.'''


==Preparation==
==Vorbereitung==


===Get Moodle===
===Moodle Softwarepaket herunterladen ===


*Download the Generic version of Moodle you wish to install from [http://download.moodle.org/ Moodle.org].
*Download the Generic version of Moodle you wish to install from [http://download.moodle.org/ Moodle.org].
Zeile 21: Zeile 32:
[[Image: 14a.gif]].
[[Image: 14a.gif]].


===Get XAMPP===
===XAMPP Softwarepaket herunterladen ===


*Download XAMPP for Windows from [http://www.apachefriends.org/en/xampp.html Apachefriends.org]. This example assumes that you have downloaded the “Installer” package.
*Download XAMPP for Windows from [http://www.apachefriends.org/en/xampp.html Apachefriends.org]. This example assumes that you have downloaded the “Installer” package.
Zeile 30: Zeile 41:
*Say 45 minutes.
*Say 45 minutes.


==Installing XAMPP==
==Installation von XAMPP==


*Run the installer, eventually you will be presented with an option about where to install the package.
*Run the installer, eventually you will be presented with an option about where to install the package.
Zeile 56: Zeile 67:




===Launch XAMPP Control Panel ===
===Starten des XAMPP Control Panel's ===


*On your Desktop, locate the XAMPP icon and double click to launch the Control Panel.
*On your Desktop, locate the XAMPP icon and double click to launch the Control Panel.
Zeile 69: Zeile 80:
[[image:Xampp31.gif]]
[[image:Xampp31.gif]]


==Create the database==
==Datenbank anlegen==


*To create a database for your Moodle “site” we will use the phpMyAdmin utility included with XAMPP.
*To create a database for your Moodle “site” we will use the phpMyAdmin utility included with XAMPP.

Version vom 21. März 2009, 12:15 Uhr

Vorwort

XAMPP ist ein Webserverpaket, welches neben dem reinen Webserver (Apache) auch eine ganze Reihe von Zusatzprogrammen (MySQL, PHP, Perl und diverse weitere Plugins wie OpenSSL, Freetype2, ...) enthält, so dass man nach der Installation eine voll funktionsfähige Webserverumgebung vorliegen hat.

Die Distribution XAMPP wurde erstellt, um Anfängern einen einfachen Einstieg in die Welt der Webserver zu ermöglichen und den Profis eine einfach zu installierende Entwicklungsumgebung bereitzustellen. XAMPP ist so konfiguriert, dass man direkt nach der Installation alle Features des Webservers Apache und der Zusatzprogramme nutzen kann. Das ist ideal für Entwickler, für Testzwecke und für den Einsatz in einem internen Netz eines kleinen Unternehmens, aber wegen dieser Offenheit (Sicherheitsaspekte) ist dringend davor abzuraten, XAMPP ohne Veränderungen für den Produktions-Betrieb zu verwenden.

Dieser Artikel soll die Vorgehensweise beschreiben, wie man sich eine XAMPP Webserver Umgebung auf einem Windows Rechner einrichtet und darauf ein Moodle System installiert.


Einleitung

Hinweis: Diese Anleitung beruht auf der Version XAMPP 1.5.1

Um Moodle auf einem Windows XP Rechner installieren zu können, bedarf es einiger Vorarbeiten, die in diesem Artikel Schritt für Schritt beschrieben werden.

Der Installationsprozess beinhaltet folgende Punkte:

In this guide to installing Moodle on a computer using the Windows XP operating system there are a series of steps you will need to take which are explained step-by-step below. In overview the process is as follows:

Der erste Schritt wäre, das Moodle Paktet herunterzuladen und danach das XAMPP Software Paket. XAMPP wird benötigt, um die erforderliche Laufzeitumgebung auf Ihren Windows XP Rechner zu installieren und für Moodle bereitzustellen. Wie bei anderen auf Windows zu installierenden Programmen auch, werden Sie durch die Installation geführt. Bei unserer Anleitung werden wir hierbei eine vorzunehmende Änderung bei einer zu installierenden Komponente beschreiben, bevor wir erläutern, wie Sie XAMPP starten und eine Datenbank anlegen, die Sie später bei der Moodle Installation verwenden werden.

Having set up the environment you must then place the Moodle files downloaded earlier into the correct location so that they can be accessed for the purposes of initiating the installation process (now) and later to run Moodle. (The installation and use of Moodle is conducted entirely from your web browser e.g. Internet Explorer, Firefox).

Note: These guidelines are not intended for the Complete install packages for Windows from download.Moodle.org - although the troubleshooting part may help if you encounter problems.

Vorbereitung

Moodle Softwarepaket herunterladen

  • Download the Generic version of Moodle you wish to install from Moodle.org.

Datei:14a.gif.

XAMPP Softwarepaket herunterladen

  • Download XAMPP for Windows from Apachefriends.org. This example assumes that you have downloaded the “Installer” package.

Datei:Xampp1.png

Allow yourself some time

  • Say 45 minutes.

Installation von XAMPP

  • Run the installer, eventually you will be presented with an option about where to install the package.

Datei:Xampp2.gif

  • In this example we are installing the package at c:\apachefriends\151 – that’s because it suits what our needs, you can choose you own location by specifying any suitable alternative folder.
  • Continue with the installation, this will take a while!

Datei:Xampp3.gif

  • Eventually you will be presented with the option to install Apache, MySQL, Filezilla as a service.

Datei:Xampp4.gif

  • It’s probably best to choose “No” for now. You can always enable these as services later.
  • Next you’ll be asked if you want to start the XAMPP Control Panel.

Datei:Xampp5.gif

  • Click the “No” button.


Starten des XAMPP Control Panel's

  • On your Desktop, locate the XAMPP icon and double click to launch the Control Panel.
  • When the XAMPP Control Panel has launched, click the “Start” buttons for Apache and MySQL.

Datei:Xampp6.gif

  • If all is well you will see something like this.

If Apache fails to run i.e. the "Running" text with the green background keeps disappearing) and you are using Skype - please review "Troubleshooting" at the end of these instructions.

Datei:Xampp31.gif

Datenbank anlegen

  • To create a database for your Moodle “site” we will use the phpMyAdmin utility included with XAMPP.
  • To access this launch the web browser of your choice (Firefox is used in this example), type http://localhost in the address bar.

Datei:Xampp8.gif

  • The XAMPP default page is displayed, click the link for your preferred language – we will be using English.

Datei:Xampp9.gif

  • From the menu on the left, click on “phpMyAdmin”

Datei:Xampp10.gif

  • When phpMy Admin has launched in your browser window, enter the name of your database in the “Create new database” field. In this example we are naming our database “moodle153”.

Datei:Xampp11.gif

  • From the "Collation" drop down list select "utf8_unicode_ci"
  • Click the “Create” button to create the database.

Datei:Xampp12.gif

The new database should be present in the dropdown list when the page has refreshed.

Datei:Xampp13.gif

Extract the downloaded Moodle files to the correct location.

  • Locate the file downloaded from Moodle.org and either copy or cut the file to the Windows clipboard.
  • Open the XAMPP Control Panel and click on the “Explore” button.

Datei:Xampp15.gif

  • A Windows Explorer view similar to the one below will be displayed.

Datei:Xampp16.gif

  • Open the “htdocs” folder.

Datei:Xampp17.gif

Datei:Xampp18.gif

  • Paste the file cut/copied earlier into this folder.
  • Extract the Moodle files from the file downloaded earlier. A default folder named “moodle” is created with the Moodle files within.

Datei:Xampp19.gif

Windows Vista

  • If you are running Windows Vista, you will need to manually create your moodledata folder and assign it permissions.
  • First, go to the "htdocs" folder and create a new folder called "moodledata".

Datei:Vista moodle 1.jpg

  • Second, right click and select "Properties".

Datei:Vista moodle 2.jpg

  • In the box that pops up, select the "Security" tab.

Datei:Vista moodle 3.jpg

  • Click on the "Edit" button.

Datei:Vista moodle 4.jpg

  • Another box will pop up. Select "Users" and give them "Modify" and "Write" permissions, along with whatever existed already.

Datei:Vista moodle 5.jpg

Start the 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.

Datei:Xampp23.gif

  • The initial install page is displayed.

Datei: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.

Datei:Xampp25.gif

  • Click the “Next” button to continue.
  • The paths for your Moodle installation are shown – accept these or amend as desired.

Datei:Xampp26.gif

  • Click the “Next” button to continue.
  • In this screen we enter the database settings. The fields are populated with some suggested values.

Datei:Xampp27.gif

  • In this example the database created is “moodle153”. The “root” user will be used without a password.
  • DO NOT USE THE “ROOT” USER WITHOUT A PASSWORD FOR PRODUCTION INSTALLATIONS AS THIS CREATES A SECURITY VULNERABILITY

Datei:Xampp28.gif

  • When the fields have been populated, click the “Next” button to continue.
  • Provided the Moodle folder is writable a message confirming the configuration has been completed will be displayed.

Datei:Xampp29.gif

  • Click the “ Continue” button to proceed.

The Moodle copyright / licence notices are displayed.

Datei:Xampp30.gif

  • Click the “Yes” button to continue, then follow the instructions on the following screens.

Troubleshooting

Bitnami

  • If you have previously created a Moodle install with the Bitnami installer you may find that Apache will not start. This is because Bitnami installs a service for Apache and MySQL. To disable these go to Control Panel > Administrative tools > Service to locate and disable these services.

Skype

  • If XAMPP does not work when you launch your browser and you have Skype enabled it may be necessary to change the port settings in Skype.
  • Locate "Options..." in Skype.

Datei:Skype1.gif

  • Locate the "Connection" options.

Datei:Skype2.gif

  • Remove the tick / check from the Checkbox.

Datei:Skype3.gif

  • Click the "Save" button.
  • You may need to re-start your computer for this to take effect.


Still having problems but do not have Skype installed?

  • Check for another program which may be using port 80. IIS is commonly found to be the culprit.

Moodle Networking does not work

You may need to enable curl. Instructions at this link Enable curl in XAMPP on XP

See also

sk:Moodle Windows Inštalácia pomocou XAMPP