{"id":123,"date":"2020-02-26T03:22:00","date_gmt":"2020-02-26T03:22:00","guid":{"rendered":"https:\/\/molecularsciences.org\/content\/?p=123"},"modified":"2024-02-02T17:21:23","modified_gmt":"2024-02-02T22:21:23","slug":"installing-moodle-on-linux","status":"publish","type":"post","link":"https:\/\/molecularsciences.org\/content\/installing-moodle-on-linux\/","title":{"rendered":"Installing Moodle on Linux"},"content":{"rendered":"\n<p>First of all make sure that you have Apache, MySQL (or PostgreSQL), and PHP installed and configured on your system. On Ubuntu, you would type the following to install these applications:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo install apache2\nsudo install mysql-server\nsudo install php5\nsudo install php5-mysql<\/code><\/pre>\n\n\n\n<p>php5-mysql is required enable connectivity between PHP5 and MySQL. Create a MySQL root password for your database. Then install Moodle.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo install moodle<\/code><\/pre>\n\n\n\n<p>Follow the instructions. Once installation is complete, open your browser and go to http:\/\/localhost\/moodle\/admin. Follow instructions and voila! Moodle is ready to use.<\/p>\n\n\n\n<p>If you get a &#8220;Forbidden Page&#8221; error, edit \/etc\/moodle\/apache.conf and add the following line above allow from localhost:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Allow from *\nAllow from localhost<\/code><\/pre>\n\n\n\n<p>For more info on installing Moodle, go to&nbsp;<a target=\"_blank\" href=\"http:\/\/docs.moodle.org\/en\/Installing_Moodle\" rel=\"noreferrer noopener\">http:\/\/docs.moodle.org\/en\/Installing_Moodle<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>First of all make sure that you have Apache, MySQL (or PostgreSQL), and PHP installed and configured on your system. On Ubuntu, you would type the following to install these applications: php5-mysql is required enable connectivity between PHP5 and MySQL. Create a MySQL root password for your database. Then install Moodle. Follow the instructions. Once [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[82,24],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry","category-php","tag-installation-guide","tag-php"],"_links":{"self":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":2,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"predecessor-version":[{"id":125,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/123\/revisions\/125"}],"wp:attachment":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}