File: README.Debian

package info (click to toggle)
moodle 1.4.4.dfsg.1-3sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 57,876 kB
  • ctags: 29,496
  • sloc: php: 271,617; sql: 5,084; xml: 702; perl: 638; sh: 403; java: 283; makefile: 42; pascal: 21
file content (57 lines) | stat: -rw-r--r-- 2,108 bytes parent folder | download | duplicates (4)
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
Moodle quickstart for Debian
----------------------------

USAGE

  The application should be available at http://localhost/moodle/ after
  install.

  If you want to continue with setup and table creation from a remote browser
  in another host, you should edit the file /etc/moodle/apache.conf,
  removing the comment (#) from the line "allow from all" and restart apache.
  
  Note that if you do not remove this comment (#), no one will have remote
  access to your moodle installation and only local users on that
  machine will be able to access moodle.

QUICKSTART

  DATABASE CREATION

  For the correct database and user creation during the package installation
  you need to have a database admin account and the password for that account.

  In PostgreSQL you should verify that you have the right access policy in 
  /etc/postgresql/pg_hba.conf.

  You should change your PostgreSQL server configuration to use passwords to 
  authenticate users writing in your /etc/postgresql/pg_hba.conf file:

  local   all         all                                       password
  host    all         all   127.0.0.1         255.255.255.255   password

  Before restarting the postmaster you should check that the admin user
  has a password to access the database.

  You can do this by executing in a shell while being root:
  su - postgres
  psql template1
  (and inside the psql shell)
  ALTER USER postgres password 'new_pass';
  \q

  For further information about PostgreSQL users and passwords refer to
  the documentation available in the postgresql-doc package.

  Then, restart the postmaster with /etc/init.d/postgresql restart.

  TABLE CREATION

  In order to create the database tables you need to point your browser to
  http://localhost/moodle/admin . You need to have network access to your
  database, you can enable it in /etc/mysql/my.cnf (just comment the
  skip-networking line) for MySQL, and in /etc/postgresql/pg_hba.conf
  (the above pg_hba example should work) for PostgreSQL.

  Remember to restart the database with /etc/init.d/<database> restart if you
  change that files.