{"id":1021,"date":"2022-05-30T18:00:21","date_gmt":"2022-05-30T16:00:21","guid":{"rendered":"https:\/\/apfelcast.com\/?p=1021"},"modified":"2022-05-30T18:00:21","modified_gmt":"2022-05-30T16:00:21","slug":"moodle-lernplattform-auf-proxmox-ubuntu-server-installieren-einfache-anleitung","status":"publish","type":"post","link":"https:\/\/it-ion.de\/index.php\/2022\/05\/30\/moodle-lernplattform-auf-proxmox-ubuntu-server-installieren-einfache-anleitung\/","title":{"rendered":"Moodle Lernplattform auf Proxmox\/Ubuntu Server installieren &#8211; Einfache Anleitung"},"content":{"rendered":"\n<div class=\"brlbs-cmpnt-container brlbs-cmpnt-content-blocker brlbs-cmpnt-with-individual-styles\" data-borlabs-cookie-content-blocker-id=\"default\" data-borlabs-cookie-content=\"PGlmcmFtZSB0aXRsZT0iWW91VHViZSB2aWRlbyBwbGF5ZXIiIHNyYz0iaHR0cHM6Ly93d3cueW91dHViZS5jb20vZW1iZWQvQlhZM3hzUG9LdXMiIHdpZHRoPSI1NjAiIGhlaWdodD0iMzE1IiBmcmFtZWJvcmRlcj0iMCIgYWxsb3dmdWxsc2NyZWVuPSJhbGxvd2Z1bGxzY3JlZW4iPjwvaWZyYW1lPg==\">\n<div class=\"brlbs-cmpnt-cb-preset-a\">\n<p class=\"brlbs-cmpnt-cb-description\">Sie sehen gerade einen Platzhalterinhalt von <strong>Standard<\/strong>. Um auf den eigentlichen Inhalt zuzugreifen, klicken Sie auf die Schaltfl\u00e4che unten. Bitte beachten Sie, dass dabei Daten an Drittanbieter weitergegeben werden.<\/p>\n<div class=\"brlbs-cmpnt-cb-buttons\"> <a class=\"brlbs-cmpnt-cb-btn\" href=\"#\" data-borlabs-cookie-unblock role=\"button\">Inhalt entsperren<\/a> <a class=\"brlbs-cmpnt-cb-btn\" href=\"#\" data-borlabs-cookie-accept-service role=\"button\" style=\"display: none\">Erforderlichen Service akzeptieren und Inhalte entsperren<\/a> <\/div>\n<p> <a class=\"brlbs-cmpnt-cb-provider-toggle\" href=\"#\" data-borlabs-cookie-show-provider-information role=\"button\">Mehr Informationen<\/a> <\/div>\n<\/div>\n<p>In diesem Video erf\u00e4hrst du, wie man Moodle in wenigen Schritten auf einem Proxmox bzw. Ubuntu 22.04 Server installieren kann, die Grundeinrichtung durchf\u00fchrt und die Installation aus dem Internet erreichbar macht.<\/p>\n<p>\u00bb Moodle Internetzugriff konfigurieren: https:\/\/cc.apfelcast.com\/0qdtc<\/p>\n<div id=\"93964-1\"><script src=\"\/\/ads.themoneytizer.com\/s\/gen.js?type=1\"><\/script><script src=\"\/\/ads.themoneytizer.com\/s\/requestform.js?siteId=93964&amp;formatId=1\"><\/script><\/div>\n<h3>Im Video verwendete Befehle:<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">########## Install moodle on Ubuntu 22.04 ###############\n\n# updating \napt update &amp;&amp; apt upgrade -y\n\n# Installing apache\napt install apache2\n\n# Install PHP7.4 \napt install software-properties-common\nadd-apt-repository ppa:ondrej\/php\napt update\n\napt install php7.4\n\n# install php modules \napt install php7.4 libapache2-mod-php7.4   php7.4-pspell php7.4-curl php7.4-gd php7.4-intl php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-ldap php7.4-zip php7.4-soap php7.4-mbstring\n\n# install required packages\napt install graphviz aspell ghostscript clamav php-json php-cgi php-mysql php-curl git\nsystemctl restart apache2\n\n#Cloning the official github repository to your local machine\ncd \/opt\ngit clone git:\/\/git.moodle.org\/moodle.git\ncd moodle\ngit branch -a\t\t\t \t# You can find the branch code of all stable releases and choose the desired version. I am going to use the latest stable verison 400 of moodle at this time in this installation\ngit branch --track MOODLE_400_STABLE origin\/MOODLE_400_STABLE\ngit checkout MOODLE_400_STABLE\t\n\n#Copying the source code to website root directory\ncp -R \/opt\/moodle \/var\/www\/html\/\nchmod -R 0777 \/var\/www\/html\/moodle\n\nmkdir \/var\/moodledata\nchown -R www-data \/var\/moodledata\nchmod -R 0777 \/var\/moodledata\n\n# install mariadb server\napt install mariadb-server\n\n#Set Up the MySQL Server\nmysql\t \nCREATE DATABASE moodle DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\nCREATE USER 'moodle-user'@'localhost' IDENTIFIED BY 'password';\t\t\t\t\t\t\t\t\t\t\nGRANT SELECT,INSERT,UPDATE,DELETE,CREATE,CREATE TEMPORARY TABLES,DROP,INDEX,ALTER ON moodle.* TO 'moodle-user'@'localhost';\nEXIT;\n\n#configure apache host\nnano \/etc\/apache2\/sites-available\/000-default.conf\n(change the line from DocumentRoot \/var\/www\/html\/ to   DocumentRoot \/var\/www\/html\/moodle)\n\n# adjust php.ini\nnano \/etc\/php\/7.4\/apache2\/php.ini\n\nmax_input_vars = 5000\nmemory_limit = 1024M\nupload_max_filesize = 2048M\npost_max_size = 2048M\n\n# restart apache\nservice apache2 restart\n\n# -&gt; Browse to Server IP and finish setup<\/pre>\n<h3>apfelcast Support<\/h3>\n<p>Du ben\u00f6tigst Unterst\u00fctzung bei deinem Projekt oder hast Fragen zur Umsetzung?<br \/>\n<strong>Dann melde ich gern bei uns!<\/strong><\/p>\n<p>[button link=&#8220;https:\/\/apfelcast.com\/kontakt&#8220; type=&#8220;big&#8220; class=&#8220; custom-button&#8220;] Kontaktieren[\/button]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sie sehen gerade einen Platzhalterinhalt von Standard. Um auf den eigentlichen Inhalt zuzugreifen, klicken Sie&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1022,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-1021","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allgemein"],"taxonomy_info":{"category":[{"value":1,"label":"Allgemein"}]},"featured_image_src_large":["https:\/\/it-ion.de\/wp-content\/uploads\/2022\/05\/thumbnail_moodle-1024x576.jpg",1024,576,true],"author_info":{"display_name":"Daniel Klozb\u00fccher","author_link":"https:\/\/it-ion.de\/index.php\/author\/wp-master\/"},"comment_info":0,"category_info":[{"term_id":1,"name":"Allgemein","slug":"allgemein","term_group":0,"term_taxonomy_id":1,"taxonomy":"category","description":"","parent":0,"count":89,"filter":"raw","cat_ID":1,"category_count":89,"category_description":"","cat_name":"Allgemein","category_nicename":"allgemein","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts\/1021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/comments?post=1021"}],"version-history":[{"count":0,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts\/1021\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media\/1022"}],"wp:attachment":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media?parent=1021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/categories?post=1021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/tags?post=1021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}