Moodle setup tutorial 1/4 - how to install Moodle with apache, php and mysql on ubuntu

Sdílet
Vložit
  • čas přidán 25. 08. 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...

Komentáře • 36

  • @Metamor-phosis
    @Metamor-phosis Před 3 lety +5

    Totally underrated channel! Thanks a lot!

  • @thabomahlangu4533
    @thabomahlangu4533 Před 4 lety +6

    These tutorials are very helpful thank you so much

  • @SachinBhagat1985
    @SachinBhagat1985 Před 3 lety +4

    Thank you very much. This is a nice video.

  • @Magistrado1914
    @Magistrado1914 Před 4 lety +2

    Excellent course
    27/07/2020

  • @ranarashid95
    @ranarashid95 Před 3 lety +1

    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

  • @toxatoxich4582
    @toxatoxich4582 Před 3 lety +1

    thanks bro)

  • @sanjeewathrima3851
    @sanjeewathrima3851 Před 2 lety

    Lot of thanks

  • @punaapurimac5020
    @punaapurimac5020 Před 4 lety +1

    very useful!!

  • @sundaramsharma2949
    @sundaramsharma2949 Před 2 lety +2

    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 ?

    • @moodletips
      @moodletips  Před 2 lety +1

      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.

  • @behroozhussaini2339
    @behroozhussaini2339 Před 3 lety +1

    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.

    • @moodletips
      @moodletips  Před 3 lety

      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

  • @Mumdadjohn
    @Mumdadjohn Před 3 lety +1

    I have got as far as changing the DocumentRoot but i cant remember the command or keyboard sequence to save the edited file

    • @swish1234567890
      @swish1234567890 Před 3 lety +1

      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

    • @Mumdadjohn
      @Mumdadjohn Před 3 lety +2

      @@swish1234567890 Thank you.

  • @mikekilikis4657
    @mikekilikis4657 Před 3 lety +1

    I followed the instructions step by step, but in localhost/install.php appears php script instead of moodle frontend...

    • @moodletips
      @moodletips  Před 3 lety

      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

  • @venzonlacambra4368
    @venzonlacambra4368 Před 2 lety

    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

    • @moodletips
      @moodletips  Před 2 lety

      If you’re stuck trying to clone moodle try using ssh instead of https, it’s more reliable

  • @jyt769
    @jyt769 Před 2 lety

    How can I run apache2 default page and moodle at the same time ie localhost for apache2 and localhost/moodle for moodle page

    • @moodletips
      @moodletips  Před 2 lety +1

      You should be able to just put the moodle code into a folder called moodle, inside the default apache document root directory.

  • @gagankapoor3811
    @gagankapoor3811 Před 3 lety

    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

    • @moodletips
      @moodletips  Před 3 lety

      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

  • @exequielvibar2371
    @exequielvibar2371 Před 4 lety +1

    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

    • @moodletips
      @moodletips  Před 4 lety

      I can do that. Keep tuned :)

    • @exequielvibar2371
      @exequielvibar2371 Před 4 lety +1

      @@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 ... !!!

    • @moodletips
      @moodletips  Před 4 lety

      @@exequielvibar2371 I've released a new series about this, here is a video on forms specifically czcams.com/video/RED3SJYjkZU/video.html , enjoy :)

    • @exequielvibar2371
      @exequielvibar2371 Před 4 lety +1

      @@moodletips Wow, Thank you so much, !! I'm gonna watch it!!! ^_^

  • @fernandopierola
    @fernandopierola Před rokem

    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!

    • @fernandopierola
      @fernandopierola Před rokem

      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

  • @bobishak6793
    @bobishak6793 Před 3 lety

    is that same for kali?

    • @moodletips
      @moodletips  Před 3 lety

      It should be similar but I haven't tried these steps there

  • @noeminemeth3578
    @noeminemeth3578 Před 2 lety

    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

    • @moodletips
      @moodletips  Před 2 lety

      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

    • @noeminemeth3578
      @noeminemeth3578 Před 2 lety

      @@moodletips thank you for your quick answer!