{"id":12,"date":"2008-09-12T18:53:28","date_gmt":"2008-09-13T00:53:28","guid":{"rendered":"http:\/\/xux.in\/blog\/post\/install-moodle-on-ensim\/"},"modified":"2008-09-22T12:32:51","modified_gmt":"2008-09-22T17:32:51","slug":"install-moodle-on-ensim","status":"publish","type":"post","link":"http:\/\/xux.in\/blog\/post\/install-moodle-on-ensim\/","title":{"rendered":"Install Moodle on Ensim"},"content":{"rendered":"<p>This tutorial will cover Moodle&#8217;s 1.9.2 installation on a server running Ensim 4.x &#8211; 10.x \/ PHP5 \/ MySQL 4.1 &#8211; 5.2 (as root)<\/p>\n<p>&#8220;Moodle is a course management system (CMS) &#8211; a free, Open Source software package designed using sound pedagogical principles, to help educators create effective online learning communities.&#8221; For more info go to <a href=\"http:\/\/www.moodle.org\/\">Moodle&#8217;s official website<\/a>.<\/p>\n<p>1. First check your server meets the specifications listed. You will need additional packages and can be found <a href=\"http:\/\/docs.moodle.org\/en\/Installing_Moodle\">here<\/a>.<\/p>\n<p>2. wget <a href=\"http:\/\/download.moodle.org\/stable19\/moodle-1.9.2.tgz\">http:\/\/download.moodle.org\/stable19\/moodle-1.9.2.tgz<\/a> on \/home\/virtual\/siteX\/fst\/var\/www\/html\/<\/p>\n<p>3. tar zxf moodle-1.9.2.tgz<\/p>\n<p>4. chown -R adminX:adminX moodle<\/p>\n<p>5. mkdir ..\/moodledata<\/p>\n<p>6. chown -R apache:apache ..\/moodledata<\/p>\n<p>7. Create a MySQL database for moodle. I.E. domain_com_moodle<\/p>\n<p>8. Go to http:\/\/www.domain.com\/moodle\/install.php , select your language installation and ***WAIT***, check what it&#8217;s needed. Everything will look fine and you should only see 2 warnings about PHP low file uploads limit and PHP safe mode.<\/p>\n<p>pico or vi \/etc\/php.ini and verify the following values are set like this:<\/p>\n<pre lang=\"ini\">safe_mode = Off\r\nsafe_mode_gid = Off\r\nmemory_limit = 24M  ; Let moodle suck some memory;)\r\nupload_max_filesize = 16M  ; 8M is the default however is kinda small, set it to whatever you might need<\/pre>\n<p>* If you don&#8217;t want to mess with global values then edit the php.ini located at \/home\/virtual\/siteX\/fst\/etc\/php.ini<\/p>\n<p>9. Restart HTTPD: service httpd restart<\/p>\n<p>10. Refresh the page http:\/\/www.domain.com\/moodle\/install.php and check everything is fine. If you still see the Safe Mode warning then edit \/etc\/httpd\/conf\/httpd20_app.conf and find the line &#8220;php_admin_flag safe_mode on&#8221;, change it to &#8220;php_admin_flag safe_mode off&#8221; and restart HTTPD again.<\/p>\n<p>11. Refresh the page http:\/\/www.domain.com\/moodle\/install.php and EVERYTHING now should be fine, if not please go back to <a href=\"http:\/\/docs.moodle.org\/en\/Installing_Moodle\">http:\/\/docs.moodle.org\/en\/Installing_Moodle<\/a> and dig more.<\/p>\n<p>12. Now you can continue with the installation process. It should go smooth and it will ask you to copy the config file because the script has no access to write. Just copy the text, create a file &#8220;config.php&#8221; on the moodle directory and chown adminX:adminX config.php , continue with installation.<\/p>\n<p>13. Once installation is done you can go to http:\/\/www.domain.com\/moodle and login as admin with password admin, get inside ASAP and change the login and admin password \ud83d\ude42<\/p>\n<p>Now your Moodle is up and running, have fun!<\/p>\n<p>* For some users this mini-howto can be silly but still Ensim makes some applications hard to install because of it&#8217;s nature.<br \/>\n* If something goes wrong, don&#8217;t blame me, this is only an un-official guide.<\/p>\n<p>Happy Moodlin&#8217; \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will cover Moodle&#8217;s 1.9.2 installation on a server running Ensim 4.x &#8211; 10.x \/ PHP5 \/ MySQL 4.1 &#8211; 5.2 (as root) &#8220;Moodle is a course management system (CMS) &#8211; a free, Open Source software package designed using sound pedagogical principles, to help educators create effective online learning communities.&#8221; For more info go [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,8,5],"tags":[13,23,15,20],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-ensim","category-linux","category-software","tag-centos","tag-moodle","tag-php","tag-rhel"],"_links":{"self":[{"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":3,"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":30,"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/posts\/12\/revisions\/30"}],"wp:attachment":[{"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xux.in\/blog\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}