If you leave the owner as root, you will have to paste the suggested config.php into /var/www/html/moodleĬhown -R apache:apache /var/www/html/moodleįor another method of using Amazon EC2 for Moodle hosting you can utilize the free image created by Bitnami. This should put all of moodle in a directory called moodle in the correct folder /var/There are more sophisticated git commands, see git docs in moodle docs for more info.Īlso, you may give the apache user ownership of the site, this way, when you install, the script will be able to create the config.php file. This is better than chmod 777 which some users seem to do. Next, give the apache user all the access rights to moodledata. The default root folder for apache is /var/www/html and so moodledata is not accessible from the web. If you get connected OK then you can go on and quit.Ĭreate moodledata folder mkdir /var/www/moodledata Grant all privileges on moodledb.* to identified by '' Do not forget the " " after each command. Note that the versions of the available or promoted AMIs (Amazon Machine Instance) will rotate over time and this is as of this writing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |