{"id":9138,"date":"2022-02-10T07:51:44","date_gmt":"2022-02-10T07:51:44","guid":{"rendered":"https:\/\/myprojects.advchaweb.com\/?p=9138"},"modified":"2023-06-10T06:42:17","modified_gmt":"2023-06-10T06:42:17","slug":"moodle-3-11-5-installation","status":"publish","type":"post","link":"https:\/\/myprojects.advchaweb.com\/index.php\/2022\/02\/10\/moodle-3-11-5-installation\/","title":{"rendered":"Moodle 3.11.5 Installation"},"content":{"rendered":"<ol>\n<li>Download the latest version from\u00a0https:\/\/download.moodle.org\/<\/li>\n<li>Extract the zip file to your webroot directory<\/li>\n<li>APACHE SETUP:\n<pre class=\"lang:default decode:true\">sudo gedit \/etc\/apache2\/sites-available\/moodle-3-11-5.test.conf<\/pre>\n<p>CONTENT<\/p>\n<pre class=\"lang:default decode:true\">&lt;VirtualHost moodle-3-11-5.test:80&gt;\r\n\tServerName www.moodle-3-11-5.test\r\n\tDocumentRoot \"\/home\/satria\/Documents\/projects\/moodle-3-11-5\"\r\n\tDirectoryIndex index.php\r\n\t&lt;Directory \"\/home\/satria\/Documents\/projects\/moodle-3-11-5\"&gt;\r\n\t    AllowOverride All\r\n\t    Allow from All\r\n\t    Require all granted\r\n\t&lt;\/Directory&gt;\r\n\tErrorLog \/var\/log\/apache2\/moodle-3-11-5.error.log\r\n\tCustomLog \/var\/log\/apache2\/moodle-3-11-5.access.log combined\r\n&lt;\/VirtualHost&gt;<\/pre>\n<p>ENABLE THE VIRTUALHOST<\/p>\n<pre class=\"lang:default decode:true\">sudo a2ensite moodle-3-11-5.test.conf<\/pre>\n<p>RELOAD APACHE2<\/p>\n<pre class=\"lang:default decode:true\">sudo systemctl reload apache2<\/pre>\n<p>CREATE THE HOST<\/p>\n<pre class=\"lang:default decode:true\">sudo gedit \/etc\/hosts<\/pre>\n<p>INSERT:<\/p>\n<pre class=\"lang:default decode:true\">127.0.0.1 moodle-3-11-5.test<\/pre>\n<p>SET THE FILE PERMISSIONS &amp; RELOAD APACHE2<\/p>\n<pre class=\"lang:default decode:true\">satria@teddy:~\/Documents\/projects$ sudo chmod -R 777 moodle-3-11-5\/\r\nsatria@teddy:~\/Documents\/projects$ sudo systemctl reload apache2<\/pre>\n<p>Create a moodle data directory in \/home\/satria\/Documents\/projects\/moodledata then set the permission to 777<\/p>\n<p>OPEN: http:\/\/moodle-3-11-5.test\/\u00a0 (INSTALL FIRST!)<br \/>\nSelect the database &#8216;mariadb&#8217; then create the db<br \/>\nCHECK THE PHP CONFIG IN http:\/\/localhost\/phpinfo.php<br \/>\nOR IN \/etc\/php\/7.4\/apache2\/php.ini<br \/>\nCHANGE &#8216;max_input_vars&#8217; TO at least 5000 (I made it 10000)<\/li>\n<\/ol>\n<p>Create an username and password<\/p>\n<pre class=\"lang:default decode:true\">username: admin\r\npassword: Admin@123\r\n\r\nFirst Name: Admin\r\nSur Name: User<\/pre>\n<p>OPEN: http:\/\/moodle-3-11-5.test\/<br \/>\nADMIN: http:\/\/moodle-3-11-5.test\/my\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download the latest version from\u00a0https:\/\/download.moodle.org\/ Extract the zip file to your webroot directory APACHE SETUP: sudo gedit \/etc\/apache2\/sites-available\/moodle-3-11-5.test.conf CONTENT &lt;VirtualHost moodle-3-11-5.test:80&gt; ServerName www.moodle-3-11-5.test DocumentRoot &#8220;\/home\/satria\/Documents\/projects\/moodle-3-11-5&#8221; DirectoryIndex index.php &lt;Directory &#8220;\/home\/satria\/Documents\/projects\/moodle-3-11-5&#8221;&gt; AllowOverride All Allow from All Require all granted &lt;\/Directory&gt; ErrorLog \/var\/log\/apache2\/moodle-3-11-5.error.log CustomLog \/var\/log\/apache2\/moodle-3-11-5.access.log combined &lt;\/VirtualHost&gt; ENABLE THE VIRTUALHOST sudo a2ensite moodle-3-11-5.test.conf RELOAD APACHE2 sudo systemctl reload &hellip; <a href=\"https:\/\/myprojects.advchaweb.com\/index.php\/2022\/02\/10\/moodle-3-11-5-installation\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Moodle 3.11.5 Installation&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[],"class_list":["post-9138","post","type-post","status-publish","format-standard","hentry","category-moodle"],"_links":{"self":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/9138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/comments?post=9138"}],"version-history":[{"count":4,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/9138\/revisions"}],"predecessor-version":[{"id":9143,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/posts\/9138\/revisions\/9143"}],"wp:attachment":[{"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/media?parent=9138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/categories?post=9138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myprojects.advchaweb.com\/index.php\/wp-json\/wp\/v2\/tags?post=9138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}