03.09.2018 Views

Moodle 2.0

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Installing <strong>Moodle</strong><br />

Installation Step 5: Creating the <strong>Moodle</strong><br />

database and user<br />

While the <strong>Moodle</strong> data directory stores files uploaded by students, and some larger<br />

files, the <strong>Moodle</strong> database stores most of the information for your <strong>Moodle</strong> site. By<br />

default, the installer uses the database name moodle and the username moodleuser.<br />

Using these default settings gives any hacker a head start on breaking your site.<br />

When creating your database, change these to something less common. At least<br />

make the hackers guess the name of your database and the database username.<br />

You should also choose a strong password for the <strong>Moodle</strong> database user. Here are<br />

some recommendations for strong passwords:<br />

• Include at least one number, one symbol, one uppercase letter, and one<br />

lowercase letter.<br />

• Make the password at least 12 characters long.<br />

• Avoid repetition, dictionary words, letter or number sequences, and<br />

anything based on biographical information about yourself.<br />

You will need to create the <strong>Moodle</strong> database, and the database user, before you run<br />

<strong>Moodle</strong>'s installation routine. Otherwise, the installation process will stop until you<br />

have created the required database.<br />

Creating the database<br />

<strong>Moodle</strong> can use several types of database. The recommended type is MySQL. There<br />

are many ways to create a database. If you are using a shared hosting service, you<br />

might have access to phpMyAdmin. You can use this to create the <strong>Moodle</strong> database<br />

and the database user.<br />

[ 46 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!