Share
Go down
avatar
Admin
Posts : 62
Join date : 2018-07-25
Age : 18
View user profilehttp://rjdc.forumotion.asia

Moodle Installation

on Tue Aug 07, 2018 12:05 pm

STEP BY STEP INSTALLATION FOR MOODLE

Step 1: Install Ubuntu 16.04LTS
http://www.ubuntu.com/download
Ubuntu Server 16.04LTS has some minor differences
from 14.04LTS, Apache Sites Configuration, at
/etc/apache2/sites-available/000-default.conf and
Default Webroot at /var/www/html/

Step 2: Install Apache/MySQL/PHP
Open up Terminal and install the following;

sudo apt-get update
sudo apt-get install apache2 mysql-client mysql-server
php5
sudo apt-get install libapache2-mod-php5
* 'It gives prompt to set the root password for mysql - take
note of it, you will need it in step 6.

Step 3: Install Additional Software
sudo apt-get install graphviz aspell php5-pspell php5-curl
php5-gd php5-intl php5-mysql php5-xmlrpc php5-ldap

*Restart Apache so that the modules are loaded correctly
sudo service apache2 restart

*Use Git to install/update the Moodle Core Application
sudo apt-get install git-core

Step 4: Download Moodle
*Setup local repository and download Moodle

cd /opt
sudo git clone git://git.moodle.org/moodle.git
cd moodle
sudo git branch -a
sudo git branch --track MOODLE_26_STABLE
origin/MOODLE_26_STABLE

Step 5: Copy local repository to /var/www/html/
sudo cp -R /opt/moodle /var/www/html/
sudo mkdir /var/moodledata
sudo chown -R www-data /var/moodledata
sudo chmod -R 777 /var/moodledata
sudo chmod -R 0755 /var/www/html/moodle

Step 6: Setup MySQL Server
*Change the default storage engine to innodb
sudo vi /etc/mysql/my.cnf
*Scroll down to the [mysqld] section and under Basic
*Settings add the following line under the last statement
default-storage-engine = innodb
*Save my.cnf, press the Esc key, type :w then close :q

*Restart MySQL Server for changes to take effect
sudo service mysql restart
*Create the Moodle dB User with the correct permissions
*Use the password you created in step 2
mysql -u root -p
mysql>CREATE DATABASE moodle DEFAULT
CHARACTER SET utf8 COLLATE utf8_unicode_ci;

GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,
CREATE TEMPORARY TABLES,DROP,INDEX,ALTER
ON moodle.* TO comp#@localhost IDENTIFIED BY
'cOmp#';
Mysql> quit;

Step 7: Complete Setup
8If not comfortable using terminal to create the config.php
file that needs to be created when going through the
installer, you should temporarily make the webroot
writable by doing the following:

sudo chmod -R 777 /var/www/moodle

*After running the installer and have moodle setup, revert
permissions so that it is no longer writable.

sudo chmod -R 0755 /var/www/moodle
Go to - http://IP.ADDRESS.OF.SERVER/moodle

*Follow the prompts selecting:
Database Type
Choose: mysqli
Database Settings
Host server: localhost
Database: moodle
User: comp# (the user you created when setting up the database)
Password: cOmp# (the password for the user you created)
Tables Prefix: mdl_

*Environment Checks
*This indicates if any elements required to run moodle
haven't been installed. - Next - next – next.........
*Follow prompts and confirm installation
*Create a Site Administrator Account
*Create your moodle user account which will have site

*Password has to meet certain security requirements.
*Installation Complete
*Congrats! You can now start using Moodle!
If you made the webroot writable, revert permissions
sudo chmod -R 0755 /var/www/moodle

*System Paths After Install
*After installing Moodle you should set the system paths.
*Navigate to Site Administration > Server > System Paths
*Input the following;
Path to Du: /usr/bin/du
Path to Apsell: /usr/bin/aspell
Path to dot: /usr/bin/dot

*Save Changes
*Suggestions: Enable Zend OpCache/Change Document Root
*Since we have installed Ubuntu Server 16.04LTS, we
can use the built-in PHP OPcache,
https://docs.moodle.org/26/en/OPcache

*Within the link above,
https://docs.moodle.org/26/en/OPcache add the
recommended settings to your 05-opcache.ini file.
sudo vi /etc/php5/apache2/conf.d/05-opcache.ini

*Restart Apache for changes to take effect.
sudo service apache2 restart
*That's it for the Zend OpCache!

*You can also install a GUI to view the status of your Zend
OpCache, not recommended on production servers.

cd /var/www/html/moodle/

*Download the PHP Script to your Moodle directory, you
should also add this file to /opt/moodle/.git/info/exclude
file so it does not get removed when upgrading your
installation.

sudo wget
https://github.com/rlerdorf/opcache-status/blob/master/opcache.php
administrator permissions.

*Restart Apache for changes to take effect.

sudo service apache2 restart

*If Moodle already installed then you should make the
below changes.

Edit config.php for Moodle
Under $CFG->wwwroot change to
http://ip.address.of.server/ instead of
http://ip.address.of.server/moodle

*If we are just using it for local network:

Code:
sudo ln -s /usr/share/moodle /var/www/moodle

phinnias flynn
Guest

lamp

on Tue Aug 07, 2018 1:42 pm
Moodle is primarily developed in Linux using Apache, choose either PostgreSQL/MySQL/MariaDB and PHP (sometimes known as the LAMP platform). Typically this is also how Moodle is run, although there are other options as long as the software requirements of the release are met.
ferb fletcher
Guest

