Installation of Moodle in Linux | Ubuntu or Fedora or any distribution | Complete Tutorial
HTML-код
- Опубликовано: 25 авг 2024
- Installation of #moodle in #Ubuntu 18.04 LTS.
MOODLE installation in Ubuntu 18.04 LTS (Long Term Support)
MOODLE is LMS (Learning Management System)
It can be installed on a
Small Desktop (PC)
Tower Server
Blade Server
Private Cloud
#LMS
Linux is powerful for MOODLE .
Two software are needed.
LAMP Server (Linux Apache MySQL Php)
Bitnami LAMP STACK - I already downloaded (www.bitnami.org)
MOODLE software - Prefer Always the latest stable version. I already downloaded. www.moodle.org
To which port number, 80 to be used (for this i need to be a super user or administator in this machine).
/home/pradeepkumar
Copy the file to /opt
$] sudo cp bitnami-lampstack-7.1.17-0-linux-x64-installer.run /opt/
$] cd /opt/
$] sudo chmod 755 bitnami-lampstack-7.1.17-0-linux-x64-installer.run
To check the file permissions,
$] ls -l
BITNAMI LAMP Stack installed successfully.
To start using a terminal, here is the command
MOODLE installation
There is afolder called
/opt/lampstxxxx/apache2/htdocs/moodle/
$] cd /opt/lamp*/apache2/htdocs
$] sudo tar zxvf moodle-3.5.tgz
$] cd moodle/
/ tspradeepkumar
Thank you
Your the KING!!! Thank you for taking the time to show this. Went through so many different builds but yours was by far the most direct!! Thank you again!!
Boss-- you made it.. thanks
ty brother!
how to host this on aws or any other platform?
By this way I can install moodle in education institute how can I add no of user
Sir with due respect you know so much but why is VIT course registration so bad? Every time the server is down..
Attendance is on skmw clunky software.and so many issues. Why are we using 2003 era software.
Which campus you belong to.. We are using a latest software only... Let me know what module you are uncomfortable with, so that we can look into it.
Thank You for this video,can you share how to access it from Internet?
What settings needed like public IP or router settings
you need to configure it in the config.php file.. usually there will be two IPs in the server, one local and another external IP. (Sometime External IP will be set in the firewall).
ifconfig will show only the local IP, it won't show the external IP. but in the config.php file, you can set the external IP as shown below.
$CFG->wwwroot = '8.8.8.8/moodle';
$CFG->dataroot = '/opt/lampstack/apache2/moodledata';
$CFG->admin = 'shsdkhf';
hi I can access Moodle through public IP/moodle. , but I want to access only with with ip without /moodle
There is a configuration file in each server to configure such kind of requests. I used bitnami.conf file in the bitnami server, and similarly xampp will be having its own conf file/WAMP also have similar setup...
is it possible for change the name in url after lochalhost "moodle"
Yes
when i rename the folder /var/www/html/moodle the application was not working
@munnavasu7282 you need to change the folder name in the config.php file as well and restart the apache server
tq its working now... and one more question possible for changing the port number
hi i got this error can u help
Error: Database connection failed
It is possible that the database is overloaded or otherwise not running properly.
The site administrator should also check that the database details have been correctly specified in config.php
Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /opt/lampstack-7.3.1-0/apache2/htdocs/moodle/lib/dml/mysqli_native_moodle_database.php on line 79
Can we follow the steps for Ubuntu 16.04 also
naveen kumar yes you can use 16.04 also. But the support for 16.04 ends by April 2021.
There is a simple script that does the complete installation -tested and working - thanks to these folks
www.hiroom2.com/2018/05/06/ubuntu-1804-moodle-en/
and once moodle is started you can add users (after the data is entered for the Admin user)