Moodle: Difference between revisions
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
# You should see a notice at the top of the screen that says that '''Your SQL query has been executed successfully'''. | # You should see a notice at the top of the screen that says that '''Your SQL query has been executed successfully'''. | ||
# Close this window, and continue with the Moodle install. | # Close this window, and continue with the Moodle install. | ||
== Setting your Data Directory == | |||
When setting up a data directory, Moodle will want a path outside the web server's root. Unfortunately with our shared hosting, we don't offer that; but we can achieve the same result in a few steps. Basically, you want to create a new site to hold the Moodle data, but then disable it so that the web server can't access it. | |||
# Log into your Bravenet account, and then click the 'FTP Hosting' tab and then the 'websites' subtab. | |||
# Click on 'build a new website' | |||
# Choose 'use a subdomain' | |||
# Choose your site's domain out of the dropdown, and enter 'data' as the subdomain name, and then create the site. | |||
# Click the 'disable this website' button | |||
# Find the storage path for your site - it's listed at the bottom of the website management screen, in a blue box. It'll look similar to <tt>/misc/00/000/000/000/00/user/web/data.yoursite.com/</tt> | |||
# Now, in Moodle, you'd want to set this storage path as your data directory. |
Revision as of 13:23, 1 March 2012
NOTE: Full installation instructions may be added later. This is just some helpful tips to get you started in installing Moodle.
Moodle requires a few tweaks to your account before you can install it:
Changing your PHP Version
First, you'll need to ensure that you're running at least PHP 5.3 on your site. We have a page on how to select your PHP version.
Changing your database language settings
Next, Moodle requires its database tables to be created with UTF-8 support. To do this:
- create a new database, as normal, and then click on the Edit Tables icon next to it.
- in this new window, click the name of the database in the left column (next to the line that says information_schema)
- now, click the Operations tab at the top
- One of the boxes will be labelled Collation:. Scroll through this list and find the option named utf8_general_ci. Select this and click the Go button.
- You should see a notice at the top of the screen that says that Your SQL query has been executed successfully.
- Close this window, and continue with the Moodle install.
Setting your Data Directory
When setting up a data directory, Moodle will want a path outside the web server's root. Unfortunately with our shared hosting, we don't offer that; but we can achieve the same result in a few steps. Basically, you want to create a new site to hold the Moodle data, but then disable it so that the web server can't access it.
- Log into your Bravenet account, and then click the 'FTP Hosting' tab and then the 'websites' subtab.
- Click on 'build a new website'
- Choose 'use a subdomain'
- Choose your site's domain out of the dropdown, and enter 'data' as the subdomain name, and then create the site.
- Click the 'disable this website' button
- Find the storage path for your site - it's listed at the bottom of the website management screen, in a blue box. It'll look similar to /misc/00/000/000/000/00/user/web/data.yoursite.com/
- Now, in Moodle, you'd want to set this storage path as your data directory.