<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Education Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/education/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 04 May 2021 11:37:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install Moodle with Ubuntu 20.04 LTS.</title>
		<link>https://www.osradar.com/how-to-install-moodle-with-ubuntu-20-04-lts/</link>
					<comments>https://www.osradar.com/how-to-install-moodle-with-ubuntu-20-04-lts/#respond</comments>
		
		<dc:creator><![CDATA[rajneesh]]></dc:creator>
		<pubDate>Tue, 04 May 2021 11:37:26 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Linux server]]></category>
		<category><![CDATA[moodle]]></category>
		<category><![CDATA[Ubuntu 20.04 tutorials]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29206</guid>

					<description><![CDATA[<p>The COVID pandemic situation is worldwide, educators are facing a challenge to provide online education. Though there are lots of TMS (Teaching management Systems) available in the market, either they are costly or complicated to deploy and manage. Moodle is here to get rid of all of the challenges. How to install Moodle with Ubuntu [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-moodle-with-ubuntu-20-04-lts/">How to install Moodle with Ubuntu 20.04 LTS.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The COVID pandemic situation is worldwide, educators are facing a challenge to provide online education. Though there are lots of TMS (Teaching management Systems) available in the market, either they are costly or complicated to deploy and manage. Moodle is here to get rid of all of the challenges. How to install <a href="http://moodle.org">Moodle</a> with Ubuntu 20.04 LTS.</p>



<h3><strong>Features:</strong></h3>



<ul><li><strong>Interactive GUI</strong></li></ul>



<p>The interface is very attractive, responsive, and easy to use for both mobile and desktop users.</p>



<ul><li><strong>Personalized Dashboard.</strong></li></ul>



<p>Here, you can navigate, current, and old curriculums.</p>



<ul><li><strong>Progress reports.</strong></li></ul>



<p>You can keep track of the curriculum, based on the course and student level.</p>



<ul><li><strong>File management.</strong></li></ul>



<p>A very convenient interface connected with Onedrive,&nbsp; Dropbox, or any other famous cloud storage service.</p>



<ul><li><strong>Calendar and Notifications</strong></li></ul>



<p>A teacher can keep track of course deadlines, scheduled programs. &nbsp;Forum and personalized messages can be shared.</p>



<h3><strong>Installation:</strong></h3>



<p>Here, we will see how to set moodle with Ubuntu 20.04.</p>



<p>Update OS</p>



<pre class="wp-block-preformatted">$ sudo apt-get update</pre>



<p>Install PHP/MySql/PHP</p>



<p>Here, we would require PHP7, add the repo.</p>



<pre class="wp-block-preformatted">$ &nbsp;sudo add-apt-repository ppa:ondrej/php</pre>



<p>Update System</p>



<pre class="wp-block-preformatted">$ sudo apt-get update</pre>



<p>Get required packages.</p>



<pre class="wp-block-preformatted">&nbsp;&nbsp;$ apt install apache2 mysql-client mysql-server php libapache2-mod-php</pre>



<p>Setup root password</p>



<pre class="wp-block-preformatted">$ sudo mysql_secure_installation</pre>



<p>Install other required tools.</p>



<pre class="wp-block-preformatted">$ sudo apt install graphviz aspell ghostscript clamav 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</pre>



<p>Install git</p>



<pre class="wp-block-preformatted">$ sudo apt-get install git</pre>



<p>Download Moodle package, change to /opt directory.</p>



<pre class="wp-block-preformatted">$ sudo git clone git://git.moodle.org/moodle.git</pre>



<p>Move local repo to /var/www/html </p>



<p>Create new directory &#8216;moodledata&#8217; in /var/</p>



<pre class="wp-block-preformatted">$ sudo mv /opt/moodle /var/www/html/moodle</pre>



<pre class="wp-block-preformatted">$ sudo mkdir /var/moodledata </pre>



<p>Define required set of permissions.</p>



<pre class="wp-block-preformatted">$ sudo chown -R www-data /var/moodledata/
$ sudo chmod -R 755 /var/moodledata/
$ sudo chown www-data /var/moodledata
$ chmod -R 775 /var/www/html/moodledata</pre>



<p>Moodle database user for MySQL required.</p>



<pre class="wp-block-preformatted">CREATE DATABASE moodle;</pre>



<pre class="wp-block-preformatted">create user 'moodleuser'@'localhost' IDENTIFIED BY 'P@ssw0rd';</pre>



<pre class="wp-block-preformatted">GRANT ALL ON moodle.* TO 'moodleuser'@'localhost';</pre>



<p>Once all of the settings are done,  restart apache service.</p>



<p>Open browser and type IP_Addr/moodle. In my scenario IP address is <strong>172.16.16.81</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="481" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-1-1024x481.png" alt="" class="wp-image-29868" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1-1024x481.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1-300x141.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1-768x361.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1-1536x721.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1-696x327.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1-1068x501.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1.png 1751w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Click next, change directory to <strong>/var/moodledata</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="625" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-2-1024x625.png" alt="" class="wp-image-29869" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2-1024x625.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2-300x183.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2-768x469.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2-1536x937.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2-696x425.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2-1068x652.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2.png 1629w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Choose default Database type, provide credentials.  </p>



<p><strong>Database name:</strong> localhost </p>



<p><strong>Database user: </strong>moodleuser </p>



<p><strong>Database Password:</strong> P@ssw0rd</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="579" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-5-1024x579.png" alt="" class="wp-image-29871" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5-1024x579.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5-300x170.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5-768x434.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5-1536x868.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5-696x393.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5-1068x604.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5.png 1681w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Copy all content to /var/www/html/moodle/config.php, you require to create that file. </p>



<pre class="wp-block-preformatted">$ vim /var/www/html/moodle/config.php</pre>



<pre class="wp-block-preformatted">&lt;?php  // Moodle configuration file
 unset($CFG);
 global $CFG;
 $CFG = new stdClass();
 $CFG->dbtype    = 'mysqli';
 $CFG->dblibrary = 'native';
 $CFG->dbhost    = 'localhost';
 $CFG->dbname    = 'moodle';
 $CFG->dbuser    = 'moodleuser';
 $CFG->dbpass    = 'P@ssw0rd';
 $CFG->prefix    = 'mdl_';
 $CFG->dboptions = array (
   'dbpersist' => 0,
   'dbport' => '',
   'dbsocket' => '',
   'dbcollation' => 'utf8mb4_0900_ai_ci',
 );
 $CFG->wwwroot   = 'http://172.16.16.81/moodle';
 $CFG->dataroot  = '/var/moodledata';
 $CFG->admin     = 'admin';
 $CFG->directorypermissions = 0777;
 require_once(<strong>DIR</strong> . '/lib/setup.php');
 // There is no php closing tag in this file,
 // it is intentional because it prevents trailing whitespace problems!
 ~</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="579" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-6-1024x579.png" alt="" class="wp-image-29874" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6-1024x579.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6-300x170.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6-768x434.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6-1536x869.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6-696x394.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6-1068x604.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6.png 1703w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Accept conditions and move next.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="530" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-Step-7-1024x530.png" alt="" class="wp-image-29875" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-Step-7-1024x530.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-Step-7-300x155.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-Step-7-768x397.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-Step-7-696x360.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-Step-7-1068x553.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-Step-7.png 1482w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Here, Moodle will go through, whether all required application are installed proper or not. </p>



<p> </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="593" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-8-1024x593.png" alt="" class="wp-image-29876" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8-1024x593.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8-300x174.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8-768x445.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8-1536x890.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8-696x403.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8-1068x619.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8.png 1703w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Get installation steps complete. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="608" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-9-1024x608.png" alt="" class="wp-image-29877" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9-1024x608.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9-300x178.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9-768x456.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9-1536x913.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9-696x413.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9-1068x634.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9.png 1621w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Assign credentials to admin, assign email id.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="640" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-11-1024x640.png" alt="" class="wp-image-29878" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11-1024x640.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11-300x188.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11-768x480.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11-1536x960.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11-696x435.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11-1068x668.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11.png 1547w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Move to next screen. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="611" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-12-1024x611.png" alt="" class="wp-image-29879" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-12-1024x611.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-12-300x179.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-12-768x458.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-12-696x415.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-12-1068x637.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-12.png 1486w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Save all changes and move next.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="652" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-13-1024x652.png" alt="" class="wp-image-29880" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-13-1024x652.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-13-300x191.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-13-768x489.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-13-696x443.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-13-1068x680.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-13.png 1265w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Save changes and finish setup, congratulations!! you have working Moodle EMS system ready to use. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="530" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-14-1024x530.png" alt="" class="wp-image-29881" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14-1024x530.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14-300x155.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14-768x397.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14-1536x795.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14-696x360.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14-1068x553.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14.png 1878w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h3>Conclusion</h3>



<p>Here, the config.php file may not be available as default. Make sure to create and save that file. Sometimes web server may show errors, restart server and apache service to get rid of this.</p>



<p> </p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-moodle-with-ubuntu-20-04-lts/">How to install Moodle with Ubuntu 20.04 LTS.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-moodle-with-ubuntu-20-04-lts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
