{"id":899,"date":"2018-10-05T03:47:11","date_gmt":"2018-10-05T08:47:11","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=899"},"modified":"2026-05-15T03:02:18","modified_gmt":"2026-05-15T08:02:18","slug":"how-to-install-moodle-on-debian-9","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/","title":{"rendered":"How to install Moodle on Debian 9"},"content":{"rendered":"<p>Moodle is a free and open-source learning management system designed to provide teachers or educators the tools to create personalized learning environments filled with dynamic online courses which help students and other users to achieve their learning goals. Today we will learn how to install the latest Moodle 3.5 version on\u00a0<a href=\"https:\/\/www.linuxcloudvps.com\/debian-cloud-vps.html\">Debian 9, with Apache web server, MariaDB and PHP 7.<\/a><!--more--><\/p>\n<p>Moodle comes with hundreds of built-in features such as:<\/p>\n<ul>\n<li>Modern and easy to use interface<\/li>\n<li>Personalized Dashboard<\/li>\n<li>Collaborative tools and activities<\/li>\n<li>All-in-one calendar<\/li>\n<li>Secure authentication and mass enrollment<\/li>\n<li>Multilingual capability<\/li>\n<li>Direct learning paths<\/li>\n<li>Multimedia Integration<\/li>\n<li>Customizable site design and layout<\/li>\n<li>and much more &#8230;<\/li>\n<\/ul>\n<h2>1. Login via SSH<\/h2>\n<p>Connect to your server via SSH as user root, using the following command:<\/p>\n<p>ssh root@<span style=\"color: #ff0000;\">IP_ADDRESS<\/span> -p <span style=\"color: #ff0000;\">PORT_NUMBER<\/span><\/p>\n<p>make sure that you replace &#8220;<span style=\"color: #ff0000;\">IP_ADDRESS<\/span>&#8221; and &#8220;<span style=\"color: #ff0000;\">PORT_NUMBER<\/span>&#8221; with your actual server IP address and SSH port number.<\/p>\n<h2>2. Update the OS Packages<\/h2>\n<p>Once logged in, run the following command to update your OS packages:<\/p>\n<pre>apt-get update\r\napt-get upgrade<\/pre>\n<h2>3. Install Apache Web Server<\/h2>\n<p>To install the Apache web server on your server, run the following command:<\/p>\n<pre>apt-get install apache2<\/pre>\n<p>Once the installation is complete, you need to start Apache and enable it to start automatically upon system boot<\/p>\n<pre>systemctl start apache2\r\nsystemctl enable apache2<\/pre>\n<h2>4. Install MariaDB<\/h2>\n<p>Moodle stores most of its data in a database, so we will install the MariaDB database server:<\/p>\n<pre>apt-get install mysql-client mysql-server<\/pre>\n<p>When the MariaDB installation is complete, run the following command to secure your MariaDB installation:<\/p>\n<pre>mysql_secure_installation<\/pre>\n<h2>5. Install PHP 7<\/h2>\n<p>Next, we will install PHP 7 and all the additional PHP modules which will be required by Moodle:<\/p>\n<pre>apt-get install php7.0 libapache2-mod-php7.0 php7.0-pspell php7.0-curl php7.0-gd php7.0-intl php7.0-mysql php7.0-xml php7.0-xmlrpc php7.0-ldap php7.0-zip php7.0-soap php7.0-mbstring<\/pre>\n<h2>6. Download and install Moodle<\/h2>\n<p>Before we download the moodle package, first let&#8217;s navigate to the default Apache web server root directory:<\/p>\n<pre>cd \/var\/www\/html<\/pre>\n<p>To download the latest moodle package, use the following command:<\/p>\n<pre>wget https:\/\/download.moodle.org\/stable35\/moodle-latest-35.tgz<\/pre>\n<p>&nbsp;<\/p>\n<pre>root@host:\/# wget https:\/\/download.moodle.org\/stable35\/moodle-latest-35.tgz\r\n--2018-09-15 12:56:34-- https:\/\/download.moodle.org\/stable35\/moodle-latest-35.tgz\r\nResolving download.moodle.org (download.moodle.org)... 104.20.218.25, 104.20.219.25, 2400:cb00:2048:1::6814:da19, ...\r\nConnecting to download.moodle.org (download.moodle.org)|104.20.218.25|:443... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 46447511 (44M) [application\/x-gzip]\r\nSaving to: &#039;moodle-latest-35.tgz&#039;\r\n\r\nmoodle-latest-35.tgz 100%[=====================================================================================================&gt;] 44.29M 60.7MB\/s in 0.7s\r\n\r\n2018-09-15 12:56:36 (60.7 MB\/s) - &#039;moodle-latest-35.tgz&#039; saved [46447511\/46447511]<\/pre>\n<p>To extract the file, run the following command:<\/p>\n<pre>tar xzf moodle-latest-35.tgz<\/pre>\n<p>Change the ownership and the permissions of the extracted Moodle directory with the following command:<\/p>\n<pre>chown -R www-data:www-data \/var\/www\/html\/moodle\r\nchmod -R 775 \/var\/www\/html\/moodle<\/pre>\n<p>Additionally, you will also need to create a directory for the Moodle data:<\/p>\n<pre>mkdir \/var\/www\/html\/moodledata<\/pre>\n<p>And set the correct ownership and permissions:<\/p>\n<pre>chown www-data:www-data \/var\/www\/html\/moodledata\r\nchmod 775 \/var\/www\/html\/moodledata<\/pre>\n<h2>7. Configure MariaDB and create a new database<\/h2>\n<p>Before you create a new moodle database, you will need to modify the default MariaDB configuration file. Moodle requires that you change the default storage engine to innodb and change the default file format to Barracuda. You will also need to set innodb_file_per_table in order for Barracuda to work properly.<\/p>\n<p>To edit the MariaDB configuration file. Run the following command:<\/p>\n<pre>nano \/etc\/mysql\/mariadb.conf.d\/50-server.cnf<\/pre>\n<p>Then add the following lines just below the <strong>[mysqld]<\/strong> section:<\/p>\n<pre>default_storage_engine = innodb\r\ninnodb_file_per_table = 1\r\ninnodb_file_format = Barracuda\r\ninnodb_large_prefix = 1<\/pre>\n<p>Save and exit the file and restart the MariaDB server with:<\/p>\n<pre>systemctl restart mariadb<\/pre>\n<p>You can now log in to the MariaDB server as user root and create a new user and database for the Moodle installation:<\/p>\n<pre>mysql -u root -p\r\nCREATE DATABASE moodle DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;\r\nGRANT ALL PRIVILEGES ON moodle.* TO &#039;moodle_user&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;&lt;span style=&quot;color: #ff0000;&quot;&gt;PASSWORD&lt;\/span&gt;&#039;;\r\nFLUSH PRIVILEGES;\r\nexit;<\/pre>\n<p>Don\u2019t forget to replace <span style=\"color: #000000;\">&#8216;<\/span><span style=\"color: #ff0000;\">PASSWORD<span style=\"color: #000000;\">&#8216;<\/span><\/span>\u00a0with an actual strong password.<\/p>\n<h2>8. Configure Apache Web Server<\/h2>\n<p>If you have a valid domain name which you would like to use to access your Moodle installation, you will need to create a new Apache virtual host for your domain name with the following content:<\/p>\n<pre>nano \/etc\/apache2\/sites-available\/yourdomain.com.conf<\/pre>\n<pre>&lt;VirtualHost *:80&gt;\r\nServerAdmin admin@yourdomain.com\r\nDocumentRoot \/var\/www\/html\/moodle\r\nServerName yourdomain.com\r\nServerAlias www.yourdomain.com\r\n\r\n&lt;Directory \/var\/www\/html\/moodle\/&gt;\r\nOptions FollowSymLinks\r\nAllowOverride All\r\nOrder allow,deny\r\nallow from all\r\n&lt;\/Directory&gt;\r\n\r\nErrorLog \/var\/log\/apache2\/yourdomain.com-error_log\r\nCustomLog \/var\/log\/apache2\/yourdomain.com-access_log common\r\n&lt;\/VirtualHost&gt;<\/pre>\n<p>Save the file and enable the virtual host with the following command:<\/p>\n<pre>a2ensite yourdomain.com.conf<\/pre>\n<p>Once you enable the virtual host, you will need to restart the Apache web server:<\/p>\n<pre>systemctl restart apache2<\/pre>\n<h2>9. Finish the Moodle installation in your browser<\/h2>\n<p>If the DNS records are properly configured, and your domain is pointed to your server, you can use it to access your Moodle installation by typing <strong>http:\/\/yourdomain.com<\/strong> in your browser and choose the preferred language to continue with the installation.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-902\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/installing-moodle-on-debian-9.jpg\" alt=\"installing moodle on debian 9\" width=\"600\" height=\"346\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/installing-moodle-on-debian-9.jpg 600w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/installing-moodle-on-debian-9-470x271.jpg 470w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Verify that all Moodle directory paths are correct and click on Next.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-903\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/install-moodle-on-debian-9.jpg\" alt=\"install moodle on debian 9\" width=\"600\" height=\"341\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/install-moodle-on-debian-9.jpg 600w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/install-moodle-on-debian-9-470x267.jpg 470w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Choose the database type.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-904\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/install-moodle-on-debian.jpg\" alt=\"install moodle on debian\" width=\"600\" height=\"315\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/install-moodle-on-debian.jpg 600w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/install-moodle-on-debian-470x247.jpg 470w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Enter the database name, username, and password of the moodle database we have created earlier.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-905\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/Moodle-Installation-on-Debian-9.jpg\" alt=\"Moodle Installation on Debian 9\" width=\"600\" height=\"300\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/Moodle-Installation-on-Debian-9.jpg 600w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/Moodle-Installation-on-Debian-9-470x235.jpg 470w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Follow the on-screen instructions to finish the installation. In the end, you should see the following screen where you need to configure your main administrator account.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-906\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/How-do-you-install-Moodle-on-Debian.jpg\" alt=\"How do you install Moodle on Debian\" width=\"600\" height=\"378\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/How-do-you-install-Moodle-on-Debian.jpg 600w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/How-do-you-install-Moodle-on-Debian-470x296.jpg 470w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Congratulations! You have now successfully installed Moodle on your server. For more information on how to configure and use Moodle, you can check their official documentation.<\/p>\n<hr \/>\n<p>Of course, you don\u2019t have to install Moodle on Debian 9, if you use one of our <strong><a href=\"https:\/\/www.linuxcloudvps.com\/debian-cloud-vps.html\">Managed Debian Cloud Hosting<\/a><\/strong> services, in which case you can simply ask our expert system administrators to install Moodle on Debian 9 for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong>.<\/span>\u00a0If you liked this post, on how to install Moodle on Debian 9, please share it with your friends on the social networks using the buttons below or simply leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Moodle is a free and open-source learning management system designed to provide teachers or educators the tools to create personalized learning environments filled with dynamic online courses which help students and other users to achieve their learning goals. Today we will learn how to install the latest Moodle 3.5 version on\u00a0Debian 9, with Apache web &#8230; <a title=\"How to install Moodle on Debian 9\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/\" aria-label=\"More on How to install Moodle on Debian 9\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":901,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[146,112],"class_list":["post-899","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-debian-9","tag-moodle"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to install Moodle on Debian 9 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"Moodle is a free and open-source learning management system designed to provide teachers or educators the tools to create personalized learning\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install Moodle on Debian 9 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"Moodle is a free and open-source learning management system designed to provide teachers or educators the tools to create personalized learning\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-05T08:47:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-15T08:02:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-moodle-on-debian-9.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-moodle-on-debian-9\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-moodle-on-debian-9\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to install Moodle on Debian 9\",\"datePublished\":\"2018-10-05T08:47:11+00:00\",\"dateModified\":\"2026-05-15T08:02:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-moodle-on-debian-9\\\/\"},\"wordCount\":743,\"commentCount\":5,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-moodle-on-debian-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/how-to-install-moodle-on-debian-9.jpg\",\"keywords\":[\"debian 9\",\"moodle\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-moodle-on-debian-9\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-moodle-on-debian-9\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-moodle-on-debian-9\\\/\",\"name\":\"How to install Moodle on Debian 9 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-moodle-on-debian-9\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-moodle-on-debian-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/how-to-install-moodle-on-debian-9.jpg\",\"datePublished\":\"2018-10-05T08:47:11+00:00\",\"dateModified\":\"2026-05-15T08:02:18+00:00\",\"description\":\"Moodle is a free and open-source learning management system designed to provide teachers or educators the tools to create personalized learning\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-moodle-on-debian-9\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-moodle-on-debian-9\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-moodle-on-debian-9\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/how-to-install-moodle-on-debian-9.jpg\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/how-to-install-moodle-on-debian-9.jpg\",\"width\":600,\"height\":300,\"caption\":\"how to install moodle on debian 9\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-moodle-on-debian-9\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Moodle on Debian 9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install Moodle on Debian 9 | LinuxCloudVPS Blog","description":"Moodle is a free and open-source learning management system designed to provide teachers or educators the tools to create personalized learning","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/","og_locale":"en_US","og_type":"article","og_title":"How to install Moodle on Debian 9 | LinuxCloudVPS Blog","og_description":"Moodle is a free and open-source learning management system designed to provide teachers or educators the tools to create personalized learning","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2018-10-05T08:47:11+00:00","article_modified_time":"2026-05-15T08:02:18+00:00","og_image":[{"width":600,"height":300,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-moodle-on-debian-9.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to install Moodle on Debian 9","datePublished":"2018-10-05T08:47:11+00:00","dateModified":"2026-05-15T08:02:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/"},"wordCount":743,"commentCount":5,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-moodle-on-debian-9.jpg","keywords":["debian 9","moodle"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/","name":"How to install Moodle on Debian 9 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-moodle-on-debian-9.jpg","datePublished":"2018-10-05T08:47:11+00:00","dateModified":"2026-05-15T08:02:18+00:00","description":"Moodle is a free and open-source learning management system designed to provide teachers or educators the tools to create personalized learning","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-moodle-on-debian-9.jpg","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2018\/10\/how-to-install-moodle-on-debian-9.jpg","width":600,"height":300,"caption":"how to install moodle on debian 9"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-moodle-on-debian-9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install Moodle on Debian 9"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=899"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/899\/revisions"}],"predecessor-version":[{"id":2619,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/899\/revisions\/2619"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/901"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}