Вы находитесь на странице: 1из 18

Moodle

.. ...,

..

.. ...,

,
,
Moodle (http://www.moodle.org).

web- Apache PHP



Moodle Linux, -
Apache, MySQL PHP (
LAMP). Windows XP
MySQl, Oracle PostgreSQL. .
-. Apache (http://www.apache.org),
. Moodle , PHP, IIS Windows.
PHP -.
PHP ( 4.1.0). 5 (5.1.0 ) .
PHP :
http://www.php.net.
().
Mysql (http://www.mysql.com) PostgreSQL (http://www.postgresql.org).
Microsoft SQL Server Oracle .
MySQL 3.23. Moodle 1.6
MySQL 4.1.16.
PostgreSQL 7.4 ( 8.0).
php safe mode (OFF)
PHP (php.ini) Apache (httpd.conf).
( PHP):
GD (http://www.boutell.com/gd/)
FreeType 2 (http://www.freetype.org/)
(, ,
).
mbstring .
mysql MySQL MySQL
pgsql PostgreSQL PostgreSQL.
zlib zip/unzip.

- Apache PHP
, ,
- index.php (, index.html
index.htm). - Apache DirectoryIndex
httpd.conf. :
DirectoryIndex index.php index.html index.htm
Apache 2, AcceptPathInfo
on, , php
http://server/file.php/arg1/arg2.
,
Moodle. , httpd.conf :
AcceptPathInfo on
, Moodle PHP.
.
PHP ( ) .
PHP ( php.ini) :
magic_quotes_gpc = 1
magic_quotes_runtime = 0
file_uploads = 1
session.auto_start = 0
session.bug_compat_warn = 0
upload_max_filesize 16M
post_max_size 16M

httpd.conf php.ini, Moodle ,
, ,
(OVERRIDE) .
.htaccess Moodle :
DirectoryIndex index.php index.html index.htm
<IfDefine APACHE2>
AcceptPathInfo on
</IfDefine>
php_flag magic_quotes_gpc 1
php_flag magic_quotes_runtime 0
php_flag file_uploads 1
php_flag session.auto_start 0
php_flag session.bug_compat_warn 0

:
LimitRequestBody 0

php_value upload_max_filesize 16M


php_value post_max_size 16M
-
lib/htaccess .

MySQL

(, moodle),
(, moodleuser) .
, Moodle 1.5.
MySQL 5. STRICT_TRANS_TABLES, MySQL 5.
(my.ini
Windows my.cnf Unix/Linux).
MySQL.

(, PhpMyAdmin - http://www.phpmyadmin.net),
mysql.
, Unix shell mysql.
Moodle 5.x:
# mysql -u root -p
> CREATE DATABASE moodle DEFAULT CHARACTER SET utf8 COLLATE
utf8_unicode_ci;
> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, CREATE
TEMPORARY TABLES, DROP,INDEX,ALTER ON moodle.* TO
moodleuser@localhost IDENTIFIED BY 'yourpassword';
> exit
# mysqladmin -p reload


Moodle :
() CVS ( ).
http://download.moodle.org :
Moodle ,
Moodle (
XAMPP). Moodle
(, -, PHP) .
Moodle,
,
(, -, PHP).
, :
tar -zxvf [filename]

unzip [filename]
moodle,
.

- (
Moodle http://../moodle),
- (
http://..).

moodle
.
config.php moodle.
.
install.php , config.php
version.php Moodle
index.php
admin/ -
auth/ -
blocks/ -

calendar/ - ,
course/ - ,
doc/ - Moodle
files/ - ,
lang/ -
lib/ - Moodle
login/ - ,

mod/ -
pix/ -
theme/ - .. ,
user/ - ,


Moodle

http://../install.php

http://127.0.0.1/install.php ( , ,
Moodle).
Coockie.
Coockie!
Moodle
,
config.php. ,
Moodle .
Moodle
, - .
.

.1 http://127.0.0.1/install.php.
.
1. language (. . 1) (ru)
Next. , . 2.

.2 .
2. Pass, , ,
. , , .3.

.3 Web- .
3. Web address IP-, , http://localhost http:// http://127.0.0.1
Moodle.
, .4. , , . 5.

.4 . Web- http://localhost.

.5 - MySQL.
4. , .
- root, - ,
. , , . 6.

.6 - MySQL.
5. - (.7),
, Yes.

.7 Moodle.
6. Yes
, . Moodle. :
, Success,
. 8. Database was successfully upgraded,
, .

.8 .
Continue, , ,
. 9.

.9 Moodle.
7. Continue,
Moodle, .10.
Continue.

.10 Moodle.
8. .11, .12.

.11 Moodle .

.12 Moodle.
9. .
, , Interface lang
(ru), locale - en,

country - Russian Federation.


Save changes
, . 13.
workshop
.
.

.13 .
10. , . 14, ,
. . 15,
, , , .16.

.14 .

.15 .

.16 .
11. , .17.
,
- .18.

.17 .

.18 .
12. , ,
, ( ) - VS.
,
, !, . . 19.
, ,
,
.
, . . 20.

.19 .

.20
.
13. , . 20, , . 21
() , . .21,
.

.21
.
14. , . .21, ,
, admin, . :
, 8-10 ,
,
.
,
.
, , ,
.
15. , - ,
e-mail - , , email . ,

.
. ,
, , , ,
, . ,


, , . . 22.

.22 .
16. , . . 23,
.

.23 .

17. , . . 23,
,
, . .24.

.24 .