translated till 8
This commit is contained in:
+68
-88
@@ -148,34 +148,29 @@ LAMP platform), maar is ook grondig getest met PostgreSQL en op Windows XP, Mac
|
||||
</blockquote>
|
||||
<p> </p>
|
||||
<h3 class="sectionheading"><a name="webserver" id="webserver"></a>6. Instellingen van de webserver controleren</h3>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<blockquote>
|
||||
<p>Firstly, make sure that your web server is set up to use index.php as a default
|
||||
page (perhaps in addition to index.html, default.htm and so on).</p>
|
||||
<p>In Apache, this is done using a DirectoryIndex parameter in your httpd.conf
|
||||
file. Mine usually looks like this:</p>
|
||||
<p>Zorg er eerst voor dat je webserver ingesteld is om index.php als startpagina te gebruiken (eventueel aangevuld met
|
||||
index.html, default.htm enz).</p>
|
||||
<p>In Apache gebeurt dit door een DirectoryIndex parameter te gebruiken in je httpd.conf bestand. Het mijne ziet
|
||||
er gewoonlijk zo uit:</P>
|
||||
<blockquote>
|
||||
<pre><strong>DirectoryIndex</strong> index.php index.html index.htm </pre>
|
||||
</blockquote>
|
||||
<p>Just make sure index.php is in the list (and preferably towards the start
|
||||
of the list, for efficiency).</p>
|
||||
<p>Secondly, <b>if you are using Apache 2</b>, then you should turn on the <i>AcceptPathInfo</i>
|
||||
variable, which allows scripts to be passed arguments like http://server/file.php/arg1/arg2.
|
||||
This is essential to allow relative links between your resources, and also
|
||||
provides a performance boost for people using your Moodle web site. You can
|
||||
turn this on by adding these lines to your httpd.conf file.</p>
|
||||
<p>Verzeker jezelf er van dat index.php in het lijstje staat (en voor de efficiëntie liefst ergens
|
||||
bovenaan de lijst).</p>
|
||||
<p>Verder <b>als je Apache 2 gebruikt</b>, moet je de <i>AcceptPathInfo</i>
|
||||
variable inschakelen. Die zorgt er voor dat aan scripts parameters kunnen doorgegeven worden
|
||||
zoals http://server/file.php/arg1/arg2.
|
||||
Dit is noodzakelijk om relatieve links tussen je bronnen toe te laten, wat dan weer voor een grote
|
||||
snelheidswinst oplevert voor bezoekers van je Moodle-site. Je kunt dit inschakelen door volgende lijnen in je
|
||||
httpd.conf-bestand te zetten.</p>
|
||||
<blockquote>
|
||||
<pre><strong>AcceptPathInfo</strong> on </pre>
|
||||
</blockquote>
|
||||
<p>Thirdly, Moodle requires a number of PHP settings to be active for it to
|
||||
work. <b>On most servers these will already be the default settings.</b>
|
||||
However, some PHP servers (and some of the more recent PHP versions) may
|
||||
have things set differently. These are defined in PHP's configuration
|
||||
file (usually called php.ini):</p>
|
||||
<p>Ten derde vereist Moodle een aantal PHP-instellingen actief vóór het werkt.
|
||||
<b>Op de meeste servers zullen deze al in de standaardinstellingen voorzien zijn.</b>
|
||||
Hoewel sommige PHP-servers (en sommige van de recentere PHP-versies) andere instellingen kunnen hebben. Je kunt
|
||||
ze vinden in het PHP configuratiebestand (meestal php.ini):</p>
|
||||
<blockquote>
|
||||
|
||||
<pre>magic_quotes_gpc = 1 (preferred but not necessary)
|
||||
@@ -185,13 +180,12 @@ session.auto_start = 0
|
||||
session.bug_compat_warn = 0
|
||||
</pre>
|
||||
</blockquote>
|
||||
<p>If you don't have access to httpd.conf or php.ini on your server, or you
|
||||
have Moodle on a server with other applications that require different settings,
|
||||
then don't worry, you can still OVERRIDE all of the default settings.
|
||||
<p>To do this, you need to create a file called <b>.htaccess</b> in Moodle's
|
||||
main directory that contains definitions for these settings.
|
||||
This only works on Apache servers and only when Overrides have been allowed.
|
||||
|
||||
<p>Als je geen toegang hebt tot httpd.conf of tot php.ini op jouw server, of je hebt Moodle geïnstalleerd
|
||||
op een server met andere toepassingen die andere instellingen vereisen, maak je dan geen zorgen, je kunt al
|
||||
die standaardinstellingen nog overschrijven.
|
||||
<p>Om dit te doen maak je een bestandje met als naam <b>.htaccess</b> in Moodle's
|
||||
hoofdmap. Daarin zet je al deze instellingen. Dit werkt enkel op Apache servers en alleen als Overrides toegestaan
|
||||
zijn.
|
||||
<blockquote>
|
||||
<pre>
|
||||
DirectoryIndex index.php index.html index.htm
|
||||
@@ -206,8 +200,7 @@ php_flag file_uploads 1
|
||||
php_flag session.auto_start 0
|
||||
php_flag session.bug_compat_warn 0</pre>
|
||||
</blockquote>
|
||||
<p>You can also do things like define the maximum size for uploaded files:
|
||||
|
||||
<p>Je kunt ook instellingen maken zoals de maximum grootte voor de geüploade bestanden.
|
||||
<blockquote>
|
||||
<pre>
|
||||
LimitRequestBody 0
|
||||
@@ -215,44 +208,38 @@ php_value upload_max_filesize 2M
|
||||
php_value post_max_size 2M
|
||||
</pre>
|
||||
</blockquote>
|
||||
<p>The easiest thing to do is just copy the sample file from lib/htaccess
|
||||
and edit it to suit your needs. It contains further instructions. For
|
||||
example, in a Unix shell:
|
||||
<p>De eenvoudigste manier is het voorbeeldbestand kopiëren uit lib/htaccess en dat bewerken om het aan jouw noden
|
||||
aan te passen. Het bevat verdere aanwijzingen, bijvoorbeeld, in een Unix shell:
|
||||
<blockquote>
|
||||
<pre>cp lib/htaccess .htaccess</pre>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
<p> </p>
|
||||
<h3 class="sectionheading"><a name="config"></a>7. Edit config.php</h3>
|
||||
<h3 class="sectionheading"><a name="config"></a>7. Config.php bewerken</h3>
|
||||
<blockquote>
|
||||
<p>Now you can edit the configuration file, <strong>config.php</strong>, using a
|
||||
text editor. This file is used by all other files in Moodle.</p>
|
||||
<p>To start with, make a copy of <strong>config-dist.php</strong> and name it
|
||||
config.php. We do this so that your config.php won't be overwritten in case
|
||||
you upgrade Moodle later on. </p>
|
||||
<p>Edit <strong>config.php</strong> to specify the database details that you
|
||||
just defined (including a table prefix - notice that this is REQUIRED for
|
||||
PostgreSQL), as well as the site address, file system directory and data directory.
|
||||
The config file itself has detailed directions and examples.</p>
|
||||
<p>Once you have done this the rest of the installation is via a web interface.
|
||||
For the rest of this installation document we will assume your site is at:
|
||||
<u>http://example.com/moodle</u></p>
|
||||
<p>Nu kun je het configuratiebestand, <strong>config.php</strong>, bewerken met een tekstverwerker.
|
||||
Dit bestand wordt door alle andere bestanden in Moodle gebruikt.</p>
|
||||
<p>Maak om te beginnen een kopie van <strong>config-dist.php</strong> en noem ze config.php.
|
||||
We doen dit, zodat je config.php niet overschreven zou worden als je Moodle later upgrade.</p>
|
||||
<p>Bewerk <strong>config.php</strong> om de details van de databank te specifiëren die je net gemaakt hebt
|
||||
(tabelprefix inbegrepen - let op: dit is vereist voor PostgreSQL), het siteadres, de map van het bestandssysteem
|
||||
en de gegevensmap. In het configuratiebestand staan details en voorbeelden.</p>
|
||||
<p>Na deze instellingen verloopt de rest van de installatie via een webinterface. Vanaf hier veronderstellen we dat
|
||||
je site te vinden is op: <u>http://example.com/moodle</u></p>
|
||||
</blockquote>
|
||||
<p> </p>
|
||||
<h3 class="sectionheading"><a name="admin"></a>8. Go to the admin page</h3>
|
||||
<h3 class="sectionheading"><a name="admin"></a>8. Naar de admin pagina gaan</h3>
|
||||
<blockquote>
|
||||
<p>The admin page should now be working at: <u>http://example.com/moodle/admin</u>.
|
||||
If you try and access the front page of your site you'll be taken there automatically
|
||||
anyway. The first time you access this admin page, you will be presented with
|
||||
a GPL "shrinkwrap" agreement with which you must agree before you
|
||||
can continue with the setup.</p>
|
||||
<p>(Moodle will also try to set some cookies in your browser. If you have your
|
||||
browser set up to let you choose to accept cookies, then you <b>must</b> accept
|
||||
the Moodle cookies, or Moodle won't work properly.)
|
||||
<p>Now Moodle will start setting up your database and creating tables to store
|
||||
data. Firstly, the main database tables are created. You should see a number
|
||||
of SQL statements followed by status messages (in green or red) that look
|
||||
like this:</p>
|
||||
<p>De adminpagina zou nu moeten werken op: <u>http://example.com/moodle/admin</u>.
|
||||
Als je probeert naar de startpagina van je site te gaan, dan zul je toch automatisch naar de
|
||||
adminpagina gestuurd worden. De eerste keer dat je deze pagina bezoekt, krijg je een licentieverklaring
|
||||
te zien, die je moet goedkeuren voor de installatie kan verdergezet worden.</p>
|
||||
<p>Moodle zal ook wat cookies in je browser proberen te zetten. Als je je browser ingesteld hebt om het gebruik
|
||||
van cookies te controleren, dan <b>moet</b> je instellen om van Moodle cookies te accepteren, anders werkt
|
||||
Moodle niet correct.
|
||||
<p>Nu zal Moodle beginnen met het configureren van je databank en met het maken van tabellen om de gegevens in
|
||||
te bewaren. Eerst worden de belangrijkste tabellen gemaakt. Je zou een aantal SQL-opdrachten moeten zien,
|
||||
gevolgd door statusberichten (in groen of rood) die er uitzien zoals dit:</p>
|
||||
<blockquote>
|
||||
<p>CREATE TABLE course ( id int(10) unsigned NOT NULL auto_increment, category
|
||||
int(10) unsigned NOT NULL default '0', password varchar(50) NOT NULL default
|
||||
@@ -263,47 +250,40 @@ php_value post_max_size 2M
|
||||
'0', timemodified int(10) unsigned NOT NULL default '0', PRIMARY KEY (id))
|
||||
TYPE=MyISAM</p>
|
||||
<p><font color="#006600">SUCCESS</font></p>
|
||||
<p>...and so on, followed by: <font color="#006600">Main databases set up
|
||||
<p>...enzovoort, gevolgd door: <font color="#006600">Main databases set up
|
||||
successfully.</font> </p>
|
||||
</blockquote>
|
||||
<p>If you don't see these, then there must have been some problem with the database
|
||||
or the configuration settings you defined in config.php. Check that PHP isn't
|
||||
in a restricted "Safe Mode" (commercial web hosts sometimes have safe mode
|
||||
turned on). You can check PHP variables by creating a little file containing
|
||||
<? phpinfo() ?> and looking at it through a browser. Check all these and
|
||||
try this page again.</p>
|
||||
<p>Als je dit niet ziet, dan moeten er wat problemen met de databank of zijn of met de instellingen die in
|
||||
config.php gedefinieerd zijn. Controleer of PHP niet in "Safe Mode" staat (commerciele web hosts
|
||||
zetten dit soms aan). Je kunt PHP variablen controleren door een klein bestandje te maken en te uploaden met daarin
|
||||
<? phpinfo() ?> en dat te bekijken met een browser. Controleer dit allemaal en probeer opnieuw.</p>
|
||||
<p>Scroll down the very bottom of the page and press the "Continue"
|
||||
link.</p>
|
||||
<p>Next you will see a similar page that sets up all the tables required by
|
||||
each Moodle module. As before, they should all be <font color="#006600">green</font>.</p>
|
||||
<p>Scroll down the very bottom of the page and press the "Continue"
|
||||
<p>Als volgende pagina zie je een gelijkaardige pagina die de tabellen voor elke Moodle module maakt.Zoals de vorige
|
||||
zouden deze <font color="#006600">green</font> moeten zijn.</p>
|
||||
<p>Scroll helemaal naar onderaan de pagina en klik op de "Continue"
|
||||
link.</p>
|
||||
<p>You should now see a form where you can define more configuration variables
|
||||
for your installation, such as the default language, SMTP hosts and so on.
|
||||
Don't worry too much about getting everything right just now - you can always
|
||||
come back and edit these later on using the admin interface. Scroll down to
|
||||
the bottom and click "Save changes".</p>
|
||||
<p>If (and only if) you find yourself getting stuck on this page, unable to
|
||||
continue, then your server probably has what I call the "buggy referrer" problem.
|
||||
This is easy to fix: just turn off the "secureforms" setting, then
|
||||
try to continue again.</p>
|
||||
<p>The next page is a form where you can define parameters for your Moodle site
|
||||
and the front page, such as the name, format, description and so on. Fill
|
||||
this out (you can always come back and change these later) and then press
|
||||
<p>Je zou nu een formulier moeten zien, waarin je meer configuratievariablen kunt ingeven, zoals de stanaardtaal,
|
||||
SMTP-hosts enzovoort. Maak je niet te veel zorgen om alles nu juist te zetten - je kunt altijd terugkeren
|
||||
en deze later bewerken met je beheer-interface. Scroll naar onderaan de pagina en klik op "Save changes".</p>
|
||||
<p>Als (en slecht als) je vastgeraakt op deze pagina, dan heeft je server waarschijnlijk, wat ik noem, het
|
||||
'buggy referrerprobleem' Dit is gemakkelijk te herstellen: schakel de "secureforms" instelling uit
|
||||
en probeer opnieuw.</p>
|
||||
<p>De volgende pagina is een formulier waar je de parameters voor de voorpagina van je Moodlesite, zoals
|
||||
de naam, opmaak, beschrijving enzovoort. kunt instellen. Vul dit in (je kunt altijd later terugkomen) en druk op
|
||||
"Save changes".</p>
|
||||
<p>Finally, you will then be asked to create a top-level administration user
|
||||
for future access to the admin pages. Fill out the details with your own name,
|
||||
email etc and then click "Save changes". Not all the fields are
|
||||
required, but if you miss any important fields you'll be re-prompted for them.
|
||||
<p>Ten slotte wordt je gevraagd een om een beherder aan te maken voor toegang toe de beheerpaginas. Vul
|
||||
hier je eigen naam, e-mail enz in. Niet alle velden zijn verplicht, maar als je een belangrijk veld mist, dan krijg
|
||||
je er opnieuw een aanvraagformulier voor.
|
||||
</p>
|
||||
<blockquote>
|
||||
<blockquote>
|
||||
<blockquote>
|
||||
<blockquote>
|
||||
<blockquote>
|
||||
<p><strong>Make sure you remember the username and password you chose
|
||||
for the administration user account, as they will be necessary to
|
||||
access the administration page in future.</strong></p>
|
||||
<p><strong>Zorg er voor dat je het paswoord en de gebruikersnaam die je
|
||||
gekozen hebt voor de beheerder, goed kent, omdat die nodig zijn om in de toekomst toegang tot het beheer
|
||||
te blijven hebben.</strong></p>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
|
||||
Reference in New Issue
Block a user