lamp parin

on Tue Aug 07, 2018 2:21 pm
Moodle is primarily developed in Linux using Apache, choose either PostgreSQL/MySQL/MariaDB and PHP (sometimes known as the LAMP platform). Typically this is also how Moodle is run, although there are other options as long as the software requirements of the release are met.
phinnias flynn
Guest

php mysql

on Tue Aug 07, 2018 2:25 pm
Moodle upgrade: Moodle 3.1 or later
PHP version: minimum PHP 7.0.0 PHP 7.x could have some engine limitations.
PHP extension intl is required since Moodle 3.4
If you use MySQL or MariaDB, make sure your database supports full UTF-8 (utf8mb4) if you install a new instance of Moodle. CLI script may be used to convert to utf8mb4 if you're upgrading. You may choose to keep using 'utf8_*', but then a warning will show that the database isn't using full UTF-8 support and suggest moving to 'utf8mb4_unicode_ci'.
perry platypus
Guest

latest versions

on Tue Aug 07, 2018 2:31 pm
perry platypus
Guest

latest versions

on Tue Aug 07, 2018 2:33 pm
Database Minimum version Recommended
PostgreSQL 9.3 Latest
MySQL 5.5.31 Latest
MariaDB 5.5.31 Latest
Microsoft SQL 2008 Latest
Oracle Database 10.2 Latest
Heinz Doofenshmirtz
Guest

files in web server

on Tue Aug 07, 2018 2:38 pm
Download your required version from  moodle.org downloads and then extract.

Place the whole folder in your web server documents directory, located at //yourwebserver/moodle folder, or you can copy all the contents straight into the main web server documents directory, simply //yourwebserver.

Be sure though you have the proper privilege.
avatar
Guru
Posts : 13
Join date : 2018-08-09
View user profile

Re: Moodle Installation

on Thu Aug 09, 2018 11:31 am
Ma'am ano po yung moodle ?

Sent from Topic'it App
Guru
Posts : 10
Join date : 2018-08-09
View user profile

Re: Moodle Installation

on Sat Aug 11, 2018 12:30 pm
What is Moodle and what are the benefits?
avatar
Guru
Posts : 11
Join date : 2018-08-17
View user profile

Re: Moodle Installation

on Fri Aug 17, 2018 7:33 am
Ma'am, is it possible or okay to install MOODLE in the latest version of UBUNTU?
avatar
Guru
Posts : 11
Join date : 2018-08-17
View user profile

Re: Moodle Installation

on Fri Aug 17, 2018 7:34 am
Passerby wrote:Ma'am, is it possible or okay to install MOODLE in the latest version of UBUNTU?

Will there be any problems or errors in installing MOODLE when installed in the latest version of UBUNTU?
avatar
Guru
Posts : 11
Join date : 2018-08-17
View user profile

Re: Moodle Installation

on Fri Aug 17, 2018 7:37 am
Anyways, what's the environment of MOODLE?
avatar
Guru
Posts : 11
Join date : 2018-08-17
View user profile

Re: Moodle Installation

on Fri Aug 17, 2018 7:37 am
Passerby wrote:Anyways, what's the environment of MOODLE?

How does it look like?
avatar
Guru
Posts : 11
Join date : 2018-08-17
View user profile

Re: Moodle Installation

on Fri Aug 17, 2018 7:38 am
What's even the use of MOODLE?
avatar
Guru
Posts : 11
Join date : 2018-08-17
View user profile

Re: Moodle Installation

on Fri Aug 17, 2018 7:39 am
Passerby wrote:What's even the use of MOODLE?

What is the advantages and disadvantages of MOODLE to other learning management systems?
Newbie
Posts : 4
Join date : 2018-08-17
View user profile

Re: Moodle Installation

on Fri Aug 17, 2018 8:19 am
hello, i was installing moodle in a different process so i was wondering if i can start again in the steps? what command should i use?
avatar
Guru
Posts : 11
Join date : 2018-08-17
View user profile

Re: Moodle Installation

on Fri Aug 17, 2018 8:41 am
cams wrote:hello, i was installing moodle in a different process so i was wondering if i can start again in the steps? what command should i use?

I was also installing moodle in a different process and had errors. So yes, I'm also wondering if I can start the steps again.
avatar
Guru
Posts : 11
Join date : 2018-08-17
View user profile

Re: Moodle Installation

on Fri Aug 17, 2018 9:05 am
Passerby wrote:
cams wrote:hello, i was installing moodle in a different process so i was wondering if i can start again in the steps? what command should i use?

I was also installing moodle in a different process and had errors. So yes, I'm also wondering if I can start the steps again.

I tried doing the other steps and it worked for me. Maybe you should try it again. Smile
Newbie
Posts : 4
Join date : 2018-08-17
View user profile

Re: Moodle Installation

on Fri Aug 17, 2018 9:41 am
Passerby wrote:
Passerby wrote:
cams wrote:hello, i was installing moodle in a different process so i was wondering if i can start again in the steps? what command should i use?

I was also installing moodle in a different process and had errors. So yes, I'm also wondering if I can start the steps again.

I tried doing the other steps and it worked for me. Maybe you should try it again. Smile

I've tried it again and it worked Wink thanks
Sponsored content

Re: Moodle Installation

Back to top
Permissions in this forum:
You cannot reply to topics in this forum