forked from projectestac/agora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL.txt
92 lines (56 loc) · 3.09 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
GENERAL Configuration (mandatory in any case)
--------------------------------------------------------
1. Activate Apache mod_rewrite module.
2. Copy into the public HTML directory of the web server the html/.htaccess
file and the html/config directory.
3. Edit .htaccess file to configure RewriteBase parameter. In a URL like this:
http://server/schoolname/moodle, RewriteBase must be "/".
4. Rename config/config-dist.php to config.php and edit all the
$agora['xx']['xx'] vars. Each parameter has a comment (//) at the end of the
line explaining its purpose.
5. Rename config/env-config-dist.php to env-config.php and edit all the
$agora['xx']['xx'] vars as in step 4.
6. Rename config/config-restricted-dist.php to config-restricted.php and edit
all the $agora['xx']['xx'] vars as in step 4.
MOODLE Installation
--------------------------------------------------------
1. Copy into the public HTML directory of the web server the html/moodle
directory.
2. Set the permissions of moodledata directory. It should be readable AND
WRITEABLE by the web server user (tipically 'nobody' or 'apache'), but it
should not be accessible directly via the web (that's why it's out of the
html directory).
3. Create empty databases named usu1, usu2, usu3 and usu4 (4 Moodles). Please
note that 'usu' is the prefix specified in $agora['moodle']['username']
in config/config.php file, followed by a number (1 for the first Moodle,
2 for the second...). That means if it is defined
$agora['moodle']['username']='agora', database names must be agora1,
agora2 and so on.
4. Rename moodle/config-dist.php to moodle/config.php. Edit param INSTALL_BASE
according to server configuration.
7. Access to each instance through the following URL:
http://[$agora['server']['html']]/$agora['server']['base']/[$agora['moodle']['username']]XX/moodle
For example: http://localhost/agora/usu1/moodle
Moodle will show the install script, where all tables will be set.
ZIKULA Installation
--------------------------------------------------------
1. Copy into the public HTML directory of the web server the html/zikula
directory.
2. Create MySQL database 'usu1' with collation 'utf8_general_ci'.
3. Import sql/intranet_usu1.sql into database adminagora.
4. Make directory zkdata/usu1 and all its sudirectories writable by web
server.
5. Repeat steps 2 to 4 for usu2, usu3 and usu4
Note: Access to intranets can be done with admin - agora.
PORTAL Installation
--------------------------------------------------------
1. Copy into the public HTML directory of the web server the html/portal
directory.
2. Create MySQL database 'adminagora' with collation 'utf8_general_ci'.
3. Import sql/adminagora.sql into database adminagora.
4. Make directory portaldata and all its sudirectories writable by web
server.
Note: Access to service manager app (http://agora/agora/portal) is done
with username 'admin' and password 'agora'.
Developers can found more information in the project documentation
(https://projectes.lafarga.cat/mediawiki/index.php/Developers_documentation).