Moodle setup tutorial 1/4 - how to install Moodle with apache, php and mysql on ubuntu
HTML-код
- Опубликовано: 24 авг 2024
- In this video we go through the moodle set up guide to install moodle on a clean ubuntu 18.04.We configure the apache2 'document root' to look at the directory where we have our moodle code.
We also install mysql and configure moodle to be able to talk to the database using moodle's config.php file.
Similar steps should work on mac and windows.
docs.moodle.or...
support.racksp...
Get the full course on Udemy: www.udemy.com/...
For custom development work, one on one training, or Moodle hosting, get in touch with us over at ringertech.org...
Totally underrated channel! Thanks a lot!
These tutorials are very helpful thank you so much
Thank you very much. This is a nice video.
Excellent course
27/07/2020
its helpful but i am confused in many steps because i am not familiar with ubuntu kindly use windows platform for moodle plugin and theme development its my humble request to you sir thanku
thank you. there should be a 5th tutorial changing the upload max size from 2MB to higher, I tried everything online change the php.ini but moodle still does change the upload size.
That can be tricky to fix because there are a few different places to check. I would read their docs on it here: docs.moodle.org/310/en/File_upload_size#Upload_file_size_restrictions
are all these steps required if I am using wamp (or xampp) ? I am simply trying to change the code after running moodle on wamp but I can't see any change. Am I missing something ?
Xampp should do all this for you, it manages the server, database and running php. It can be nice to understand the different pieces though as a developer.
Is your moodle site working in the browser? You would at least have had to set up the moodle config.php file, which means you can edit the codebase. Find where that file is and see if you can put in a die(); and that you've got the right directory.
very useful!!
I followed the instructions step by step, but in localhost/install.php appears php script instead of moodle frontend...
You see the actual php code in your Web browser? That means the server doesn't have php installed and is just viewing the file as html. You might have missed the installing php part
I have got as far as changing the DocumentRoot but i cant remember the command or keyboard sequence to save the edited file
You can edit it with any editor. In vim you would do :wq, like it says in the install doc.
Another editor is gedit which is maybe easier to use
@@swish1234567890 Thank you.
Lot of thanks
thanks bro)
while installation why you have skipped for https error during the installation. I have installed moodle from this document available at Moodle site but not able to understand the https process to secure moodle site
Here we just set up a local development environment, so didn't worry about doing the next step of https. If you want to do that, there are some docs here: docs.moodle.org/310/en/Transitioning_to_HTTPS
How can I run apache2 default page and moodle at the same time ie localhost for apache2 and localhost/moodle for moodle page
You should be able to just put the moodle code into a folder called moodle, inside the default apache document root directory.
Can you please create a tutorial about form api? I'm so confused on how to create my own custom form using form api. I want the form to have validation and submit it into database. I hope you create one please. hehe
I can do that. Keep tuned :)
@@moodletips I watched most of your tutorials about moodle, it helps me a lot, I'm looking forward for the form api tuts, hehe , ^_^ thank you so much ... !!!
@@exequielvibar2371 I've released a new series about this, here is a video on forms specifically ruclips.net/video/RED3SJYjkZU/видео.html , enjoy :)
@@moodletips Wow, Thank you so much, !! I'm gonna watch it!!! ^_^
Helloo. Im stock in cloning moodle. In the Receiving Objects. Its not continuing to download. I leave it for 11% yesterday and until now it stays at 11%. How can i Fix it? Thank you
If you’re stuck trying to clone moodle try using ssh instead of https, it’s more reliable
Hey! Great video I have been also following the step by step website of moodle but when I change the /var/www/html to /moodle folder I don't get the front page. I know this is because php is not correctly installed in apache2 however have tried like 5 times and can't make it work. Could you please help me out? Thanks buddy!
My next step is trying with the latest version of moodle that supports php8 but would like to know the answer in case the latter option doesn't work either
is that same for kali?
It should be similar but I haven't tried these steps there
i followed the tutorial step by step. and after i modify the DocumentRoot to /var/www/html/moodle i get an error:
Deprecated: Return type of moodle_recordset::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/moodle/lib/dml/moodle_recordset.php on line 61
Fatal error: Method lang_string::__set_state() must take exactly 1 argument in /var/www/html/moodle/lib/moodlelib.php on line 10617
thank you, if you can help, i have no experience in these things
You're using php 8.1, that's where that returntypewillchange attribute was added to php. Looks like you have to switch to the right php version. Each moodle version can need a different php version.
You could instead switch to the latest moodle branch which might be compatible with php 8.1
@@moodletips thank you for your quick answer!