![]() ![]() Mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,CREATE TEMPORARY TABLES,DROP,INDEX,ALTER ON moodle.* TO IDENTIFIED BY 'yourpassword'Ĭreate a user/password combination with appropriate permissions for the database.For example, using MySQL:ĬREATE DATABASE moodle DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci Notes: It is important to GRANT ON moodle.* as the database name including the '.*' and not just the bare database name. Save this password you use for the Moodle user, since you will need it later in the install. Create an empty directory to hold Moodle files.It must not be in the area served by the web server and must have permissions so that the web server user can write to it. Other than that it can be located anywhere. ![]() Typically, either make it owned by the web server user or give it write permissions for 'everyone'. If it is on a shared/NFS drive then read Caching - Moodle caches to this disk area by default and a slow share will mean terrible performance. If you downloaded the zip or tgz file earlier, then unzip / untar / move / copy the Moodle code (obtained above) so that it will be served by your web server (e.g.On Debian based Linux, move to /var/www/html/moodle) #MOODLE ALTER HIGH SCHOOL ZIP# Check the permissions and make sure that the web server does not have permissions to write to any of the files in the Moodle code directories (a very common root cause of sites being hacked).If you need to, configure your web server to serve the Moodle site with your chosen URL.In the Moodle code directory, find the file config-dist.php and copy it to a new file called config.php (but read next step, 'Install Moodle', first).Edit config.php with your favourite editor and change the appropriate settings to point to your site, directories and database.Note: the Moodle install script will create config.php for you if it does not exist but make sure you (re-)set permissions appropriately afterwards Go to the URL for your moodle site in a browser (installation will complete automatically) or run the command line version at (requires cli version of PHP).usr/bin/php /path/to/moodle/admin/cli/install.php The CLI creates the config.php for you and will not run if you created one in the previous step. After completing the install make sure your file permissions are ok for the Moodle program files (not writeable by web server) and the Moodle data files (writeable by web server).You will need a cron job to run periodically. * * * * * /usr/bin/php /path/to/moodle/admin/cli/cron.php >/dev/null A typical Unix cron entry will be as follows: It is recommended that the cron is run every minute, as required for asynchronous activity deletion when using the recycle bin. Your site will not work properly unless cron is running regularly. It is very important you do not skip this step. You are now ready to use your Moodle site. If you run into problems, check the Installation FAQ and visit the Installation help forum.Frequent uses in Primary education can be extended in late childhood/adolescent years particularly with social, collaborative learning features like forums, wikis, glossaries, blogs and more.Īt this stage, teachers often streamline submission of assignments, post feedback, grades. ![]()
0 Comments
Leave a Reply. |